Additional examples
===================

The following examples are included in the SimPy source distribution.

Car
---

.. index:: example; car
.. literalinclude:: programs/car.py

Output:

.. literalinclude:: programs/car.out


CarT
----
.. index:: example; carT
.. literalinclude:: programs/carT.py

Output:

.. literalinclude:: programs/carT.out


Cars
----

.. index:: example; cars
.. literalinclude:: programs/cars.py

Output:

.. literalinclude:: programs/cars.out


CarsT
-----

.. index:: example; carsT
.. literalinclude:: programs/carsT.py

Output:

.. literalinclude:: programs/carsT.out


Carwash
-------

.. index:: example; carwash
.. literalinclude:: programs/carwash.py

Output:

.. literalinclude:: programs/carwash.out


Breakdown
---------

.. index:: example; breakdown
.. literalinclude:: programs/breakdown.py

Output:

.. literalinclude:: programs/breakdown.out


Firework
--------

.. index:: example; firework
.. literalinclude:: programs/firework.py

Output:

.. literalinclude:: programs/firework.out


Levelinventory
--------------

.. index:: example; levelinventory
.. literalinclude:: programs/levelinventory.py

Output:

.. literalinclude:: programs/levelinventory.out


Message
-------

.. index:: example; message
.. literalinclude:: programs/message.py

Output:

.. literalinclude:: programs/message.out


Resource
--------

.. index:: example; resource
.. literalinclude:: programs/resource.py

Output:

.. literalinclude:: programs/resource.out


Resource monitor
----------------

.. index:: example; resourcemonitor
.. literalinclude:: programs/resourcemonitor.py

Output:

.. literalinclude:: programs/resourcemonitor.out


Shopping
--------

.. index:: example; shopping
.. literalinclude:: programs/shopping.py

Output:

.. literalinclude:: programs/shopping.out


Storewidget
-----------

.. index:: example; storewidget
.. literalinclude:: programs/storewidget.py

Output:

.. literalinclude:: programs/storewidget.out


