Package SimPy :: Module Globals

[hide private]
[frames] | no frames]

# Module Globals

source code

This file provides a global Simulation object and the global simulation methods used by SimPy up to version 1.9.1.

Functions | [hide private]

initialize() | source code

now() | source code

stopSimulation() Application function to stop simulation run | source code

allEventNotices() Returns string with eventlist as; t1: processname, processname2 t2: processname4, processname5, . | source code

allEventTimes() Returns list of all times for which events are scheduled. | source code

startCollection(when=0.0, monitors=None, tallies=None) Starts data collection of all designated Monitor and Tally objects (default = all) at time 'when'. | source code

_startWUStepping() Application function to start stepping through simulation for waituntil construct. | source code

_stopWUStepping() Application function to stop stepping through simulation. | source code

activate(obj, process, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) Application function to activate passive process. | source code

reactivate(obj, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) Application function to reactivate a process which is active, suspended or passive. | source code

simulate(until=0) | source code

Variables | [hide private]

| sim = `None`

Function Details | [hide private]

### allEventNotices()

source code

    Returns string with eventlist as;
    t1: processname, processname2
    t2: processname4, processname5, . . .
        . . .  .