Objects in an IWLive projection can be controlled from an external source – such as SCADA. For instance, using a future forecast set point for downstream pressure at a PRV defined in SCADA and observed valve opening values.
The following is available as a PDF download: Technical Note – Control Profiles in UPC
InfoWorks WS Plus
In InfoWorks WS Plus create a pair of Live Data Feeds referring to the SCADA point and the forecast. In the example below – the first feed is a future forecast of set points and the second is a historic SCADA feed.
Live Data Configuration
Also add a Live Data Point for each of these data streams.
With the Live Data Configuration open but minimised open the Control object ‘As a Grid’ and add the two feeds into the Control Profile tab.
These profiles can then be referred to in the UPC Scripts.
A variable (VAR) needs to be defined referring to the forecast profile. This variable can then be referred to in the rule – in the example below the default rule is allowing the valve to change its opening to maintain the level defined in the profile.
The SCADAopen variable is used to pass the initial opening into the script where the elapsed simulation time is 00:00.
In the Baseline you need to link the Live Data Configuration and the Control Profiles by going to the Fields tab.
As the UPC Script completely defines the valve (Opening settings and ongoing set points) we do not need to set any other fields.
Enable the baseline and projections will start to use the profile values.
If you are unsure what IWLive is using for a projection the individual files that comprise a projection can be reviewed in WS Plus.
In the Model Group Window – or the Explorer view – show “Hidden Items”. This will expose some additional items for review. You will see a Projection Run Group, Demand Diagram Group, Demand Scaling Group, Electricity Tariff Group and an IWLive Run Info Group for each Baseline. The controls will also have children created for each projection (or adhoc) run created.
These objects can be opened and reviewed as necessary.
Note in the instance above that the control dates have been based on the original Control Time interval although the profile is correctly applied within IWLive.