All Topics |
Topic: “ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges”
Author | Message |
---|
Subject: ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges
Posted: 8/30/2025 Viewed: 4709 times
Hi all,
I'm encountering an issue when using the WEAP API to retrieve results from streamflow gauges, for example: (1) WEAP.ResultValue("Supply and Resources\River\R01\Streamflow Gauges\E01:Streamflow Data[CMS]", 2001, 6) (2) WEAP.ResultValue("Supply and Resources\River\R01\Streamflow Gauges\E01:Streamflow[CMS]", 2001, 6) In both cases, I'm getting the same observed streamflow value, whereas I expected command (2) to return the calculated (modeled) streamflow instead. My understanding is that Streamflow Data corresponds to observed gauge data, and Streamflow should reflect the simulation results. WEAP Version: 2025.001 |
Subject: Re: ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges
Posted: 9/3/2025 Viewed: 1494 times
To capture the modeled streamflow, try using the reach immediately above or below the gauge. Use whichever node is labeled as "Reach".
WEAP is reading the observed data in both cases here. It does this in the streamflow results at the gauge locations (despite that yes, as you say, you are trying to look at the WEAP streamflow result). Hope this helps! -Doug |
Topic: “ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges”