From b0491cb4953ae752b7d14b1085222defee3b4505 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Mon, 16 Dec 2024 10:31:41 +0100 Subject: Fix a bug in UK drainage calculations If a soil_DT50 was specified, and the application date was later than the beginning of the drainage period (1 October), PECsw would increase. Now the amount available at the time of the drainage period is equal to the applied amount (minus interception) if application is later than the beginning of the drainage period. Fixes #4. Thanks to @lutzeli for spotting the problem. --- log/test.log | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'log/test.log') diff --git a/log/test.log b/log/test.log index 5f60406..367d456 100644 --- a/log/test.log +++ b/log/test.log @@ -2,17 +2,17 @@ ✔ | F W S OK | Context ✔ | 7 | Exposit calculations ✔ | 6 | Geometric mean calculation -✔ | 1 | Check max_twa for parent mkinfit models against analytical solutions [2.0s] +✔ | 1 | Check max_twa for parent mkinfit models against analytical solutions ✔ | 1 | Simple PEC sediment calculations ✔ | 17 | Simple PEC soil calculations ✔ | 8 | Simple PEC surface water calculations with drift entry ✔ | 1 | Actual and time weighted average concentrations for SFO kinetics ✔ | 9 | FOCUS Step 1 calculations ✔ | 8 | FOCUS Steps 12 input files -✔ | 7 | Read and analyse TOXSWA cwa files [6.3s] -✔ | 12 | UK drainage PEC calculations +✔ | 7 | Read and analyse TOXSWA cwa files [4.8s] +✔ | 13 | UK drainage PEC calculations ══ Results ═════════════════════════════════════════════════════════════════════════════════════════ -Duration: 9.5 s +Duration: 6.6 s -[ FAIL 0 | WARN 0 | SKIP 0 | PASS 77 ] +[ FAIL 0 | WARN 0 | SKIP 0 | PASS 78 ] -- cgit v1.2.1