Subject: WEAP API automate gw node where transmission link loses water to Posted: 3/3/2022 Viewed: 4247 times
Using the WEAP API through Python:
Is there a way I can automate setting the gw node the transmission link loses water to? I am able to automatically set the percentage like e.g. in 10% in the example below. However, how can I set the “to Groundwater” node the transmission link loses water to? Or is this not possible?
self.WEAP.Branch('Supply and Resources\Transmission Links\to AI_11\from Withdrawal Node 5').Variables('Loss to Groundwater').Expression = 10
Mr. Jack Sieber
Subject: Re: WEAP API automate gw node where transmission link loses water to Posted: 3/3/2022 Viewed: 4242 times
This is currently no way using the WEAP API to set or change which groundwater node is linked to a reach. I hope to add this capability in a future version of WEAP.
Jack
Topic "WEAP API automate gw node where transmission link loses water to"