Model
- class unifhy.Model(identifier, config_directory, saving_directory, surfacelayer, subsurface, openwater, _to_yaml=True)
Model is the core element of the modelling framework.
It is responsible for configuring the simulation, checking the compatibility between
Component
s, and controlling the simulation workflow.Instantiation
- Parameters
- identifier:
str
A name to identify the model files.
- config_directory:
str
The path to the directory where to save the model configuration files.
- saving_directory:
str
The path to the directory where to save the model exchanger dump files and model record files.
- surfacelayer:
SurfaceLayerComponent
object The
Component
responsible for the surface layer compartment of the hydrological cycle.- subsurface:
SubSurfaceComponent
object The
Component
responsible for the subsurface compartment of the hydrological cycle.- openwater:
OpenWaterComponent
object The
Component
responsible for the open water compartment of the hydrological cycle.
- identifier:
Methods
Construction
Instantiate a |
|
Store configuration of |
Attributes
Return the name used to identify the model files. |
|
Return the directory used to store the model configurations. |
|
Return the directory used to store the model output files. |
|
Return the surface layer component of the model. |
|
Return the sub-surface component of the model. |
|
Return the open water component of the model. |