• InfoWorks ICM

Setting up real time controls (RTC) for a simulation

Set up several types of Real Time Control conditions in preparation for a simulation.


Tutorial resources

These downloadable resources will be used to complete this tutorial:

Setup_RTC.icmt

Step-by-step guide

RTC can be defined for one or more regulators—control elements that can physically regulate flow, depth, or velocity values in the network. This example uses RTC to store flow in an upstream tank to reduce the spill from the downstream storm tank, and to control the release of flow from the tank.

To complete this exercise, open the transportable database .icmt file for this tutorial.

  1. In the Model Group, open the 1D Simulation Model by double-clicking the network or by dragging it onto the GeoPlan.

Create a new scenario to apply the RTC:

  1. In the Scenarios toolbar, click Create scenario.
  2. OR, as shown in the image, click Manage scenarios, and then click Create.
  3. In the Create New Scenario dialog box, enter the name "Tank Storage", and then click OK.

The Create New Scenario dialog box with Tank Storage set as the name and OK selected, and in the Scenarios toolbar, the Manage scenarios tool highlighted.

  1. Click the Find in GeoPlan tool.
  2. Perform a Quick Find for Storm_Tank1.1.
  3. Close the Quick Find dialog box.
  4. Double-click the upstream node to open its properties.

RTC can only be applied to certain link types, or more specifically, to links with variable properties.

  1. Next to Link type, use the drop-down to change the type to VSGate, which is a variable vertical sluice.

Storm_Tank1.1 The Properties window with the Link type set to VSGate and highlighted in red, and the Regulator properties now added.

Once the change is made, regulator properties are added to the Properties dialog box.

  1. While still in the Tank Storage scenario, click the Grid windows drop-down and select RTC editor.
  2. In the RTC Window Editor, right-click Global and select Insert regulator.

The Select regulator popup appears, displaying all the regulator links in the model that can be controlled via RTC.

  1. Select Storm_Tank1.1.

The Select Regulators dialog box with Storm_Tank1.1 highlighted.

  1. Click OK.

The regulator is added to the RTC tree structure, and the rules can now be defined for it to follow.

In this example, the sluice gate is to remain shut, unless the level within the inlet channel is less than 41.00m AD.

  1. Right-click Storm_Tank1.1 and select Insert dependent > Range.

In the RTC Window Editor, the Storm_Tank1.1 shortcut menu with Insert dependent selected, and in the flyout, Range selected.

  1. Expand the Storm_Tank1.1 entry and select NewRange to display its settings in the right-hand pane.
  2. Set the Name as “Inlet”.
  3. Set the Type to Z - height above datum.
  4. Set the Location to Inlet.
  5. Set the Maximum (m AD) to 41.000.
  6. Click Update to save the information.

The RTC Window Editor for Storm_Tank1.1 with the Range regulator Name, Type, Location, and Maximum value settings configured for this exercise.

Now define the rules.

The variable for the VSGate is the opening height.

  1. Right-click Storm_Tank1.1 and select Insert dependent > Rule.
  2. Set the Condition to _Default_.
  3. Set the Type to POS.
  4. Ensure that the Setpoint Type is Fixed at 0.000 m.
  5. Click Update to save the information.

Next, define a second rule for when the sluice should open:

  1. Right-click Storm_Tank1.1 and select Insert dependent > Rule.
  2. Set the Condition to Inlet, which looks at the Range set earlier.
  3. Set the Type to POS.
  4. Under Setpoint Type, select Fixed.
  5. Enter a value of 0.150 m.
  6. Click Update.
  7. Select the regulator Storm_Tank1.1.
  8. In the Description box, notice the description of the rules in plain English. This is useful to read and determine whether the RTC is logical.

The RTC Window Editor with the rules for regulator Storm_Tank1.1 fully set up for this exercise in the left pane, and the Description section highlighted in the right pane.

Now, define the rules for the upstream storage tank. The tank should contain flow when the downstream pumping station is on, and hold back the water until the online tank has drained.

  1. Leave the RTC Window Editor open and switch back to the model on the GeoPlan.
  2. Click Find in GeoPlan.
  3. Perform a Quick Find for link TF92290601.1.
  4. Close the Quick Find dialog box.

To change link TF92290601.1 from a conduit to a regulator link, it needs to be deleted and then recreated.

  1. With only the link is selected, in the Selection toolbar, click Delete selection.
  2. Expand the New Object drop-down and select Link.
  3. Click the New object tool.
  4. Draw a link from TF92290601 to TF91299602.
  5. In the Create New Link dialog box, set the Type to Sluice.

The Create New Link dialog box set to a Type of Sluice, and the New object tool called out in the GeoPlan Tools toolbar.

  1. Click OK.
  2. In the Properties dialog box for the new sluice, set the Link type to VSGate.
  3. Under Sluice definition, set the Invert Level (m AD) to 31.100.
  4. Set the Width (m) to 0.150.
  5. Set the Opening height (m) to 0.300.

The Sluice Properties window with Invert level, Width, and Opening height settings configured for this exercise and highlighted.

  1. Switch back to the RTC Window Editor.
  2. Right-click Global and select Insert regulator.
  3. In the Select Regulators dialog box, select TF92290601.1.
  4. Click OK.

Set up the rules for this regulator:

  1. Right-click TF92290601.1 and select Insert dependent > Rule.
  2. Expand the TF92290601.1 entry.
  3. Select the NewRange item to display its settings.
  4. Set the Condition to _Default_.
  5. Set the Type to POS.
  6. Set the Setpoint Type to Fixed at 0.3 m.
  7. Click Update.
  8. Right-click TF92290601.1 and select Insert dependent > Range.
  9. Set the Name to "PumpOn".
  10. Set the Type to Z - height above datum.
  11. Set the Node to TF91299301.
  12. Set the Values Minimum (m AD) to 28.300.
  13. Click Update.
  14. Set up a second Range with the Name "Tank Depth".
  15. Set the Type to Z - height above datum.
  16. Set the Node to TF92290601.
  17. Set the Values Minimum (m AD) to 31.300.
  18. Click Update.

The sluice should remain at a 50mm opening height during both of the range conditions. Use a logic table to set this up:

  1. Right-click TF92290601.1 and select Insert dependent > Logic.
  2. Set the Name to "Logic".
  3. Set the Operator to OR.
  4. In the Dependent Conditions drop-downs, select the two ranges that were previously defined, PumpOn and TankDepth.
  5. Click Update.

Finally, create a new rule that looks at the logic just created as its condition and sets the opening height of the sluice.

  1. Right-click TF92290601.1 and select Insert dependent > Rule.
  2. Set the Condition to Logic.
  3. Set the Type to POS.
  4. Set the Setpoint Type to Fixed at 0.050 m.
  5. Click Update.

The RTC is now finalized.

  1. Click regulator TF92290601.1 and read through the Description to make sure everything looks logical.

RTC Window Editor for Storm_Tank1.1 and TF92290601.1 regulators fully set up for this exercise.

  1. Close the RTC Window Editor.

To use this RTC in a simulation, first, these latest changes need to be validated and committed.

  1. Click Validate.
  2. In the Network Validation popup, select the Tank Storage Scenario.
  3. Click OK.
  4. Ensure that there are no errors in the Output Window, and then click Commit changes.
  5. In the popup, add the comment "RTC added at two sluices".
  6. Click OK.

The impact that the addition of the sluice and RTC have on the model and the spills from the storm tank are ready to be tested.