Package SimPy :: Module SimulationRT :: Class SimulationRT
[hide private]
[frames] | no frames]

Class SimulationRT

source code

           object --+    
                    |    
Simulation.Simulation --+
                        |
                       SimulationRT

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
initialize(self) source code
 
rtnow(self) source code
 
rtset(self, rel_speed=1)
resets the the ratio simulation time over clock time(seconds).
source code
 
simulate(self, until=0, real_time=False, rel_speed=1)
Schedules Processes / semi - coroutines until time 'until'
source code

Inherited from Simulation.Simulation: activate, allEventNotices, allEventTimes, now, reactivate, startCollection, stopSimulation

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

initialize(self)

source code 
Overrides: Simulation.Simulation.initialize

simulate(self, until=0, real_time=False, rel_speed=1)

source code 

Schedules Processes / semi - coroutines until time 'until'

Overrides: Simulation.Simulation.simulate