Model
- class GEBModel(config, files, spinup=False, crs=4326, use_gpu=False, gpu_device=0, timing=False, mode='w')[source]
GEB parent class.
- Parameters:
config (
dict
) – Filepath of the YAML-configuration file (e.g. model.yml).name – Name of model.
xmin – Minimum x coordinate.
xmax – Maximum x coordinate.
ymin – Minimum y coordinate.
ymax – Maximum y coordinate.
args – Run arguments.
coordinate_system – Coordinate system that should be used. Currently only accepts WGS84.
Initializes the agent-based model.
- Parameters:
config_path – Filepath of the YAML-configuration file.
args – Run arguments.
coordinate_system – Coordinate system that should be used. Currently only accepts WGS84.
- property current_day_of_year: int
Gets the current day of the year.
- Returns:
day – current day of the year.
- run()[source]
Run the model for the entire period, and export water table in case of spinup scenario.
- Return type:
None
- property simulation_root: Path
Gets the simulation root.
- Returns:
simulation_root – Path of the simulation root.