Power Stations
Validate combined-cycle turbine-generators, AVR and governor dynamics, 400 kV breaker-and-a-half GIS switchyards, and grid-forming black-start BESS against IEC 61850 SV/GOOSE and COMTRADE fault waveforms in one deterministic twin.
CCGT generation, 400 kV GIS, and black-start BESS coupled in lockstep
TwinControl binds the gas turbine, HRSG, steam turbine, 21 kV generator, AVR/governor loops, GSU transformer, 400 kV three-breaker GIS bays, and black-start BESS inside a single lockstep solver—supporting 1x hardware-in-the-loop relay benches and 100x+ virtual protection sweeps.
SCL-driven IEC 61850 bays and relay coordination
Import IEC 61850 SCL engineering files directly into live single-line bays so GOOSE interlocking, 9-2LE sampled values, DNP3, IEC 60870-5-104, and IEEE C37.118 synchrophasor streams bind natively to IEC 60909 short-circuit studies across the 400 kV GIS and IEEE 1584 arc-flash incident-energy boundaries on <= 15 kV plant auxiliary switchgear.
- IEC 61850 SV/GOOSE
- IEEE C37.118
- NERC PRC-024 / PRC-029
- ENTSO-E RfG (50 Hz)
- NERC MOD-026 & MOD-027
- NERC PRC-005
- IEC 60909 & IEEE 1584 (<= 15 kV Aux)
COMTRADE fault replay, ride-through logic, and black-start commissioning
Inject recorded COMTRADE disturbance waveforms into the emulated switchyard, verify both bus-side and mid breaker clearing sequences on breaker-and-a-half diameters, and validate deterministic local LVRT reactive current injection alongside clamped 4% BESS frequency droop on the fast protection/vPLC slice—active during black-start restoration and kept strictly separate from supervisory dispatch governed by Guardrail shadow qualification.
script CcgtAndBessRideThrough {
requires capability::ReadTelemetry;
requires capability::ShadowSimulate;
requires capability::ProposeWrite(scope: "bess-gis.supervisory.*");
fn governor_droop_kw(freq: Quantity<Hz>, f_nom: Quantity<Hz>) -> Quantity<kW> {
// 4% droop (0.04 * f_nom: 2.40 Hz at 60.0 Hz, 2.00 Hz at 50.0 Hz) across 50 MW BESS, clamped to ±50 MW
let raw_kw = ((f_nom - freq) / (0.04 * f_nom)) * 50000.0 kW;
if raw_kw > 50000.0 kW {
return 50000.0 kW;
}
if raw_kw < -50000.0 kW {
return -50000.0 kW;
}
return raw_kw;
}
fn lvrt_reactive_iq(v_pu: f64) -> f64 {
// Dynamic LVRT reactive current injection (NERC PRC-024 / PRC-029)
let iq = (0.90 - v_pu) * 2.5;
if iq > 1.0 {
return 1.0;
}
if iq < 0.0 {
return 0.0;
}
return iq;
}
// Deterministic local protection / vPLC slice: executes LVRT & droop with zero supervisory gate
// Active both during online operation and black-start restoration (no GT MW gate)
on fast_slice(twin::point<"gis-400kv.bus1_freq">) (fuel: 180) {
let f_bus = twin::point<"gis-400kv.bus1_freq">.read();
let v_bus = twin::point<"gis-400kv.bus1_voltage_pu">.read();
if v_bus < 0.88 {
let iq_pu = lvrt_reactive_iq(v_bus);
twin::vplc_write("bess-gis.local_iq_pu", iq_pu);
twin::event::emit("grid.lvrt.iq_injected", "local_vplc_active");
} else if v_bus >= 0.90 {
twin::vplc_write("bess-gis.local_iq_pu", 0.0);
twin::event::emit("grid.lvrt.iq_cleared", "voltage_recovered");
}
if f_bus < 59.95 Hz || f_bus > 60.05 Hz {
let bess_cmd = governor_droop_kw(f_bus, 60.0 Hz);
twin::vplc_write("bess-gis.local_droop_kw", bess_cmd);
twin::event::emit("grid.droop.engaged", "local_vplc_active");
} else {
twin::vplc_write("bess-gis.local_droop_kw", 0.0 kW);
twin::event::emit("grid.droop.cleared", "within_deadband");
}
}
// Supervisory dispatch / setpoint adjustment: governed by Guardrail shadow qualification
on change(twin::point<"bess-gis.soc_pct">) every >= 5s (fuel: 220) {
let soc = twin::point<"bess-gis.soc_pct">.read();
if soc < 35.0 {
let plan = guardrail::plan_mutation(
"bess-gis.supervisory.recharge_sp_kw",
12000.0 kW,
"Post-disturbance BESS reserve restoration"
);
if twin::shadow_qualify(plan, 20s) {
guardrail::apply(plan);
}
}
}
}fault_replay GIS_400kV_Line1_Phase_A_Ground {
scl_model = "/substation/400kv_gis_breaker_and_half.scd";
comtrade_capture = "/disturbances/line1_ag_fault_2026.cfg";
streams = ["IEC 61850-9-2LE SV", "IEC 61850 GOOSE", "IEEE C37.118 PMU"];
assert relay("REL-87L-BAY1").trip_asserted == true;
assert breaker("CB-401-BUS1").mechanical_open_cycles <= 2.0 cycles;
assert breaker("CB-401-MID").mechanical_open_cycles <= 2.0 cycles;
assert breaker("CB-401-BUS1").total_fault_clearing_cycles <= 3.0 cycles; // relay operate + breaker interrupt + arc extinction
assert breaker("CB-401-MID").total_fault_clearing_cycles <= 3.0 cycles;
assert avr("CCGT-U1-AVR").field_forcing_ceiling_pu >= 1.6;
}Continuous MOD-026 / MOD-027 validation and ISA-101 plant operations
In live operation, TwinControl compares incoming IEEE C37.118 synchrophasors and MMS telemetry against the continuous twin model to detect excitation (MOD-026) and turbine-governor (MOD-027) model drift, suppress cascading switchyard alarms, and maintain audit-ready NERC PRC-024 / PRC-029 (60 Hz), ENTSO-E RfG (50 Hz), MOD-026, MOD-027, and PRC-005 dossiers.
Grid code and NERC reliability compliance
| Standard | Compliance scope | TwinControl verification mechanism |
|---|---|---|
| NERC PRC-024 / PRC-029 (60 Hz) & ENTSO-E RfG (50 Hz) | Generator and inverter-based resource (BESS) frequency and voltage ride-through boundaries, including dynamic LVRT reactive current injection | Inject COMTRADE low-voltage and off-frequency transients across 100x+ virtual runs to verify LVRT reactive current support and confirm relays never trip inside the applicable no-trip zone. |
| NERC MOD-026 | Verification of models and data for generator excitation control (AVR) and plant volt/var systems | Diff simulated generator terminal voltage, reactive power, and field forcing directly against live IEEE C37.118 PMU disturbance captures. |
| NERC MOD-027 | Verification of models and data for turbine-governor, load-control, and active power-frequency response systems | Compare modelled shaft speed, valve position, and active-power droop trajectories directly against recorded grid frequency events. |
| NERC PRC-005 | Protection system, automatic reclosing, sudden pressure relaying, and station DC control battery maintenance programme | Track IEC 61850 GOOSE/SV test injections, breaker clearing waveforms, station battery impedance and voltage-drop checks, and cryptographic maintenance test dossiers. |
| IEC 61850, IEEE C37.118 & IEEE 1584 (<= 15 kV Aux) | Substation configuration, high-rate sampled values, GOOSE interlocking, synchrophasor telemetry, and <= 15 kV auxiliary switchgear arc-flash boundaries | Import SCD/CID files directly into symmetric relay and merging-unit emulators with asset-correlated wire trace and UAT auxiliary switchgear arc-flash checks. |

