InertanceInertanceBack to simulation

How it works

Water analogy, components and equations

Voltage becomes pressure difference; current becomes volume flow. Compare each electrical law with its hydraulic counterpart.

Pressure is the push. Flow is the response.

Voltage is a difference between two electrical potentials. Here it becomes a pressure difference between two places in the water. A pressure difference can exist even when a valve blocks all flow.

Current is how much charge passes each second. Its water counterpart is volume per second, not the speed of one particle. In a narrow section the same volume flow needs faster water.

Pressure difference and volume flow are different quantitiesA closed flap holds higher pressure on side a with no flow. An open pipe carries flow from a to b.a: higher pb: lower pf = 0f → (m³/s)

Electrical

\begin{aligned}v&=V_a-V_b\\i&=\frac{dq}{dt}\\P&=vi\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p&=p_a-p_b\\f&=\frac{d\mathcal V}{dt}\\P_h&=\Delta p\,f\end{aligned}
Symbols, units and water scale

Rates and stored energy

t is time in s, q is electrical charge in C and \mathcal V is displaced volume in m³. Volume flow is the rate at which volume passes a section, rather than particle speed.

Power is the rate of energy transfer. A charged capacitor can retain energy while its current and power are zero.

Instrument conversion

\begin{aligned}\Delta p&=\alpha v & f&=\beta i\\\mathcal V&=\beta q\end{aligned}

\alpha=100\ \mathrm{Pa/V} and \beta=10^{-4}\ \mathrm{m^3/(s\,A)}. The instruments use water density \rho=1000\ \mathrm{kg/m^3} and g=9.81\ \mathrm{m/s^2}.

Power and energy scale

P_h=\alpha\beta P\qquad E_h=\alpha\beta E

With this scale, \alpha\beta=0.01. Hydraulic and electrical power or energy preserve the relationship but do not have equal numerical values.

Drawing and playback

Drawing dimensions, pressure-color contrast and particle travel are chosen for visibility. They are separate from the instrument conversion and do not calibrate physical hardware.

Give the flow a return path

A pump and resistance in a closed loopA pump raises pressure on the left. Flow travels right through a restriction and returns along the bottom.M

A junction shares one pressure. Flow entering it equals flow leaving it. Charge does not disappear into a wire.

A closed loop balances pressure rises and drops. A pump’s rise is balanced by the components in that loop. The circuit model uses Kirchhoff’s laws: signed currents at a node sum to zero, and signed voltages around a loop sum to zero.

Symbols and units

Σ means “add the signed values”. Pick entering currents as positive and leaving currents as negative; reverse the sign when traversing a voltage rise rather than a drop.

Electrical

\sum i=0\qquad\sum v=0

Hydraulic analogy

\sum f=0\qquad\sum\Delta p=0
Connected junction versus independent crossingLeft, a filled tee joins three paths and divides a flow of three into one plus two. Right, a crossing has a gap on the lower pipe: its nets stay separate.3 →→ 1↓ 2Connected junction versus independent crossingLeft, a filled tee joins three paths and divides a flow of three into one plus two. Right, a crossing has a gap on the lower pipe: its nets stay separate.3 →→ 1↓ 2

Pipes and junctions are ideal connections: Δv = 0 along a wire, and Δp = 0 along its water counterpart. Making a pipe longer or drawing a different bore does not add electrical resistance, capacitance or inductance. Real pipes would behave differently.

A zero is a reference, not an empty pipe

The solver chooses an electrical reference in each isolated circuit. A transformer’s water loops remain separate; their reference choices do not connect them. Pressure colors across isolated circuits therefore do not establish a shared absolute potential. A pressure meter must have both leads in the same electrically connected circuit.

Pressure colors and tracers

Color zero changes the voltage origin used for coloring. Supply-relative color, logarithmic scaling and contrast make small changes visible; equal represented voltage has equal color within the reference convention. Winding-only and split-pressure views change the illustration. Read the signed numeric signals for quantitative comparisons. White tracers show flow, with travel exaggerated for visibility; they are not tracked fluid parcels or electrons.

Symbols and directions

Positive current enters the reference-polarity terminal: a → b, or p → n for capacitors and windings. Rotating a part preserves that reference direction. Lowercase v(t) and i(t) denote instantaneous voltage and current.

v, Va, Vb
Voltage difference and node potentials: V
i, q, t
Current: A; charge: C; time: s
Δp, f, 𝒱
Pressure difference: Pa; flow: m³/s; displaced volume: m³
u, Ap
Mean water speed: m/s; pipe area: m²; f = Apu
R, C, L
Resistance: Ω; capacitance: F; inductance: H
P, E
Power: W; energy: J; positive vi is absorbed power
Δ, d/dt, Σ
Difference; rate of change; signed sum
µ, m
Micro = 10⁻⁶; milli = 10⁻³. App values use µF and mH; equations use F and H.

Voltage source

A motor-driven pump represents a voltage source. DC maintains a fixed pressure difference; AC varies it. The connected circuit determines the current and volume flow.

Electrical

\begin{aligned}v_{\mathrm{DC}}&=V_{\mathrm{DC}}\\v_s(t)&=V_{\mathrm{off}}+\hat V\sin(2\pi f_{\mathrm{ac}}t)\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p_{\mathrm{DC}}&=\alpha V_{\mathrm{DC}}\\\Delta p_s(t)&=\alpha v_s(t)\end{aligned}
Native circular pump with a motor M, impeller, upper p port and lower n port.
Explanation, symbols and example

Reading the mechanism

The impeller belongs to a prescribed voltage source. It creates a pressure difference; the circuit determines the flow. Its angle follows accumulated current and does not model a separate motor.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
V_{\mathrm{DC}},\,V_{\mathrm{off}},\,\hat V
DC voltage, sine offset and peak amplitude, in V.
f_{\mathrm{ac}},\,t
AC frequency in Hz; time in s. The stated amplitude is peak, not RMS.

Example

12\ \mathrm V corresponds to 1200\ \mathrm{Pa}. An open switch can hold that pressure difference with no current.

Model limits

There is no pump curve, current limit or internal source resistance. A feed resistor is a separate modeled component.

Resistor

The narrow passage resists flow. A pressure drop drives volume flow and dissipates energy, just as voltage drives current through a resistor.

Electrical

\begin{aligned}v&=Ri\\P&=Ri^2\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p&=R_h f\\P_h&=R_h f^2\end{aligned}
Native narrow funnel with terminal a on the left, terminal b on the right and a pressure gradient through the restriction.
Explanation, symbols and example

Reading the mechanism

The constriction causes a pressure drop. The same volume passes each cross-section per second, so water moves faster in the narrow section. Electrical and hydraulic power are dissipated.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
R,\,R_h
Electrical resistance in Ω; hydraulic resistance in Pa s/m³, with R_h=(\alpha/\beta)R
P,\,P_h
Electrical and hydraulic power in W. P_h=\alpha\beta P

Example

v=6\ \mathrm V and R=12\ \Omega give i=0.5\ \mathrm A and P=3\ \mathrm W. The water scale gives 600 Pa and 50 mL/s.

Model limits

The resistance is a configured electrical value. The funnel dimensions do not calculate viscosity, turbulence or temperature effects.

Capacitor

A spring-loaded dividing wall stores displacement. Flow moves the wall and compresses the spring; the wall can hold pressure when flow stops. Water does not pass through it.

Electrical

\begin{aligned}q&=Cv\\i&=C\frac{dv}{dt}\\E&=\frac12 Cv^2\end{aligned}

Hydraulic analogy

\begin{aligned}\mathcal V&=C_h\Delta p\\f&=C_h\frac{d\Delta p}{dt}\\E_h&=\frac12 C_h(\Delta p)^2\end{aligned}
Uncharged native capacitor: the horizontal dividing wall is near the upper end of the chamber above an uncompressed spring.Charged native capacitor: entering water has moved the wall downward and compressed the spring; the two water chambers remain separate.
Explanation, symbols and example

Reading the mechanism

Water entering p pushes the sealed wall and displaces water out of n. Wall displacement represents charge; spring force represents capacitor voltage. Constant voltage leaves the wall still, while reverse current can return stored energy.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
q,\,\mathcal V
Charge in C; displaced volume in m³, with \mathcal V=\beta q
C,\,C_h
Capacitance in F; hydraulic compliance in m³/Pa.
A_w,\,\kappa
Wall area in m²; spring stiffness in N/m.
E,\,E_h
Stored electrical and hydraulic energy in J; E_h=\alpha\beta E

Example

C=100\ \mathrm{\mu F} at v=5\ \mathrm V holds q=0.5\ \mathrm{mC} and E=1.25\ \mathrm{mJ}. A 1 mA charging current changes its voltage at 10 V/s.

Model limits

The drawn wall has visual stops; reaching an edge does not make an ideal capacitor electrically full. AC appearance centers the wall for both polarities; Auto selects it when voltage becomes negative. Forced DC appearance rejects reverse bias. Voltage ratings and breakdown are absent.

Spring counterpart

C_h=\frac{\beta}{\alpha}C=\frac{A_w^2}{\kappa}

This ideal spring relation explains compliance; it does not calibrate the SVG chamber dimensions. In periodic steady state, capacitor current-seconds balance means zero net charge change per switching period.

Inductor

Flow turns the paddles and flywheel. Pressure accelerates the wheel; its speed represents current and its kinetic energy represents stored magnetic energy. Inertia resists changes in speed, just as inductance resists changes in current.

Electrical

\begin{aligned}\lambda&=Li\\v&=L\frac{di}{dt}\\E&=\frac12 Li^2\end{aligned}

Hydraulic analogy

\begin{aligned}f&=d\omega\\\Delta p&=L_h\frac{df}{dt}\\E_h&=\frac12 L_h f^2\end{aligned}
Native ordinary inductor: two top fittings lead to a water loop with four wet paddles and a central flywheel marked J.
Explanation, symbols and example

Reading the mechanism

Current turns the paddles and flywheel. Speed represents current; angle follows accumulated charge. A pressure difference changes the speed, and kinetic energy is the counterpart of stored magnetic energy.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
L,\,L_h
Inductance in H; hydraulic inertance in Pa s²/m³.
\lambda
Flux linkage in Wb turn, equivalent to V s.
J,\,\omega
Wheel inertia in kg m²; angular speed in rad/s.
d
Displaced volume per radian, in m³/rad. f=d\omega

Example

v=1\ \mathrm V across L=10\ \mathrm{mH} changes current at 100 A/s. At 1 A, the stored energy is 5 mJ.

Model limits

The wheel is an ideal counterpart, without calibrated friction or fluid dynamics. The electrical model has no saturation or winding resistance unless a separate supported loss element supplies it. Interrupting the only path for inductor current can produce a solver error.

Inertia and steady state

L_h=\frac{\alpha}{\beta}L=\frac{J}{d^2}

Inductor voltage-seconds balance in periodic steady state means zero net change in flux linkage per switching period. In the analogy, the net pressure impulse is zero.

Diode

A check-valve flap opens for forward flow and blocks reverse flow. The electrical model uses a forward voltage drop and on resistance, or ideal conduction when device losses are off.

Electrical

\begin{aligned}\text{On:}\quad v&=V_F+r_d i,\quad i\ge0\\\text{Off:}\quad i&=0,\quad v\le V_F\end{aligned}

Hydraulic analogy

\begin{aligned}\text{On:}\quad\Delta p&=\Delta p_F+R_d f\\\text{Off:}\quad f&=0,\quad\Delta p\le\Delta p_F\end{aligned}
Native diode flap closed across the straight water passage, blocking flow.Native diode flap swung open by forward current from a at the top to b at the bottom.
Explanation, symbols and example

Reading the mechanism

Forward flow from a to b swings the flap aside. Reverse pressure closes it. The flap angle indicates conduction state; it is not a measurement of current magnitude.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
V_F,\,r_d
Forward drop in V; conducting resistance in Ω. The default diode resistance is 0.01 Ω.
\Delta p_F,\,R_d
Cracking pressure in Pa; hydraulic conducting resistance in Pa s/m³.

Example

V_F=0.7\ \mathrm V and r_d=0.01\ \Omega give a 0.71 V drop at 1 A. A freewheel diode lets inductor current continue after the supply switch opens.

Model limits

Ideal-device conduction sets both forward drop and on resistance to zero. Reverse leakage, breakdown, recovery and junction capacitance are not modeled.

Valve parameters

\Delta p_F=\alpha V_F\qquad R_d=\frac{\alpha}{\beta}r_d

Switch

The control wheel turns a butterfly valve. The on state allows flow in either direction; the off state blocks it. PWM sets the switching period and duty cycle.

Electrical

\begin{aligned}\text{On:}\quad v&=r_{\mathrm{on}}i\\\text{Off:}\quad i&=0\\D&=\frac{T_{\mathrm{on}}}{T_{\mathrm{sw}}},\quad f_s=\frac1{T_{\mathrm{sw}}}\end{aligned}

Hydraulic analogy

\begin{aligned}\text{On:}\quad\Delta p&=R_{\mathrm{on}}f\\\text{Off:}\quad f&=0\\D&=\frac{T_{\mathrm{on}}}{T_{\mathrm{sw}}}\end{aligned}
Native ordinary switch off: butterfly plate blocks the pipe and the wheel handle lies across it.Native ordinary switch on: central plate and wheel handle turn along the passage, allowing bidirectional flow.

Switch with body diode

With the gate off, the body diode still permits flow from b to a. The flap can therefore open while the command remains off.

Electrical

\begin{aligned}i_{\mathrm{total}}&=i_{\mathrm{channel}}-i_D\\v_D&=-v,\qquad i_D\ge0\end{aligned}

Hydraulic analogy

\begin{aligned}f_{\mathrm{total}}&=f_{\mathrm{channel}}-f_D\\\Delta p_D&=-\Delta p,\qquad f_D\ge0\end{aligned}
Integrated switch/body-diode mechanism with gate off and flap closed.Same integrated switch with gate still off, but reverse terminal current b to a opens the body-diode flap.
Explanation, symbols and example

Reading the mechanism

The ordinary channel opens in both directions when commanded on. With a body diode, a second path remains from b to a while the command is off. The wheel shows the command; the flap can also respond to passive diode flow.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
r_{\mathrm{on}},\,R_{\mathrm{on}}
Electrical and hydraulic on resistance, in Ω and Pa s/m³.
T_{\mathrm{on}},\,T_{\mathrm{off}},\,T_{\mathrm{sw}}
On time, off time and switching period, in s.
f_s,\,D
Switching frequency in Hz; duty cycle, dimensionless.
i_D,\,f_D
Body-diode current in A and flow in m³/s, defined b → a.

Example

D=0.5 commands the switch on for half of each switching period. It does not prescribe the current. An appropriately oriented body diode can keep inductor current flowing with the gate off.

Model limits

Switching is instantaneous. Gate charge, switching losses, device capacitances and ratings are absent. The integrated flap is a teaching mechanism rather than a physical transistor.

Command and resistance

T_{\mathrm{sw}}=T_{\mathrm{on}}+T_{\mathrm{off}}
R_{\mathrm{on}}=\frac{\alpha}{\beta}r_{\mathrm{on}}

The body diode uses the same forward-drop law as the separate diode. Its b → a current subtracts from the channel current when the total reference is a → b.

Transformer / coupled windings

Two separate water loops represent the windings. Bevel gears and shafts connect their wet wheels to the differential. The carrier flywheel represents magnetizing energy; it can drive the secondary while primary current is zero.

Electrical

\begin{aligned}v_j&=\sum_\ell L_{j\ell}\frac{di_\ell}{dt}\\i_m&=\sum_j n_j i_j\\E_{\mathrm{shared}}&=\frac12 kL_1i_m^2\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p_j&=\sum_\ell L_{h,j\ell}\frac{df_\ell}{dt}\\f_m&=\sum_j n_j f_j\\E_{h,\mathrm{shared}}&=\frac12 kL_{h,1}f_m^2\end{aligned}
Native two-winding differential during primary charge: separate wet wheel loops connect by bevel gears and shafts to the central carrier rim.Same differential during flyback release: the primary wheel stops while the secondary wheel and carrier continue; the rim represents shared energy.
Explanation, symbols and example

Reading the mechanism

Each wet wheel follows its winding’s current. Crown bevel pairs encode turns ratios and drive the side shafts. The differential carrier follows their average speed; the spider gears allow different winding speeds. In flyback release, the primary can stop while the carrier drives the secondary.

Symbols and units

i_j,\,v_j
Winding current in A, entering pⱼ; winding voltage in V, measured pⱼ minus nⱼ.
n_j
Signed relative turns ratio n_j=N_j/N_1, with n_1=1
L_1,\,L_{j\ell},\,k
Winding-1 inductance and matrix entries in H; coupling 0, dimensionless.
i_m,\,f_m
Magnetizing-current combination in A and its weighted volume-flow counterpart in m³/s.
L_{h,j\ell}
Hydraulic inertance in Pa s²/m³, equal to (\alpha/\beta)L_{j\ell}

Example

With primary current zero during flyback delivery, the secondary side shaft turns at twice the carrier speed. The primary can still have induced voltage.

Model limits

The rim represents shared magnetizing energy. Finite coupling adds leakage energy that the rim does not show. Gear sizes compress outside \tfrac12\le|n_j|\le2 while motion retains the exact signed ratio. Tooth contact and water dynamics are illustrative.

Shared and leakage energy

\begin{aligned}L_{jj}&=L_1n_j^2\\L_{j\ell}&=kL_1n_jn_\ell\quad(j\ne\ell)\\E_{\mathrm{leak}}&=\frac12(1-k)L_1\sum_j(n_ji_j)^2\\E&=E_{\mathrm{shared}}+E_{\mathrm{leak}}\end{aligned}

The hydraulic energies obey E_h=\alpha\beta E. This linear model includes finite magnetizing inductance and does not imply ideal-transformer current cancellation at every instant.

Display motion

\begin{aligned}\theta_j&=-2Gn_jq_j\\\Omega_c&=\frac{\Omega_1+\Omega_2}{2}=-Gi_m\\J_c&=\frac{kL_1}{G^2}\end{aligned}

q_j=\int i_j\,dt is winding charge in C; G is the display gain in rad/C; \theta_j is shaft angle in rad and \Omega_j shaft speed in rad/s. The carrier’s electrical-energy-equivalent inertia J_c gives \tfrac12J_c\Omega_c^2=E_{\mathrm{shared}}. This display convention is separate from the hydraulic unit scale.

Three & four windings

Three- and four-winding variants use separate water loops and meshing gears. The blue arc shows magnetizing state. Gear rotation illustrates transfer; the solved currents determine the actual winding flows.

Electrical

\begin{aligned}v_j&=\sum_\ell L_{j\ell}\frac{di_\ell}{dt}\\E&=\frac12\sum_j\sum_\ell i_jL_{j\ell}i_\ell\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p_j&=\sum_\ell L_{h,j\ell}\frac{df_\ell}{dt}\\E_h&=\frac12\sum_j\sum_\ell f_jL_{h,j\ell}f_\ell\end{aligned}
Native three-winding mechanism with three separate water loops, meshing toothed wheels and the blue magnetization arc.Native four-winding mechanism with four separate loops in a gear train and independently labeled winding fittings.
Explanation, symbols and example

Reading the mechanism

Each winding has its own water loop and terminals. The gears follow the strongest active winding with a smooth handoff. The blue arc indicates signed magnetizing state; a gear may rotate while an idle winding’s particles remain still.

Symbols and units

i_j,\,v_j
Current in A entering pⱼ; voltage in V measured pⱼ minus nⱼ.
n_j,\,L_1,\,k
Signed relative turns ratio, winding-1 inductance in H and dimensionless coupling, as for two windings.
L_{j\ell},\,L_{h,j\ell}
Electrical inductance matrix in H; hydraulic matrix in Pa s²/m³, with L_{h,j\ell}=(\alpha/\beta)L_{j\ell}
E,\,E_h
Electrical and hydraulic energy in J; E_h=\alpha\beta E

Example

A forward converter’s reset winding returns magnetizing energy to the input after the primary switch opens. The primary terminal current can stay zero as the blue arc shrinks.

Model limits

The meshed gear train uses a transfer convention, rather than the two-winding differential. Rigid wet paddles could not rotate without moving water, so gear speed alone is not a current or energy measurement. Saturation and material hysteresis are absent.

Matrix parameters

\begin{aligned}L_{jj}&=L_1n_j^2\\L_{j\ell}&=kL_1n_jn_\ell\quad(j\ne\ell)\\i_m&=\sum_jn_ji_j\end{aligned}

Memristor

The paddle wheel drives a gear and rack that move the restrictive plug. Forward flow opens the passage and lowers resistance; reverse flow closes it. With no flow, the plug retains its position.

Electrical

\begin{aligned}M(x)&=R_{\mathrm{on}}x+R_{\mathrm{off}}(1-x)\\v&=M(x)i\\Q_D\frac{dx}{dt}&=iF(x,i)\end{aligned}

Hydraulic analogy

\begin{aligned}M_h(x)&=\frac\alpha\beta M(x)\\\Delta p&=M_h(x)f\\\beta Q_D\frac{dx}{dt}&=fF(x,f/\beta)\end{aligned}
Native memristor at its starting state: a tapered plug restricts the narrow passage, connected by a rack to the exit paddle-wheel gear.Same memristor after forward programming: the plug retracts through its seal, enlarging the slot and lowering resistance.
Explanation, symbols and example

Reading the mechanism

The wet wheel drives a gear and rack. The retained plug position is x: positive a → b current retracts the plug and lowers resistance; reverse current extends it. At a hard stop the paddles can keep moving while the clutch slips.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
x,\,x_0,\,F
State, configured initial state and window function, dimensionless. 0\le x\le1
R_{\mathrm{on}},\,R_{\mathrm{off}},\,M
Low, high and instantaneous resistance in Ω. 0
Q_D
Charge scale in C, strictly positive; it is not volume flow.
M_h
Hydraulic resistance in Pa s/m³, equal to (\alpha/\beta)M

Example

R_{\mathrm{on}}=100\ \Omega, R_{\mathrm{off}}=5000\ \Omega and x=0.2 give M=4020\ \Omega. Forward programming lowers resistance; a zero-current interval retains the state.

Model limits

This educational HP/Biolek model has no threshold, read immunity, retention leakage, temperature dependence or realistic material switching physics. Read current can change the state. The device dissipates power; it does not store recoverable electrical energy. Save records configured x_0, not the playback state.

Power and boundaries

P=M(x)i^2\ge0

Hard stops use F=1 in the interior and F=0 when current would push beyond a stop. Reversing current immediately leaves the stop.

F(x,i)=1-\left[x-H(-i)\right]^{2p}

The optional Biolek window uses integer 1\le p\le20. The step function H(z) is 1 for z\ge0 and 0 otherwise. Zero current gives zero drift. Its state depends on history beyond total charge alone.

Pressure meter

Two sensing leads compare pressure. The bracket shows their difference, corresponding to the signed voltage reading. The ideal meter draws no current or volume flow.

Electrical

\begin{aligned}v_{\mathrm{meter}}&=V_a-V_b\\i_{\mathrm{meter}}&=0\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p&=p_a-p_b\\f_{\mathrm{meter}}&=0\\h&=\frac{\Delta p}{\rho g}\end{aligned}
Native pressure meter with two thin sensing leads a and b, two columns, a zero baseline and a bracket labeled with their signed voltage difference.
Explanation, symbols and example

Reading the mechanism

The sensing lines compare two points in one connected circuit. The fronts and black bracket visualize a difference: positive voltage raises the a column above the local zero, while negative voltage raises the b column.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
h
Differential pressure head in m; it is not an absolute tank level.
\rho,\,g
Water density 1000 kg/m³; gravitational acceleration 9.81 m/s².

Example

A 5 V difference means 500 Pa, or about 51 mm of water head before display scaling. Swapping the leads reverses the reading.

Model limits

The ideal electrical meter draws zero current. Height is scaled for readability. Both sensing leads must share a circuit reference; the solver rejects a meter spanning isolated circuits.

Flowmeter

The ideal ammeter measures current without a voltage drop. Its Pitot-style water column shows dynamic head; the numerical reading retains the flow direction.

Electrical

v_{\mathrm{meter}}=0

Hydraulic analogy

\begin{aligned}\Delta p&=0,\qquad f=\beta i\\u&=\frac f{A_p}\\h_{\mathrm{dyn}}&=\frac{u^2}{2g}\end{aligned}
Native in-line flowmeter with an upstream-facing Pitot tap, a single vertical dynamic-head column and a signed ampere reading.
Explanation, symbols and example

Reading the mechanism

The tap faces upstream; reverse flow selects the opposed tap. The column measures dynamic head and therefore stays nonnegative. The signed ampere reading supplies direction.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
u,\,A_p
Mean water speed in m/s and 20 mm-bore area in m²: A_p=\pi(0.01\ \mathrm m)^2
h_{\mathrm{dyn}},\,g
Dynamic head in m; gravitational acceleration 9.81 m/s².

Example

At 1 A, the water scale is 100 mL/s, about 0.318 m/s through the stated bore and 5.16 mm of dynamic head. At −1 A, head is unchanged and the sign reverses.

Model limits

The meter adds no modeled pressure loss. Its column has a visibility scale. The instrument bore does not set the resistance of the circuit’s pipes.

Fountain / hose load

The nozzle and collector represent a resistive load. Jet head shows the pressure drop; nozzle area adjusts with flow. Jet and falling-stream views obey the same electrical law.

Electrical

\begin{aligned}v&=Ri\\P&=Ri^2\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p&=R_h f\\h&=\frac{|\Delta p|}{\rho g}\\u_{\mathrm{jet}}&=\sqrt{\frac{2|\Delta p|}{\rho}}\\A_{\mathrm{jet}}&=\frac{|f|}{u_{\mathrm{jet}}}\end{aligned}
Native angled fountain nozzle with an arcing jet, head bracket, collector and return pipe; readings show voltage, current, water head and flow.Native falling-stream load view: a raised hose releases a stream into the same collector and closed return path.
Explanation, symbols and example

Reading the mechanism

The nozzle sends water into a collector that closes the return path. Jet head follows pressure difference; area changes with flow to preserve the resistive load law. The falling-stream view uses the same terminals and resistance.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
R,\,R_h
Electrical resistance in Ω; hydraulic resistance in Pa s/m³, with R_h=(\alpha/\beta)R
h,\,u_{\mathrm{jet}},\,A_{\mathrm{jet}}
Head in m, jet speed in m/s and nozzle area in m².
\rho,\,g
Water density 1000 kg/m³; gravitational acceleration 9.81 m/s².

Example

At 6 V across 12 Ω, current is 0.5 A. The water scale gives 600 Pa, 50 mL/s and about 61 mm head before visibility scaling.

Model limits

A fixed physical nozzle generally has a square-root pressure/flow relation. This adjustable nozzle illustrates a linear electrical resistor. The jet disappears at zero flow, and reversed flow mirrors the mechanism.

Inlet & outlet

IN and OUT are ideal two-terminal connections. They carry flow without a pressure drop and do not replace the supply or return path.

Electrical

\begin{aligned}V_a-V_b&=0\\i_{\mathrm{in}}&=i_{\mathrm{out}}\end{aligned}

Hydraulic analogy

\begin{aligned}\Delta p&=0\\f_{\mathrm{in}}&=f_{\mathrm{out}}\end{aligned}
Native IN connector: short straight passage with labeled a and b terminals and a signed current readout.Native OUT connector: the same two-terminal straight passage with an OUT label and signed current readout.
Explanation, symbols and example

Reading the mechanism

IN and OUT label flow-through fittings. The same current enters and leaves each fitting; neither creates a source, reservoir or open drain.

Symbols and units

v,\,i
Voltage difference in V; current in A. Positive current enters a (or p) and leaves b (or n).
\Delta p,\,f
Pressure difference in Pa; volume flow in m³/s, using the same reference direction.
i_{\mathrm{in}},\,i_{\mathrm{out}}
Entry and exit currents in A, for the same fitting.
f_{\mathrm{in}},\,f_{\mathrm{out}}
Entry and exit volume flows in m³/s.

Example

Replacing one of these fittings with an ideal wire preserves its electrical connection. Leaving a terminal unwired still leaves an incomplete circuit.

Model limits

The fitting stores no charge or energy and adds no contact resistance. It does not define an external hydraulic boundary condition.

What the picture promises

The electrical solver supplies the numbers, and the picture makes selected relationships visible. Ripple uses the finite R/L/C network and seeks four converged periodic cycles. Transients shows startup from zero capacitor/inductor energy and configured memory x₀. A run that does not settle reports that limitation.

Ideal uses a reduced periodic teaching reference where validated, otherwise ideal-device component dynamics. Reduced references can omit filter ripple and use cycle-averaged capacitor/node balances; do not apply an instantaneous KCL test to a deliberately averaged reconstruction. Explicit resistors and memory dynamics remain active. Compare ideal adds separate reference curves.

Leakage is a specific supported model

Finite magnetic coupling uses the signed matrix above, with the self-inductances fixed and mutual terms scaled by k. The automatic Leakage: Experimental mode is validated for recognized flyback and valid reset-forward circuits with positive DC excitation and automatic PWM. It derives an inspectable series RC snubber across the primary switch. The resistor dissipates energy; reducing k alone supplies no clamp. Unsupported requests explain the active fallback. Automatic leakage with a memristor or integrated primary body diode is not validated.

Symbols and units

In the RC snubber, C is capacitance in F, R resistance in Ω, iRC the series branch current in A and vC its capacitor voltage in V: vswitch = RiRC + vC, iRC = C dvC/dt. This derived circuit is separate from the ordinary component document.

Pressure colors, tracers, visual stops and geared motion are teaching aids. The model does not provide real fluid dynamics, core saturation, generic magnetic hysteresis, semiconductor recovery, thermal behavior or device ratings. Numerical integration and playback interpolation have finite error.

Further reading

The equations here describe the implemented model. These primary teaching and research sources provide background: