Appearance
Sample gallery
Every sample is one click away. Open it in the editor, run it, or save your own modified copy.
BergeronDemo
A travelling-wave (Bergeron) transmission line showing how a step propagates and reflects.
Control Loop Delay
A stopwatch for the engine: a square-wave command opens and closes a breaker, and the load current comes back into the control domain, so you can count the exact number of time steps each domain crossing costs.
Full Bridge Rectifier
A full-bridge (Graetz) rectifier that converts AC to DC with four diodes.
Generator Controls Disturbance
A synchronous machine with IEEE DC1A excitation and a TGOV1 governor riding through a 100 ms bolted three-phase fault.
Half Bridge Rectifier
A half-wave rectifier that turns an AC source into a rough DC level.
Induction Machine Motoring
A 1 MVA, 480 V induction machine driving a constant 0.4 pu load torque — the motoring operating point.
Line Open Short
The two extreme line terminations — open and short — showing voltage doubling and cancellation.
Multirate Counter
Free-running digital counters ticking at different rates, organized with subsystems.
Pwm Power Control
A closed-loop PWM power controller that holds its output at a setpoint with a PID.
Pwm Subsystem
A closed-loop PWM power regulator with its controller wrapped in a reusable Subsystem.
Rc Charging
Charging of a series R-C circuit — capacitor voltage rising toward the source with time constant τ = RC.
Rl Step Response
Step response of a series R-L circuit — current rising toward V/R with time constant τ = L/R.
Rlc Series Step
Step response of an underdamped series R-L-C circuit — ringing and overshoot before settling.
Short Line Pi
A line short enough that its travel time falls below the time step, so it is modelled as a lumped π section.
Sync Machine Load
A 100 MVA synchronous machine on a stiff 13.8 kV bus, exporting into a local PQ load.
Sync Machine Short Circuit
A bolted three-phase fault on the terminals of an unloaded machine — the test that
Transformer Energization
No-load energization of a saturable 230/115 kV transformer — magnetizing inrush and its decay.
Transformer Sc Test
The classic short-circuit test: shorted secondary, reduced primary voltage, and a
Voltage Divider
A two-resistor voltage divider — the smallest circuit in the library and a good first run.