Bookkeeping of linearization parameters

class rtctools.optimization.linearization_mixin.LinearizationMixin(**kwargs)[source]

Bases: OptimizationProblem

Adds linearized equation parameter bookkeeping to your optimization aproblem.

If your model contains linearized equations, this mixin will set the parameters of these equations based on the t0 value of an associated timeseries.

The mapping between linearization parameters and time series is provided in the linearization_parameters method.

linearization_parameters() Dict[str, str][source]

A dictionary of parameter names mapping to time series identifiers.