Introducing User Programmable Controls (UPC) Scripts in InfoWorks WS Pro

00:03

Generally, pumps and valves are controlled by a single rule through the Properties window in InfoWorks WS Pro.

00:11

However, in some cases, the status of a pump or valve may be controlled by a complex set of rules with multiple conditions.

00:18

For example, pump status may be controlled by the level in a reservoir,

00:23

with the levels at which the pump switches on and off varying throughout the day.

00:27

It can also be controlled by the pressure at various points in the network throughout different periods of the same day.

00:34

The modelling of complex controls must be carried out using user programmable control (UPC) scripts.

00:42

UPC allows you to change the state of control elements (regulators)

00:46

such as pumps and valves based on information from sensors or network objects elsewhere in the network.

00:52

For example, you can use the flow of a meter at a certain time

00:56

and the pressure at a customer point at another time to determine when a valve should be opened or closed.

01:02

UPC scripts are used to define logical controls for pump station and valve objects.

01:08

Scripts are stored in the Control Data object.

01:11

There are two types of scripts: local and global.

01:16

Local scripts are associated with a particular network object

01:20

and can be viewed and edited from the UPC Script page of the object property sheet.

01:25

Definitions in the local script are used only by the network object (local regulator) that the script is associated with.

01:32

Global scripts can be used to set up definitions and rules to be used by more than one network object.

01:38

All scripts for the network can be stored in a global script.

01:42

By default, a UPC script will override any other control data defined for an object.

Video transcript

00:03

Generally, pumps and valves are controlled by a single rule through the Properties window in InfoWorks WS Pro.

00:11

However, in some cases, the status of a pump or valve may be controlled by a complex set of rules with multiple conditions.

00:18

For example, pump status may be controlled by the level in a reservoir,

00:23

with the levels at which the pump switches on and off varying throughout the day.

00:27

It can also be controlled by the pressure at various points in the network throughout different periods of the same day.

00:34

The modelling of complex controls must be carried out using user programmable control (UPC) scripts.

00:42

UPC allows you to change the state of control elements (regulators)

00:46

such as pumps and valves based on information from sensors or network objects elsewhere in the network.

00:52

For example, you can use the flow of a meter at a certain time

00:56

and the pressure at a customer point at another time to determine when a valve should be opened or closed.

01:02

UPC scripts are used to define logical controls for pump station and valve objects.

01:08

Scripts are stored in the Control Data object.

01:11

There are two types of scripts: local and global.

01:16

Local scripts are associated with a particular network object

01:20

and can be viewed and edited from the UPC Script page of the object property sheet.

01:25

Definitions in the local script are used only by the network object (local regulator) that the script is associated with.

01:32

Global scripts can be used to set up definitions and rules to be used by more than one network object.

01:38

All scripts for the network can be stored in a global script.

01:42

By default, a UPC script will override any other control data defined for an object.

Video quiz

Which of the following are the two types of user programmable control (UPC) scripts?

(Select one)
Select an answer

1/1 questions left unanswered

Generally, pumps and valves are controlled by a single rule through the Properties window in InfoWorks WS Pro. However, in some cases, the status of a pump or valve may be controlled by a complex set of rules with multiple conditions.

A presentation slide displays instances where a pump or valve is controlled by a complex set of rules and conditions using UPC scripts.

UPC allows you to change the state of control elements, or regulators, such as pumps and valves based on information from sensors or network objects elsewhere in the network.

A presentation slide summarizes the function of UPC in determining if a valve should be opened, with an image of a Pump UPC graph.

UPC scripts are used to define logical controls for pump station and valve objects.

A presentation slide describes the purpose of UPC scripts and the two different script types, local and global.

Was this information helpful?