To give an example of what Wayne and Akshaya mentioned, take a look at the Example1.wtg file included with the program. There are controls to turn a pump on and off based on the elevation of a tank. If you extend the duration, those controls continue…