Summary

The end user combines a (perhaps already calibrated) Sobek-CF schematization and a (perhaps already calibrated) Modflow schematization.
He wants to calibrate this composition.
He has 5 observations available (water levels time series at 3 Sobek-CF locations, grondwater level time series at 3 Modflow locations).

The parameters that have to be calibrated are:

There is an algorithm available that, to do its work, must be able to repeatedly:

We assume that both Sobek-CF and Modflow implement the IManagedState interface.

How to address in Version 1

You have to program two classes, the calibration algorithm itself, and a cost function.

The cost function class:

The algorithm class:

How to address in Version 2

...