Miravo

Storage Tank

Liquid storage tank with fill state, level control surfaces, fault health, and nameplate geometry.

What it is

A cylindrical liquid storage tank with fill-and-drain dynamics, level high/low setpoint surfaces, outlet valve control, and level-sensor condition modelling. Reports full nameplate geometry — volume, height, diameter — so downstream tools can compute real quantities rather than normalized percentages.

Used in

  • smart-factory — coolant-loop reservoir
  • water-treatment — raw-water holding and clean-water distribution
  • backup-power — bulk fuel and day-tank fuel storage

What it tracks

MemberWhy it matters
fill_command / outlet_valve_positionControl inputs driving inflow and outflow.
level_pct / level_m / level_volume_lTank level in three useful units.
inflow_lps / outflow_lpsLive flow rates.
level_high_active / level_low_activeSetpoint-crossed alarm surfaces.
level_sensor_valueSensor reading, subject to drift fault.
runtime_hoursLifetime counter.

Methods

  • StartFill — open the inlet and begin filling.
  • StopFill — close the inlet.
  • SetOutletValvePosition — modulate outflow.

These are callable OPC UA methods, so clients can drive the tank interactively from the same session they use to read its values.

Fault modes

  • level_sensor_drift — reported level diverges from actual level.
  • inlet_valve_stuck — fill command ignored, no inflow.
  • outlet_leak — unexpected level decay without outflow command.
  • overflow — level exceeds capacity, safety-critical event.

Key parameters

ParameterDefaultUnit
nameplate_volume_l10000L
nameplate_height_m3.0m
nameplate_diameter_m2.0m
max_inflow_lps5.0L/s
max_outflow_lps3.0L/s
level_high_pct85%
level_low_pct15%

Use cases

  • Process-flow balance across treatment stages.
  • Fuel-inventory modelling for backup plants.
  • Level-sensor fault detection scenarios (drift vs mechanical faults).
  • Cascade scenarios — tank empties, downstream pump loses prime.

Fork and customize

miravo fork model storage-tank
miravo models inspect storage-tank

Was this page useful?

Last updated on