First version of the Activity and Simulation classes (including unit tests demonstrating their uses).
Activity class:
Inspired by the Installation class of the example notebook
Can be used to define a single activity which should be part of a larger simulation, i.e., exactly one combination of origin, destination, equipment combination and conditions
Simulation class:
Intended as a class which will automatically derive (some of) the conditions for activities to enforce layers being put down in the correct order etc.
Can be given a list of origins, destinations, layer capacities and equipment combinations and will instantiate an Activity object for each combination
For now the Simulation class assumes that each origin location (in the case of a layered origin) or each destination location (in the case of a layered destination) contains the same capacities for each layer. This could be changed in the future if necessary.
First version of the Activity and Simulation classes (including unit tests demonstrating their uses).
Activity class:
Simulation class:
For now the Simulation class assumes that each origin location (in the case of a layered origin) or each destination location (in the case of a layered destination) contains the same capacities for each layer. This could be changed in the future if necessary.