& Construction
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing
Professional CAD/CAM tools built on Inventor and AutoCAD
Applying a UPC script to a pump station and visualize the results.
Tutorial resources
These downloadable resources will be used to complete this tutorial:
UPC scripts allow you to represent the valves and pump stations within a water supply system that may be controlled by a more complex set of rules with multiple conditions. This example uses a UPC script to set two different types of pump controls, depending on the time of day.
It is best practice to test UPC scripts in a scenario first, before altering a base model. To create a new scenario:
In the Scenarios toolbar, the Pump UPC scenario now appears selected in the drop-down.
Next, create a UPC script that sets two rules for this pump—one to turn the pump on and off to maintain a pressure between 31 and 33 meters at the hospital between 06:00 and 22:00; and another to maintain a pressure of 27 m at the furthest node in the network (END) between 22:00 and 06:00.
To run both scenarios:
To create a graph to visualize the results:
A graph window opens, showing the state of the pump in the different scenarios.
The base simulation pump remains on for the whole simulation, since its state is continuously set to 1. In the Pump UPC scenario, the pump turns on (1) and off (0) as the pressure at the specified control points change. Also note that a pump turning on and off with this frequency in reality could damage the distribution infrastructure, so the scheduling in this UPC might need to be refined.