Open jinzhuyu opened 2 months ago
You can use a set of simple controls to change the FCV setting at specific points in time:
[CONTROLS]
Link FCV12 130 at Time 2 ; Flow setting is 130 at hour 2
Link FCV12 100 at Time 4 ; Flow setting is 100 at hour 4
etc.
Good morning,
Thank you very much for the quick reponse. I added
"[VALVES] ;ID Node1 Node2 Diameter Type MinorLoss FCV12 12 13 10 FCV 0"
and then
" FCV12 125 at TIME 0 ; Flow setting is 125 at hour 0 FCV12 130 at TIME 1 ; Flow setting is 130 at hour 1"
or
" FCV12 125 at TIME 0 FCV12 130 at TIME 1"
but both led to the following error:
"Error 201: syntax error in [CONTROLS] sections: ‘FCV12 125 at TIME 0 FCV12 130 at TIME 1’.
I tried some variants, but the same error occurred. Can you tell me how to fix the syntax error? Thanks!
On Mon, Jul 8, 2024 at 8:19 AM Lew Rossman @.***> wrote:
You can use a set of simple controls to change the FCV setting at specific points in time:
[CONTROLS] FCV12 130 at Time 2 ; Flow setting is 130 at hour 2 FCV12 100 at Time 4 ; Flow setting is 100 at hour 4 etc.
— Reply to this email directly, view it on GitHub https://github.com/OpenWaterAnalytics/EPANET/issues/807#issuecomment-2214057491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITYH4UGB73BIE62WRS5ZSDZLKGVPAVCNFSM6AAAAABKP743A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGA2TONBZGE . You are receiving this because you authored the thread.Message ID: @.***>
Sorry, I forgot to begin each control with the key word "Link". Please see the corrected post above.
Hi,
I would like to use dynamic flow rate for a valve. Could you please tell me how to do so? Thanks!
I tried to use "[VALVES] ;ID Node1 Node2 Diameter Type Setting MinorLoss FCV12 12 13 10 FCV 125 0" to set the valve flow rate, but I am not sure how to make specified flow rate change over the simulation steps.