Block Diagram Simulator
Wire up sources, gains, integrators and transfer functions on a live canvas and watch the Scope respond — a browser-native alternative to Simulink, with real continuous-time RK4 under the hood.
Controls
A browser-native alternative to Simulink. Wire up sources, gains, integrators and transfer functions, then watch the Scope. Feedback loops solve because integrators break the algebraic loop.
Presets
Click a block on the canvas to edit its parameters.
Add block
Data Inspector
Effective dynamics
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
How it works
This is a block-diagram simulator in the spirit of Simulink, running entirely in your browser. Every block carries the semantics of a control-systems primitive: sources (Step, Sine, Constant) generate signals, algebraic blocks (Sum, Gain, Saturation) transform them instantly, and state-holding blocks (Integrator 1/s and first-order Transfer Function 1/(τs+1)) carry memory. On each fixed step the solver evaluates the algebraic blocks in dependency order, then advances every integrator and transfer-function state with a fourth-order Runge–Kutta (RK4) step. Because those state blocks introduce a delay, closed feedback loops are solvable — that is exactly why a PID loop or a mass–spring–damper works — while a pure algebraic loop with no integrator is flagged as unsolvable. Load a preset to see a correct wiring (first-order lag, closed-loop PID, harmonic oscillator, mass–spring–damper), tune the gains and time constants to watch rise, overshoot and settling change in real time, then export the exact system as runnable SciPy Python. It is an alternative to Simulink for learning and quick modelling — not a replacement for a validated production toolchain.
Ask the AI about this model
The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.