New: the AI firewall watches every module and explains each incident in plain words. See how it works

Water site

The water site solution – tank and pump station profiles, their keys, limit attributes, alarm rules, the pump command and every page of the board.

The water site solution watches the tanks and pump stations of a water supply site. Each tank reports its level; each pump station runs two pumps and reports its phases, thermal relays, line pressure, flow and consumption. Operators see levels against per-tank limits, switch pumps by command and look at each station as a process diagram.

The model

PartIn the full installation
SiteWater site (asset kind Site)
ZonesNorth zone and South zone (kind Area) under the site
DevicesSix tanks and six pump stations, three of each per zone, placed in their zone
RelationsEach tank CONTROLS the pump station that fills from it

The CONTROLS relation is how the tank page finds its pump stations and the diagram finds its tank. Edit relations on the asset or device pages; see Relations.

Profile: Water site · Tank

KeyLabelUnitRange
level_cmWater levelcm0 to 600
level_pctTank level%0 to 100
rssiSignal (RSSI)dBm−110 to −50
lat, lngLatitude, Longitude

The tank reports level_pct itself; Hermetry does not compute it from the level and the capacity.

Limit attributes (server attributes of each tank):

AttributeDefaultUsed by
lowLevelThreshold100 cmRule tank_low_level
highLevelThreshold560 cmRule tank_high_level
capacityCm600Information only

A tank without one of the threshold attributes is not checked by that rule. Change a tank’s limits on its Attributes tab; the board has no form to edit them.

Alarm rules:

TypeSeverityConditionDebounceHysteresis
tank_low_levelMajorlevel_cm < lowLevelThreshold2 readings to raise, 2 to clear5
tank_high_levelWarninglevel_cm > highLevelThreshold2 / 25
tank_nearly_emptyCriticallevel_pct < 201 / 22
device_offlineWarningNo message for 600 seconds

Profile: Water site · Pump station

A pump station is drawn as four diagram elements, p1 and p2 (the pumps), pt (line pressure) and fm (flow meter). Their readings are keys of the form <element>.<field>.

KeyLabelType or unit
p1.running, p2.runningPump 1, Pump 2 runningtrue / false
p1.status, p2.status, pt.status, fm.statusElement statusok, warning, critical
pt.valueLine pressurebar, 0 to 24
fm.valueFlow meterm³/h, 0 to 120
manualManual modetrue / false
p1_run, p2_runPump 1, Pump 2 (commanded)true / false
phase1, phase2, phase3Phase 1–3 presenttrue / false
thermal1, thermal2Thermal relay 1, 2 trippedtrue / false
consumptionConsumption counterm³
rssi, lat, lngSignal, position

Limit attribute: minPressure, 2 bar by default, read by low_pressure.

Alarm rules:

TypeSeverityConditionDebounce
phase_lossCriticalAny of phase1–phase3 is false1 / 1
thermal_faultCriticalthermal1 or thermal2 is true1 / 1
low_pressureMajorpt.value < minPressure (hysteresis 0.2)2 / 2
equipment_faultCritical when any element status is critical; Minor when any is warning1 to raise, 2 to clear
device_offlineWarningNo message for 600 seconds

Command: Switch the station (method scada.set_value, tier Basic). Parameters: the control (Manual mode, Pump 1 or Pump 2) and its value (yes or no). The station answers and reports the new state. In automatic mode the station’s own controller may switch a pump again: automatic start and stop stay on the station, not in the cloud.

The board

The board Water site opens on the last 30 minutes.

PageCards
Site (main)Active alarms and Critical alarms counts (a click opens Alarms); Tanks table with level in cm, a level bar (red below 20 %, amber above 90 %), RSSI and last reading; Pump stations device table with pumps, phases, thermals and pressure; Active alarms of the site
RegionsTanks on the map coloured red below 20 %; Zones table with each zone’s device count; Pump stations on the map
Tank levelsWater level of every tank as a bar chart
AlarmsThe alarm table of every tank and station
Tank (hidden)Tank level gauge, Water level chart, Signal (RSSI), the tank’s Zone, Pump stations of this tank, Alarms of this tank
Pump station (hidden)Lamps Phase 1–3 (Present / Lost), Mode (Manual / Automatic), Pump 1, Pump 2 (Running / Stopped), Thermal 1, Thermal 2 (Tripped / Normal); Line pressure gauge 0–24 bar with a Diagram button; Flow and Total consumption charts; switches Manual mode, Run pump 1, Run pump 2; Alarms of this station
Diagram (hidden)The station as a process diagram (tank, inlet valve, two pumps in parallel, pressure transmitter, flow meter, check valve), the Level of the tank gauge and the Flow

A row or marker of a tank opens its Tank page; a pump station row opens its Pump station page.

The pump switches

Each switch sends Switch the station to the station and asks for confirmation first (“Manual mode: send the command to the station?”). A switch is disabled while the reading is old or unknown. Who may press it is set by the Basic command permission (iot_rpc.send.basic, User by default). See Control cards.

What the solution does not do

NeedStatus
Edit tank limits from the boardNot available: use the device’s Attributes tab
Compute level_pct from level_cm and the capacityNot done: the tank reports both. A flow can derive it; see Derived values.
A chart of the phases over timeNot shown: phases are true/false values, which have no chart history. See Numbers, text and true/false values.
Automatic pump control from the cloudNot built by default: the station’s controller does it