rubem.configuration.calibration_parameters.CalibrationParameters

class CalibrationParameters(**data)[source]

Bases: BaseModel

Calibration parameters of the model.

Every parameter must lie within the range configured in the application settings, and the land use, soil and slope factor weights must add up to 1.

Parameters:
  • alpha – Interception parameter [-].

  • beta – Rainfall intensity coefficient [-].

  • w_1 – Land use factor weight [-].

  • w_2 – Soil factor weight [-].

  • w_3 – Slope factor weight [-].

  • rcd – Regional consecutive dryness level [mm].

  • f – Flow direction factor [-].

  • alpha_gw – Baseflow recession coefficient [-].

  • x – Flow recession coefficient [-].

Raises:

ValueError – If any parameter is out of range or the weights do not add up to 1.

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

alpha

beta

w_1

w_2

w_3

rcd

f

alpha_gw

x

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].