All Topics | Topic: “ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges”
Author Message
Eng. Brayan Torres Zagastizabal
Subject: ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges   
Posted: 8/30/2025 Viewed: 1759 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
Topic: “ResultValue returns same values for "Streamflow" and "Streamflow Data" variables in Streamflow Gauges”