Description
This virtual downloadable product provides a Python SimPy wrapper function for requesting and occupying one out of several SimPy resources. In addition, the virtual downloadable product contains an exemplary application of the wrapper function, implementing it into an exemplary SimPy process simulation model.
The wrapper function implenents a SimPy process that requests one out of many shared SimPy resources. The function takes one or several sublists with resources, and occupies only one of them.
The occupied resource is occupied for a defined delay duration (argument value, i.e. input argument for the wrapper function). All other resources remain unoccupied. I.e. all other resources remain available to other resources.
In detail, the downloadable zip-file, made available upon purchase, comprises:
- framework.py – module that contains the wrapper function (process implementation)
- main.py – script containing example that makes use of the wrapper function
Exemplary use case
The exemplary use case, implemented as an example into the main.py script, covers a factory with three work areas. One work area has one machine, and the other two work areas have two machines. Some machines can only process one job at the time. Other machines can process up to two jobs at the same time. The processing time is independent of the machine and any machine can be used for executing a job. Executing a job occupies one capacity unit.
A main process releases jobs with a defined interval time. For each job, a production process is added to the simulation environment. Each production process requests one capacity unit from any of the machines, in any of the work areas. For this, the production process consumes the wrapper function provided by this downloadable virtual product.
Contact us for support
For any customization need or open questions, please contact us via this contact form.
Reviews
There are no reviews yet.