rubem.core.DynamicFrameworkWrapper

class DynamicFrameworkWrapper(model_configuration)[source]

Bases: object

Initialize the DynamicFrameworkWrapper class

Wrapper for the DynamicFramework that runs the DynamicModelConcept of the Rainfall rUnoff Balance Enhanced Model.

Parameters:

model_configuration (ModelConfiguration) – The configuration object for the model.

Raises:

ValueError – If the model configuration is empty.

Methods

load

Load the model configuration.

run

Wrapper of the DynamicFramework.run() that runs the DynamicModelConcept.

classmethod load(data)[source]

Load the model configuration.

Parameters:

data (Any) – The model configuration data.

Returns:

The loaded Model object.

Return type:

..configuration.model_configuration.ModelConfiguration

Raises:

ValueError – If the model configuration format is unsupported.

run()[source]

Wrapper of the DynamicFramework.run() that runs the DynamicModelConcept.

Return type:

None