Same output of all designed variables by simulation of OSTRICH with SWMM

133 views
Skip to first unread message

HUSNAIN TANSAR

unread,
Aug 31, 2021, 12:05:34 AM8/31/21
to Ostrich User Group

Hello everyone,

 

I am trying to link OSTRICH with SWMM. I need to run SWMM model for large number of simulations (15000) with different values of parameters and need output for further process. However, I am able to run with help of the attached OstIn.txt file and it is running perfectly with different sets of parameters, but I am getting same output for all sets of design variables. 

Based on my understanding, there could be a reason that the SWMM output file is not simultaneously updated by Ostrich.

 

Please find attached Ostin.txt file and output file. 

Your help will be highly appreciated. If you need more information, please let me know.

 

Thank you

Husnain

OstModel0.txt
OstIn.txt

Mehmet Cüneyd Demirel

unread,
Aug 23, 2024, 3:12:54 AM8/23/24
to Ostrich User Group

Hi Husnain,
Apparently, your model is not called to produce new outputs with newly produced par file.

You should replace this line: 
ModelExecutable swmm5.exe

with a bat file call_model.bat and inside this file add a line to call swmm like:

swmmtoolbox extract ObjFunc.out node,11,Depth_above_invert>result_depth.txt

Cheers,
Cüneyd
Reply all
Reply to author
Forward
0 new messages