Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving Pump Scheduling results

Status
Not open for further replies.

Karwan86

Civil/Environmental
Joined
Mar 14, 2016
Messages
1
Location
IQ
Dear All

I am working on a model, an excel-base pump scheduling optimization model.

The structure of my coding in the interface as following:

ENinitH
Do
Pump Setting (on and off)
According to the Toolkit user manual, the toolkit function for pump setting during the simulation is ("EN_STATUS" or 11).

ENrunH

Now, I want to save the results of the model in the end of the simulation into an epanet inp file. For doing that I am using (ENsaveinpfile (ActiveWorkbook.Path + "\New Solution.inp"). But, this function (ENsaveinpfile) is actually not saving the interface results, instead it is saving the initial state of the inp file.

Please, I was wondering weather I am wrong in the structure of the coding or I have to use another toolkit function to save the model result in an epanet inp file.

Many Thanks for any advice, and given an example.

Regards
Karwan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top