Package SimPy :: Module SimulationRT

[hide private]
[frames] | no frames]

# Module SimulationRT

source code

    SimulationRT 2.1 Provides synchronization of real time and SimPy simulation time.
    Implements SimPy Processes, resources, and the backbone simulation scheduling
    by coroutine calls.
    Based on generators (Python 2.3 and later; not 3.0)

    LICENSE:
    Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010  Klaus G. Muller, Tony Vignaux
    mailto: kgmuller at xs4all.nl and Tony.Vignaux at vuw.ac.nz

        This library is free software; you can redistribute it and / or
        modify it under the terms of the GNU Lesser General Public
        License as published by the Free Software Foundation; either
        version 2.1 of the License, or (at your option) any later version.

        This library is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
        Lesser General Public License for more details.

        You should have received a copy of the GNU Lesser General Public
        License along with this library; if not, write to the Free Software
        Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111 - 1307  USA
    END OF LICENSE

Version: 2.1 $Revision: 485 $ $Date: 2010-05-10 09:23:24 +0200 (Mon, 10 May 2010) $

Classes | [hide private]

| SimulationRT

Functions | [hide private]

rtnow() | source code

rtset(rel_speed=1) Resets the ratio simulation time over clock time(seconds). | source code

simulate(until=0, real_time=False, rel_speed=1) | source code

Variables | [hide private]

| __TESTING = `False`
| version = ``'``2.1 $Revision: 485 $ $Date: 2010-05-10 09:23:24 +02``...``

Variables Details | [hide private]

### version

Value:

      '2.1 $Revision: 485 $ $Date: 2010-05-10 09:23:24 +0200 (Mon, 10 May 20
      10) $'