SmartManPy¶
SmartManPy focuses on simulating complex features that evolve over time.
This project extends the Python 3 port of ManPy by Data Revenue GmbH (https://github.com/datarevenue-berlin/manpy).
ManPy was originally developed as part of the FP7 DREAM project: https://www.manpy-simulation.org/, which was released under the LGPL license
We performed the following modifications/additions (non-exhaustive):
- Added complex features to machines:
Features can be drawn from a variety of random distributions
Simulation of data drift / shifting distributions
Failures based on feature values
Different random distributions for different entity labels
Functional dependencies between features
Timeseries that can be interpolated from a couple of real-world data points
Quality control based on feature values or distributions
Database connection
CSV export
License: LGPL
How to get started¶
Follow the steps below to install SmartManPy:
Clone the Git repository to the desired directory (we call it MANPYDIR in the following)
Open your command line and navigate to MANPYDIR
Activate the virtualenv/conda env of your choice
Enter the following command:
pip install -e .
You can now import manpy:
import manpy
Documentation¶
Most important modules
- Tutorials
- Core
- manpy.simulation.core.Assembly.py
- manpy.simulation.core.CoreObject.py
- manpy.simulation.core.Database.py
- manpy.simulation.core.Entity.py
- manpy.simulation.core.Exit.py
- manpy.simulation.core.Failure.py
- manpy.simulation.core.Feature.py
- manpy.simulation.core.Globals.py
- manpy.simulation.core.GymEnv.py
- manpy.simulation.core.Machine.py
- manpy.simulation.core.ObjectInterruption.py
- manpy.simulation.core.ObjectProperty.py
- manpy.simulation.core.ObjectResource.py
- manpy.simulation.core.ProductionLineModule.py
- manpy.simulation.core.Queue.py
- manpy.simulation.core.Source.py
- manpy.simulation.core.StateController.py
- manpy.simulation.core.Timeseries.py
- manpy.simulation.core.utils.py
- RandomNumberGenerator
- Full examples