DATACENTER TWIN LAB

The power playbook / 24 practical lessons

Power Systems for Datacenter Engineers

A generator fails. The battery takes over. Can you predict when the lights go out?

Start with a 1 MW load and a 100 kWh battery, then change one assumption at a time. Read the calculations here, run each experiment in your browser, and compare the result with the reference Python engine.

Original course by Mohammad Rezwan Khan · Engine 2.0.1 · Reference results and citation records

Try the battery experiment →

Free · no accountBrowser + PythonPredict · run · explain

Find your next question

The learning library

12 continuity lessons · 12 infrastructure lessons · 1 EMT study · 5 advanced studies.
Scenario presets are a separate collection.

Continuity

12 course lessons

EMT

1 separate study

Power dynamics

5 advanced studies

Infrastructure Engineering

12 course lessons
Lesson 13 / 24

Build an evidence-controlled load ledger

Keeping 6.2 MW cooling unchanged, can the revised design ratio accommodate the ledger?

Begin where the original course leaves off: not with a bigger battery, but with a more disciplined definition of demand. A facility total is meaningful only when every term belongs to the same boundary and operating condition. In this lesson, a 20 MW IT allocation becomes a traceable facility ledger, while a second example demonstrates why conflicting source values must remain visible.

Lesson 14 / 24

Test capacity, paths and common dependencies

Does one spare still leave enough usable capacity?

The existing lessons show how a surviving path or shared controller can govern electrical service. Now extend that intuition into a state matrix. Installed equipment, connected equipment and independently substitutable equipment are different sets. A spare counts only when it can reach the required load in the state being assessed.

Lesson 15 / 24

Declare transformer and fault-current boundaries

What changes when the upstream source is idealized as infinite?

A current value without its voltage, power base and network boundary is easy to misuse. This lesson builds a small equivalent circuit in layers, then shows how changing an assumption changes a fault-current screen. The purpose is to expose model limits before equipment selection, not to turn an attractive fault animation into a completed short-circuit study.

Lesson 16 / 24

Audit generator banks and usable fuel

Does thirteen installed per side close the capacity screen?

The original startup lessons ask whether a generator becomes available in time. This lesson asks a different question: can the available bank carry the backed load at all? Follow a source claim through its real-power conversion, post-loss capacity and fuel ledger. A failed arithmetic claim should stay failed even when the combined installed nameplates look impressive.

Lesson 17 / 24

Separate UPS power, battery energy and trip DC

How do the energy screens change at the same output power?

The battery lesson already distinguishes reserve from ride-through. Now separate three further boundaries: AC output energy, delivered DC energy and nominal end-of-life storage. Then examine the protection DC circuit, where enough ampere-hours can coexist with insufficient voltage at the device that must operate.

Lesson 18 / 24

Trace protection zones and the full trip chain

What happens near the pickup boundary?

Protection is not a green status field at one current. It is a chain from the actual fault through measurement, logic, DC supply and interruption. Use a declared inverse-time curve to learn how a calculation behaves, then inspect what that curve cannot establish about CT saturation, electrical zones or selectivity.

Lesson 19 / 24

Inspect grounding, distortion and control-power loops

What changes if the fundamental current falls while harmonics and reference demand stay fixed?

Low resistance, low distortion and a nominal battery voltage each answer only a narrowly defined question. This lesson turns those single numbers into explicit boundaries. Follow the ground current, compare harmonic denominators, and include the return conductor in the trip circuit before drawing any conclusion about service.

Lesson 20 / 24

Coordinate liquid cooling and thermal ride-through

How much room heat remains at the new rack boundary?

Battery minutes do not create cooling minutes. Start with the manuscript’s mixed-cooling rack, then move to a separately labelled facility thermal model. The visual goal is to make both heat paths and their shared rejection boundary visible, so that the learner never mistakes a liquid-cooled label for complete removal of room heat.

Lesson 21 / 24

Separate physical routes, optical budgets and fabric capacity

Does one uplink failure change the optical budget of the remaining channel?

Two fibres are not automatically two independent services, and a low optical loss is not automatically an application pass. Separate the physical administration route from the logical fabric, then calculate a narrow loss budget and post-uplink-loss capacity. The lesson adds communications reasoning without pretending that the existing electrical simulator already models packets.

Lesson 22 / 24

Review spatial capacity and phased development

What average pressure does the new rack screen produce?

A rack count is not a facility plan. Equipment requires service space, replacement routes, structural capacity and coordinated boundaries through every construction phase. Use the manuscript’s historical operating account to practise reporting what was actually stated without turning different area descriptions into one misleading density metric.

Lesson 23 / 24

Build an integrated commissioning evidence loop

Which teaching constraint fails when staged restoration takes 23 s?

A completed component test answers a component question. Integrated continuity requires an initial state, expected sequence, instruments, acceptance criteria, stop conditions and recovery boundary that span the service chain. Compare two clocks, then examine the measurement boundary behind an apparently precise efficiency number.

Lesson 24 / 24

Audit the correction before releasing the design

Does correcting the transformer count close the whole design?

The final lesson asks for a justified release decision, not the largest possible green score. Bring capacity, connectivity, protection, thermal behaviour, controls and evidence together. Then audit a proposed correction from the manuscript’s separate campus example: a remedy is another engineering assertion and must be recalculated.

All five power-dynamics studies share one overview; each experiment opens its own configuration. Learning-content manifest and source hashes.

From system to explanation

See what each model can tell you

Illustrative relationships, not a replay of solver results. Open a lens to reveal a reviewed explanation. Only Run experiment opens the numerical model.

Continuity / system view

Trace a path. Account for the energy.

Continuity: illustrative system relationshipsUtility, generator and finite battery supply feed distribution paths to the IT load. The path block aggregates the modeled topology; individual lessons expose parallel paths and shared failures. Availability and capacity determine what reaches the load.UtilityGeneratorBatteryPaths (aggregate)IT load

Utility, generator and finite battery supply feed distribution paths to the IT load. The path block aggregates the modeled topology; individual lessons expose parallel paths and shared failures. Availability and capacity determine what reaches the load.

Static diagram. No simulation is running.

Four lenses / select to explore

01 Physical

Utility, generator and finite battery supply feed distribution paths to the IT load. The path block aggregates the modeled topology; individual lessons expose parallel paths and shared failures. Availability and capacity determine what reaches the load.

02 Model

Power is measured in kW and energy in kWh. For the charging-disabled 1 MW example: 100 kWh × 0.90 × 0.95 ÷ 1,000 kW × 3,600 s/h = 307.8 s of ride-through. The outage starts at 300 s, so depletion occurs at 607.8 s elapsed. Lesson 12 uses a separate annual PUE ledger; it is not an outage simulation.

03 Verification

Compare the applied input and full result with the reference Python engine. The canonical evidence packet and lesson default/challenge records make software reproduction inspectable. Agreement between implementations does not calibrate a facility.

Read the guide, evidence and sources →
04 Decision

Use the result to explain finite reserve and failed supply paths. It does not predict GPU jobs, grid adequacy, transient voltage or certified uptime. A real facility requires equipment data and qualified engineering review.

EMT / system view

Stored energy changes the voltage response.

EMT: illustrative system relationshipsAn ideal DC source feeds a series resistor and inductor. A capacitor and constant-resistance load share the bus. This is a DC-equivalent teaching circuit.Ideal DC sourceR + LDC busCapacitorResistive load

An ideal DC source feeds a series resistor and inductor. A capacitor and constant-resistance load share the bus. This is a DC-equivalent teaching circuit.

Static diagram. No simulation is running.

Four lenses / select to explore

01 Physical

An ideal DC source feeds a series resistor and inductor. A capacitor and constant-resistance load share the bus. This is a DC-equivalent teaching circuit.

02 Model

L di/dt = Vsource − R i − Vbus; C dVbus/dt = i − Vbus/Rload. The source falls at 40 ms and recovers at 120 ms in a 200 ms study. Internal units are A, V, s, Ω, H and F. Integration steps and plotted samples are different.

03 Verification

Inspect the signed energy ledger, compare JavaScript with Python and halve the integration step. Analytic and step-refinement checks test the numerical implementation. They do not establish PSCAD equivalence or measured calibration.

Read the guide, evidence and sources →
04 Decision

Explain how inductance, capacitance and resistance shape a voltage sag. The ideal source may absorb reverse current, and there is no diode or voltage clamp. Converter switching, protection and an actual facility are outside this circuit.

Power dynamics / system view

Follow states, modes and interacting ports.

Power dynamics: illustrative system relationshipsThe five studies explore converter chains, small-signal modes and a modified nine-bus network. This relationship map is not a single electrical wiring diagram.Load requestConverter statesPCC responseLinearizationGrid ports

The five studies explore converter chains, small-signal modes and a modified nine-bus network. This relationship map is not a single electrical wiring diagram.

Static diagram. No simulation is running.

Four lenses / select to explore

01 Physical

The five studies explore converter chains, small-signal modes and a modified nine-bus network. This relationship map is not a single electrical wiring diagram.

02 Model

For a linearized eigenvalue λ = σ + jω, frequency is |ω|/(2π) Hz and damping ratio is −σ/√(σ² + ω²). Per-unit values use the documented model bases, not an automatic conversion to MW. Converter and network formulations remain separate studies.

03 Verification

Read applied settings, solver completion, residuals and recorded tolerances. The owner-supplied Python studies were adapted; original MATLAB models and a measured GPU trace were absent. Historical v1.0.0 release assets predate these studies.

Read the guide, evidence and sources →
04 Decision

A converged power flow does not imply dynamic stability. A local mode does not certify a whole operating envelope. The spectrum input is synthetic, the nine-bus case is modified, and none of these studies validates equipment or controls it.

Build your power-systems intuition

For datacenter engineers learning power continuity. Begin with power and energy, work through outages and shared failures, then compare aggregate AI demand and annual PUE planning. Basic arithmetic is enough to start.

Halving stored energy halves ride-through in the charging-disabled caseAt 1,000 kW, 100 kWh supplies 307.8 seconds; 50 kWh supplies 153.9 seconds after discharge and distribution losses.BATTERY RESERVE → DELIVERED TIME AT 1 MW100 kWh50 kWh307.8 s153.9 sCharging disabled · 90% discharge efficiency · 95% distribution efficiency
Original calculation diagram. Duration starts at the utility outage; it is not an elapsed event timestamp.

Go inside a voltage sag

Ready for a different timescale? The separate EMT fundamentals study explores a 200 ms ideal DC-link RLC transient with waveforms, an energy ledger and step-refinement checks. Continue with five advanced power-dynamics studies of converter response and grid modes.

What the continuity lessons establish

These are deterministic synthetic electrical examples with explicit units, input scenarios and downloadable results. They teach reserve accounting and failure-path reasoning. They do not predict GPU jobs, grid adequacy, electrical transients or certified facility uptime.

Read about the author, model scope and reproducibility evidence →

Website source revision: 4878472c4d6c. The engine version does not identify every study model; see each guide and applied result.