RTC Table Example

A table is used to describe the relationship between a set of input values and output values.

The following example shows the RTC for controlling the operation of a pump according to the volume in a chamber, by using a table to define the relationship between chamber level and volume.

Under this example, a pump is operated depending on the volume at a node.

The relationship between the height above datum and the volume at the node is defined in a Table in the RTC.

The RTC is defined by adding components to a valve regulator in the RTC Window Editor.

This simple example could, of course, be modelled without the use of a Table by controlling the pump on height above datum at node D instead of the volume. However, tables used in this way may be required in more complex cases; for example, tables can be used to compare volumes in two tanks, where the volume in the tanks does not change uniformly with depth.

For an example of how the use of Tables can be extended, see RTC Example.

Component

Parameters

Effect

RANGE 1

Range type: Z - Height above datum

Location node: D

Minimum:

Maximum:

TRUE if height above datum is between - / + infinity

TABLE 1

Measurement: Volume

Input Range: RANGE 1

Type: LINEAR

Input/Output grid: Height above datum vs Volume

Relationship between range type defined in RANGE 1  and Volume at RANGE 1 location

RANGE 2

Range type: Variable

Location Definition: TABLE 1

Minimum: 100m3

Maximum:

TRUE if volume is greater than or equal to 100 m3

RULE 1

Condition: _default_

Rule type: OFF

DEFAULT status of pump is OFF

RULE 2

Condition: RANGE 2
Rule type: ON

Switch pump ON if RANGE 2 is TRUE

  1. Range 1: Defines node D as the control point

    ClosedShow me

  2. Table 1: Defines the relationship between the depth at node D and the volume at node D

    ClosedShow me

  3. Range 2: Operates the pump according to the volume at node D

    ClosedShow me

  4. Rule 1: Pump is switched OFF by default

    ClosedShow me

  5. Rule 2: Pump is switched ON when volume at node D is greater than or equal to 100 m3

    ClosedShow me

For a further example of an RTC  Scenario, see RTC Example.