Bayesian Calibration

Contains the implementations for the Bayesian calibration methods

Implements the supported Bayesian calibration methods.

class calisim.bayesian.implementation.BayesianCalibrationMethod(calibration_func: Callable, specification: BayesianCalibrationMethodModel, engine: str = 'openturns', implementation: CalibrationWorkflowBase | None = None)[source]

The Bayesian calibration method class.

pydantic model calisim.bayesian.implementation.BayesianCalibrationMethodModel[source]

The Bayesian calibration method data model.

Parameters:

BaseModel (CalibrationModel) – The calibration base model class.

Config:
  • arbitrary_types_allowed: bool = True

  • protected_namespaces: tuple = ()

Fields:
field initial_state: list | bool = None

Initial state of the chain.

field log_density: bool = False

Take the log of the target density.

field moves: dict[str, float] = None

List of methods for updating coordinates of ensemble walkers.

calisim.bayesian.implementation.get_implementations() dict[str, type[CalibrationWorkflowBase]][source]

Get the calibration implementations for Bayesian calibration.

Returns:

The dictionary of

calibration implementations for Bayesian calibration.

Return type:

Dict[str, type[CalibrationWorkflowBase]]

OpenTurns

Contains the implementations for Bayesian calibration methods using OpenTurns

Implements the supported Bayesian calibration methods using the OpenTurns library.

class calisim.bayesian.openturns_wrapper.OpenTurnsBayesianCalibration(calibration_func: Callable, specification: CalibrationModel, task: str)[source]

The OpenTurns Bayesian calibration method class.

analyze() None[source]

Analyze the results of the simulation calibration procedure.

execute() None[source]

Execute the simulation calibration procedure.

specify() None[source]

Specify the parameters of the model calibration procedure.