model
initialise_later = object()
module-attribute
DataStructure
dataclass
Source code in process/core/model.py
9 10 11 12 13 14 15 16 | |
water_use = initialise_later
class-attribute
instance-attribute
Model
Bases: ABC
Source code in process/core/model.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
data
instance-attribute
run()
abstractmethod
Run the model.
The run method is resposible for 'running' the model, ensuring it updates the data structure with variables that subsequent models will require.
Source code in process/core/model.py
22 23 24 25 26 27 28 | |
output()
abstractmethod
Output model data.
This method will always be called after run method and should output the model data to the output files.
Source code in process/core/model.py
30 31 32 33 34 35 36 | |