8.1.5.5. pelicun.model.pelicun_model

PelicunModel object and associated methods.

Classes

PelicunModel(assessment)

Generic model class to manage methods shared between all models in Pelicun.

class pelicun.model.pelicun_model.PelicunModel(assessment: AssessmentBase)[source]

Generic model class to manage methods shared between all models in Pelicun.

query_error_setup(path: str) str | bool[source]

Obtain error setup settings.

Obtain settings associated with the treatment of errors and warnings.

Parameters:
path: str

Path to a setting.

Returns:
str | bool

Value of the setting

Raises:
KeyError

If the path does not point to a setting