Advanced numerical simulation environment for analyzing rotor angle stability, voltage dips, and emergency control schemes. Built for precision. Engineered for scale.
Calculation Step Time
Buses Modeled Concurrently
High-Performance Backend
Comprehensive toolkit for static and dynamic stability assessment under N-1 and N-2 contingencies.
Solve multi-machine swing equations utilizing modified Euler and Runge-Kutta 4th order methods. Track rotor angles, speeds, and electrical power output under severe short-circuit faults.
Model sophisticated wide-area protection schemes. Simulate relay logic, load shedding algorithms, and fast valving maneuvers to maintain grid synchronism.
Detailed modeling of Automatic Voltage Regulators (AVR) and turbine governors. Analyze primary and secondary frequency response following generation loss.
The core of eu.transpowermod.pw relies on a bespoke C++ engine optimized for solving sparse algebraic and differential equation sets.
// Generator Model - Swing Equation Integration
void SynchronousMachine::updateState(double dt) {
double P_e = calculateElectricalPower(delta, V, theta);
double P_a = P_m - P_e - D * (omega - omega_s);
// Runge-Kutta 4th Order Implementation
double k1_omega = (omega_s / (2.0 * H)) * P_a;
double k1_delta = omega - omega_s;
/* Intermediate steps omitted for brevity */
this->omega += (k1_omega + 2*k2_omega + 2*k3_omega + k4_omega) * dt / 6.0;
this->delta += (k1_delta + 2*k2_delta + 2*k3_delta + k4_delta) * dt / 6.0;
if (this->delta > M_PI) {
triggerOutofStepProtection();
}
}
Monitor system variables in real-time as the simulation progresses.