rubem.configuration.model_constants.ModelConstants
- class ModelConstants(**data)[source]
-
Bases:
BaseModelConstants of the model.
- Parameters:
-
fraction_photo_active_radiation_max – Maximum fraction of photosynthetically active radiation [-].
fraction_photo_active_radiation_min – Minimum fraction of photosynthetically active radiation [-].
leaf_area_interception_max – Maximum leaf area index [-].
leaf_area_interception_max_from_table – Whether the maximum leaf area index is read per land use class from the
lai_maxlookup table instead ofleaf_area_interception_max. Defaults toFalse.impervious_area_interception – Impervious area interception [mm].
- Raises:
-
ValueError – If a value is outside the configured range, the FPAR bounds are not
0 < min < max < 1, or the maximum leaf area index is not positive.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Methods
Attributes
fraction_photo_active_radiation_maxfraction_photo_active_radiation_minleaf_area_interception_maxleaf_area_interception_max_from_tableimpervious_area_interception- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}
-
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].