Tech4Biz Wiki

ridethrough: an open grader for data center voltage ride-through claims

A facility describes its equipment; ridethrough applies the disturbance a grid code requires and says whether the facility stays on.

ridethrough
Class Grid-code conformance grader
Language Python, no dependencies
Licence MIT
Repository published October 2026
Latest release 0.6.0, 24 October 2026
Install From source: pip install -e ".[dev]"
Codes graded ERCOT Nodal Operating Guide Sections 2.15 and 2.6.4; Energinet Technical Regulation 3.4.3
Author Yasha Khandelwal
Record DOI 10.5281/zenodo.23622860
Source GitHub

A facility describes its equipment; ridethrough applies the disturbance a grid code requires and says whether the facility stays on.

A large data center protects its own equipment first. When grid voltage dips for a fraction of a second, its protection can trip and the whole load can leave the grid at once. Grid operators now write ride-through into their rules. ERCOT has required it of Large Computational Loads since 1 August 2026, in Nodal Operating Guide Section 2.15.

There has been no open, reproducible way to check whether a ride-through claim holds up. ridethrough is that check. It produces evidence. It does not issue compliance approval, and nothing in it is a measurement of a real facility.

What goes in and what comes out

You describe a facility in a small JSON file: rated power, power supply hold-up time and current limit, an optional UPS and battery, and the protection settings. ridethrough then applies each disturbance the chosen code requires, held for the longest time the code allows at that depth, which is the worst case the code actually requires.

For every disturbance it reports whether the facility rides through. If not, it names the obligation that failed and the piece of equipment that gave up first. The example below is an invented 80 MW site with no UPS, graded against ERCOT.

Sag depth (pu) Held for Result What gave up first
0.85 2 s Passes
0.80 2 s Trips Undervoltage protection
0.75 0.5 s Trips Undervoltage protection
0.50 0.5 s Trips Server power supply undervoltage lockout
0.45 0.25 s Trips Server power supply undervoltage lockout
0.35 0.25 s Trips Server power supply undervoltage lockout
0.30 0.15 s Trips Server power supply undervoltage lockout
0.00 0.15 s Trips Server power supply undervoltage lockout

There are four verdicts: rides through, trips, not required (the disturbance fell outside the envelope, which is not a failure), and error (the run tested nothing, and is never reported as a pass).

The codes

Code Source What differs
ercot ERCOT Nodal Operating Guide Sections 2.15 and 2.6.4, effective 1 August 2026 Caps the current a facility may draw during a disturbance at 150% of normal
ercot-2028 Same, with Section 2.15(3)(c)(ii) Moves the floor below which a facility may stop drawing power from 0.80 pu to 0.50 pu, for facilities qualifying after 1 January 2028
energinet Energinet Technical Regulation 3.4.3, Revision 1, effective 1 November 2024 Permits current blocking and sets no current ceiling

The current limit is the difference that matters. A facility that satisfies one code on current has told you nothing about the other. Frequency ride-through under ERCOT Section 2.6.4 is graded separately, because the rule is separate.

Repeated sags

ERCOT Section 2.15(7) requires a facility to ride through each of a series of sags separately. A site with a scheme that transfers to backup after four sags in a minute passes every single-sag test and still fails the series. ridethrough reproduces that from first principles and splits a trace into separate excursions so that six short sags are never read as one long one.

The reclosing pattern it uses takes its magnitude, duration, count and delays from a Dominion Energy presentation to the ERCOT Large Load Working Group on 15 October 2026. The placement of the individual sags is the project's own.

Where the numbers come from

Every ERCOT value is transcribed from the published rule. Two scripts in the repository check each value against the rule text, and they run in CI. The same check confirms that the values from the earlier draft of the rule are absent. The two definition thresholds taken from Nodal Protocols Section 2.1 and the Energinet values are not covered by those scripts. The repository holds 202 tests, and they check simulated trip times against the stored-energy arithmetic and not against recorded output.

Limits

ridethrough is an averaged model that carries energy and power at the millisecond scale. It does not resolve point-on-wave switching, harmonics or sub-cycle protection behavior, and it does not validate converter models against hardware. For anything faster than ten milliseconds, an electromagnetic transient solver is the right tool.

Seven clauses of the ERCOT rule are declared out of scope with a reason on each, and four places where the rule does not settle how it applies are reported as open questions and not resolved. One reading is the project's own and has not been confirmed by ERCOT: for an arbitrary trace, the disturbance stays inside the envelope if, for every band, the total time spent below that band's upper edge does not exceed that band's minimum ride-through time. Not yet covered: Energinet's LFSM-U requirement in Section 13 and its phase jump requirement in Section 9.

Use it

In CI, one step fails the build if any disturbance trips the facility. To have a facility graded and published, open a "Submit a facility" issue. The shape, the verdicts and the trip drivers are published. The site name, location and operator are not, unless you ask for them to be, and nothing goes up until you have confirmed the reproduced numbers.

See also

Sources