Hydroelectric Dam Control Room (2D)

Run the turbines, open the spillway and hold the grid at 50 Hz while the reservoir fills and empties.

Electric Output
0MW
0450
Grid Frequency
50.00Hz
495051
Reservoir Level
0m
80flood 123130
Turbine Flow
0m³/s
0600

Power Setpoint

300 MW
Target for the units on the grid. Droop and AGC adjust around it.

Governor Mode

Manual holds the setpoint; droop answers frequency; AGC also restores 50.00 Hz.

Spillway Gates (open %)

0G1
0G2
0G3
Grid Frequency0
Reservoir Level0
Electric Output0
Flows: in / turbine / spill0

Operations

Simulated time runs faster than real time so hours of reservoir filling pass in minutes. Time:

Generating units

Start spins the unit up to synchronous speed with the gates; Synchronise closes the breaker only inside a 0.6 % speed window (like a real synchroniser).

Live plant data

Alarms and protection

Events

Missions

Independent numerical checks

Reference

The science

Reservoir. Volume V = Vf (h/hf)2.5 (a valley that widens upwards), so the surface area is A = dV/dh and the level follows the mass balance A(h) dh/dt = Qin − Qturbines − Qspill − Qeco. Stored energy relative to the tailwater is ρ g η ∫(h(v) − htail) dv, about 23 GWh here: roughly two days of one full-power station.

Penstock. The water column is treated as rigid: L/(gA) dQ/dt = Hgross − kpQ² − (Q/(Cga))², where the last term is the head at the turbine gate (orifice law Q = Cg a √H). Each time step is advanced with the exact solution of this Riccati equation. The turbine head rising above the static head when the gate closes is the water-hammer pressure rise; the elastic wave speed (Korteweg-Joukowsky, about 930 m/s) is shown for reference, the full wave dynamics are not simulated (closing times of 8-10 s are much longer than 2L/a = 0.7 s).

Francis turbine. P = ηt ρ g Q H, ηt a parabola around the best-efficiency gate (80 %) with a head correction; generator efficiency 98.5 %. The Thoma cavitation number σ = (Hb − Hv − Hs)/H is compared with σc = 7.54×10−5 ns1.41, ns = N√P/H5/4. Gate openings of 28-50 % are flagged as the vortex-rope (rough) zone.

Spillway. Three radial gates of width 15 m over a sill at 105 m: Q = (2/3) Cd b √(2g) (H13/2 − H23/2) with Cd = 0.62, which turns into the free weir formula when the gate is lifted clear. The drawn jet leaves the ski-jump lip at 0.85 √(2gΔh).

Grid. One-area swing equation M df/dt = ΔP with M = 600 MW·s/Hz (about a 3000 MW grid, H = 5 s), load damping 2 % per %, other generation with 5 % droop and a 3 s lag, secondary control on a 2-minute time constant. The hydro governor is droop (R = 5 %) with a 6 s transient filter, optionally with an integral AGC term. Without the filter the water-hammer non-minimum-phase response makes the loop oscillate, which is why real hydro governors use transient droop.

Simplifications, stated honestly. The section is a composite sketch (a spillway bay and a power bay drawn in one plane); one lumped reservoir, three identical units each with its own penstock model, no sedimentation, no evaporation, rounded textbook coefficients, a single-area grid with no network losses, rigid water column instead of full wave propagation, constant tailwater rating. Dimensions are illustrative and not those of a real dam; no affiliation with any operator or manufacturer.

Backdrop and equipment: modelled and rendered in Blender (Cycles); dynamics, physics and interface: HTML Canvas 2D and JavaScript.

Hydroelectric power simulator: head, gate opening and turbine load

This 2D control room shows a concrete dam cross-section with a reservoir, penstock, Francis turbine, generator and spillway. The power of a hydroelectric plant is P = η ρ g Q H: more head or more flow gives more electricity. Open the turbine gates to raise the output, watch the reservoir level fall, and open the spillway gates when a flood arrives. The generators are locked to a power grid whose frequency rises and falls with the balance between generation and demand, so the governor mode matters as much as the water.

Made with 🟠 Blender