Skip to content

Support transformation types LN, SET and MULTIPLY in state updating for EnKF via BB stoch model config #404

@erikpelgrim

Description

@erikpelgrim

Currently only the axpy (=add) transformation is available for state updating in BB stoch model config for EnKF.

Simplest solution would be to extend vector config with option transformation="LN / SET / MULTIPLY"

In BBStochModelInstance.axpyOnState the option can be read in and instead of calling axpy the method addParameterDeltaToExchangeItem can be called which modifies the exchange item values according to the transformation option.

Only thing that is not so nice is that the method is already called axpyOnState all the way up to the EnKF class where it is called in the updateModelWithGain method.

Nicer would be to either rename this method or add another method which has a name similar to addParameterDelta, but this requires a high level OpenDA interface change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions