From c9948a2957f04b4ac91261e485d77d438f95585a Mon Sep 17 00:00:00 2001 From: Maarten Pronk Date: Mon, 23 Sep 2024 18:45:57 +0200 Subject: [PATCH] Add default UserDemand boundary concentrations. (#1843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1841 The fix is indeed to UserDemand, and @visr's hunch about the concentration not being set on the boundary turned out to be right. Seems we're in business now 🎉: Screenshot 2024-09-23 at 17 38 26 --- python/ribasim/ribasim/delwaq/template/B5_bounddata.inc.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/ribasim/ribasim/delwaq/template/B5_bounddata.inc.j2 b/python/ribasim/ribasim/delwaq/template/B5_bounddata.inc.j2 index e1a9b115c..36cb2f777 100644 --- a/python/ribasim/ribasim/delwaq/template/B5_bounddata.inc.j2 +++ b/python/ribasim/ribasim/delwaq/template/B5_bounddata.inc.j2 @@ -18,6 +18,10 @@ ITEM 'Precipitation' CONCENTRATIONS 'Continuity' 'Precipitation' DATA 1 1 +ITEM 'UserDemand' +CONCENTRATIONS 'Continuity' 'UserDemand' +DATA 1 1 + {% for boundary in boundaries -%} ITEM '{{ boundary.name }}' CONCENTRATIONS {{ boundary.substances | join(' ') | safe }}