Closed AnneHommelberg closed 6 years ago
The current code for Processor.process contains logic to request resources from the origin and destination (if necessary). The HasContainer class currently contains a total_requested field to "reserve" space in a container before moving to pick it up or drop it off.
We should look into redesigning both these concepts. Should the Installation class (or its new equivalent) take care of this instead?
Created Activity class in model.py.
The current afsluitdijk example (Example 21 - Automatically generated sites and activities), contains a class called Installation which runs the simulation. It checks whether conditions are satisfied, and if so uses a "mover" to move content from the origin container to the destination. This code should be generalized and added to the digital_twin package, either through a similar class, general method, etc.