set_parameter pmin and pmax and ml.plots.results #324
-
Hi, Just realised that my previous question might have been a bit vague. Sorry about this. I have been trying to calibrate time series where the trend in heads has been going up due to climate. At the moment the best results are obtained when I start the calibration in the 1980s to get long term climate variation and if I set a range (pmin and pmax) for "constant_d" using ml.set_parameter. This allows to set the initial conditions approximately (unknown but we have an idea). This has giving me much better results. The only issue at the moment is if I set tmin=1980 for ml.plots.results I get different results in the time series plot. Parameters are the same but the simulated time series is shifted up (see second figure below). I don't get that issue if I don't set pmin and pmax. Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @IsaDio, In theory non-stationary models can be evaluated using Pastas, but the response curve (especially the tail) will be uncertain. Also your stress-series (precipitation and evaporation) should be long enough (into the past). What you show, with a different simulation for a different tmin, seems like a bug. This however can be explained by the warmup you use, which has a default value of 3650 days (10 years). In your case, this is too short, which causes a different simulation when you start in 2016 (minus the warmup: 2006) compared to 1980 (minus the warmup: 1970). You can try changing the warmup period, so it reflects your entire period with precipitation-data (40 years?): ml.solve(noise=False, warmup=365*40) Another comment: the evaporation-factor is almost 0, which means evaporation has no effect. Is this intentional? Regards, Ruben |
Beta Was this translation helpful? Give feedback.
Hi @IsaDio,
In theory non-stationary models can be evaluated using Pastas, but the response curve (especially the tail) will be uncertain. Also your stress-series (precipitation and evaporation) should be long enough (into the past). What you show, with a different simulation for a different tmin, seems like a bug. This however can be explained by the warmup you use, which has a default value of 3650 days (10 years). In your case, this is too short, which causes a different simulation when you start in 2016 (minus the warmup: 2006) compared to 1980 (minus the warmup: 1970). You can try changing the warmup period, so it reflects your entire period with precipitation-data (40 years?):
ml.so…