Today I tried to calibrate on the loading efficiency with:
cal.set_aquifer_parameter(
"leffaq",
layers=[1],
initial=leffaq1_river,
pmin=0,
pmax=1,
log_scale=True,
inhoms=("river"),
model="transient",
)
But this results in: ValueError: Parameter 'leffaq' not recognised. Supported: ['kaq', 'c', 'Saq', 'Sll', 'kzoverkh']
So I guess we would need to add leffaq and leffll in this block:
|
def _get_aquifer_parameter_array(model, aq, name: str) -> np.ndarray: |
|
"""Return reference to the appropriate parameter array in the aquifer object.""" |
|
lookup = {"kaq": aq.kaq, "c": aq.c} |
|
if hasattr(aq, "Saq"): |
|
lookup["Saq"] = aq.Saq |
|
if hasattr(aq, "Sll"): |
|
lookup["Sll"] = aq.Sll |
|
if hasattr(aq, "kzoverkh"): |
|
lookup["kzoverkh"] = aq.kzoverkh |
|
assert aq.model == model, "Aquifer does not belong to the given model" |
|
for prefix, arr in lookup.items(): |
|
if name.startswith(prefix): |
|
return arr |
|
raise ValueError( |
|
f"Parameter '{name}' not recognised. Supported: {list(lookup.keys())}" |
|
) |
Or would you guys suggest something else?
Today I tried to calibrate on the loading efficiency with:
But this results in:
ValueError: Parameter 'leffaq' not recognised. Supported: ['kaq', 'c', 'Saq', 'Sll', 'kzoverkh']So I guess we would need to add
leffaqandleffllin this block:timflow/timflow/calibrate.py
Lines 1381 to 1396 in 882bc67
Or would you guys suggest something else?