Electrical, hydraulic, pneumatic and rotational mechanical networks.
Choose equipment, then tap the board to place it. Tap a port, then another port to make a connection, or choose exact endpoints with Connect ports. Add a junction to split a path. A crossing line is never a connection by itself.
Tap a part to adjust it. Drag it to move, or select Move and tap a new position. Drag a line segment to shift it sideways. Select a line for segment and bend handles, or choose Automatic route to reset it. The endpoints remain attached. Escape cancels an unfinished drag. Routing is saved with the network and can be undone. Tap a line to select and delete it. Undo restores the previous edit. Drag with Pan enabled to move the view; use +, − and Fit view to zoom.
Save JSON downloads your network. Load JSON restores a saved network. Your last edit is also kept in this browser; nothing is sent to a server. Domain changes preserve the circuit and reset simulation time. JSON stores initial conditions, not a running energy-state checkpoint.
Loads resist a through-quantity; nodes share an across-quantity. Through-quantities balance at a junction. A source raises the across-quantity; storage accumulates energy; a one-way part permits only one direction.
A normal open reservoir is the pressure reference, not an electrical battery. A battery is a chemical energy store with a voltage characteristic; this first version uses an adjustable source and a separate capacitor-like storage element. Hydraulic accumulators and compressed-air receivers are the useful stored-energy analogues.
The mechanical mode uses the mobility analogy: angular speed maps to voltage, torque to current, and inertia to capacitance. A shaft is not a pipe carrying angular speed. This is not the alternative torque–voltage analogy. A flywheel’s B port must connect to the fixed-frame reference.
Pressure is gauge pressure. Hydraulic resistance is linear; air storage uses constant, linearized compliance. No compressible mass balance, temperature changes, choking, turbulence, cavitation, leaks, electrical inductance, motor electromagnetics, gear ratios, backlash, slip heating or structural dynamics are modeled.
Sources have finite internal resistance, so a short draws large but finite flow. No automatic overcurrent or pressure protection is implied. Ideal connectors have no drop; redundant wire loops have no uniquely determined individual current. Floating networks get a numerical datum and a warning, not an invented physical return.
A and B identify each part’s ports. “Across” is A minus B. Positive “through” travels A → B. A delivering source normally has negative A → B flow because its output leaves A. Blue/orange show positive/negative node value; arrows show actual through-direction, independently of that color.
One simulation unit of pressure is 100 kPa; one flow unit is 1 L/s. Thus one model power unit is 100 W for both fluid modes. Electrical and mechanical model power units are 1 W. Switching modes keeps the network pattern and numerical coefficients, not a claim that identical hardware has identical SI ratings.
Storage is solved with backward Euler at 0.05 s per simulation step. This stable method slightly damps transients. Pause freezes stored state; paused edits use a 1 microsecond look-ahead to estimate instantaneous flows without advancing the stored state or clock. Reset time restores each store’s initial state and each device’s initial position.
Landing gear, flaps and speed brakes are generic actuator loads, not aircraft-specific hardware. Set a command from 0% retracted to 100% extended. Their actual position changes at a finite rate only with sufficient supply. Electrical motion is voltage/power limited; fluid motion is pressure/flow/power limited; rotational motion is shaft-speed/torque/power limited. Each active command draws a passive input load, including when stalled. At the target an ideal lock holds position and opens the input. Command reversal uses an ideal internal controller, so A must remain above B. Supply loss holds position: no free fall, gravity, aerodynamic return, back-driving or regenerative behavior is implied. Source, switch and storage connections can stop or sustain motion.
Original educational code and diagrams. Underlying conventions: MathWorks physical-network principles, rotational inertia, and capacitor equations. This is an educational simulation, not an engineering design or safety-validation tool.