Q

Flow Sensor

Hydraulics
Run the live example Free · no sign-up · runs in your browser

The Flow Sensor sits in a line, between A and B, and turns the volume flow through it into an ordinary signal. It adds no pressure drop.

Mathematical Model

y=qA→By = q_{A \to B}

Where:

  • q is the volume flow from A to B (m³/s); negative when it runs back

Inputs & Outputs

Direction ID Label Type Status
→ In p A number Required
→ In n B number Required
→ In H H number Optional
← Out out Out number Output

Usage Examples

Inline Volumetric Flow Metering

The example examples/basic-flowsensor.json measures volume flow rate (converted to L/min) through an active hydraulic line between a 20 bar supply and return tank.

Valve closing against a relief valve

The example examples/basic-hydraulicpipe.json feeds a valve from a 20 bar oil supply through a pipe.

Remarks & Best Practices

  • Gauge pressure: every hydraulic pressure is relative to ambient; an open tank is 0 Pa.
  • Units: pressure in Pa (1 bar = 100 000 Pa), flow in m³/s (1 L/min ≈ 1.667e-5 m³/s).

Related Components