I want to make a scenario that the pump is turned on for 15 hours from 06:00 - 21:00, how do I make the pump stop outside these hours?
For this you can use time based controls where you can specify clock time and state if a pump would be On / Off during a specific period. See the below article for more details on how you can configure this;
Using "Clock Time" and "Time From Start" Controls
Alternatively since you know the exact times when the pump is On, you can also use a pattern to operate the pump. See more details on this below;
Using patterns to control pumps or reservoir HGL over time
Hope this helps.
Bentley Technical Support
Thanks Yashodhan for the answer but in this calculation summary there is a flow that is supplied outside these hours, why?
First, ensure that there is another source (tank or another pump that is on) to supply any fixed demands during the times when the pump in question is turned off. Also, if you are using the controls approach, ensure that your controls are added to the control set used in the Operational alternative assigned to the Scenario that you're running (if you are using control sets).
Based on the information in the article that Yashodhan posted, if you want the pump on between 0600 and 2100 and off during other times, you could set the control like this:
IF Clock Time >= 6:00 AM And Clock Time <= 9:00 PM THEN PMP-1 Pump Status = On ELSE PMP-1 Pump Status = Off
If this does not help, please provide a copy of the model for review, with any steps needed to reproduce: Sharing Hydraulic Model Files on the OpenFlows Forum
Jesse DringoliTechnical Support Manager, OpenFlows ProductsBentley Communities Site AdministratorBentley Systems, Inc.
Answer Verified By: Farhan Putra