Disturbances
Disturbances define the sequence of events during a dynamic simulation. All disturbance commands follow the format:
time(s) COMMAND parametersContinue Solver
Section titled “Continue Solver”Defines solver settings. Must be the first line of the disturbance file:
time(s) CONTINUE SOLVER disc_meth max_h(s) min_h(s) latency(pu) upd_overDiscretization method (disc_meth):
TR— TrapezoidalBE— Backward EulerBD— BDF2
Jacobian update override (upd_over):
ALL— Update all injectors and networkNET— Update only networkABL— Update only injectorsIBL— Update all injectors and networkNOT— Do not override
Example:
0.000 CONTINUE SOLVER BD 0.0200 0.001 0. ALLSignals the end of the simulation. Must be the last line:
time(s) STOPExample:
100.000 STOPTrip Line (BREAKER BRANCH)
Section titled “Trip Line (BREAKER BRANCH)”Open or close breakers of a line:
time(s) BREAKER BRANCH name_of_line orig_break(0/1) extrem_break(0/1)Example — opening both ends of a line at s:
10.000 BREAKER BRANCH 1044-4032 0 0Trip Machine / Injector
Section titled “Trip Machine / Injector”Open or close the breaker of a synchronous machine or injector:
time(s) BREAKER SYNC_MACH name_of_machine breaker(0/1)time(s) BREAKER INJ name_of_injector breaker(0/1)Example:
10.000 BREAKER INJ L_11 0Three-Phase Short-Circuit (Impedance)
Section titled “Three-Phase Short-Circuit (Impedance)”Apply a three-phase fault with specified impedance to ground:
time(s) FAULT BUS name_of_bus rfault [xfault]time(s) CLEAR BUS name_of_busrfaultandxfaultare in Ω- If
xfaultis omitted, a fully resistive fault is assumed
Example — 100 ms bolted fault:
10.000 FAULT BUS 1044 0. 0.10.100 CLEAR BUS 1044Three-Phase Short-Circuit (Voltage)
Section titled “Three-Phase Short-Circuit (Voltage)”Apply a fault where the post-fault voltage is specified:
time(s) VFAULT BUS name_of_bus Voltage_after_fault(pu)time(s) CLEAR BUS name_of_busExample — 100 ms fault with 0.5 pu residual voltage:
10.000 VFAULT BUS 1044 0.510.100 CLEAR BUS 1044Change Parameters (CHGPRM)
Section titled “Change Parameters (CHGPRM)”Modify model parameters during the simulation.
Branch Parameters
Section titled “Branch Parameters”time(s) CHGPRM BRANCH name_of_line MAGN/PHAN ±incrementShunt Parameters
Section titled “Shunt Parameters”time(s) CHGPRM SHUNT name_of_shunt QNOM ±incrementThe increment is in MVAr.
Exciter Parameters
Section titled “Exciter Parameters”time(s) CHGPRM EXC name_of_equipment name_of_parameter ±increment [MVAr/%] duration(s)Units: No unit = absolute, MVAr = per-unitized by , % = percentage of original.
Duration: 0 = step change, > 0 = ramp over given duration.
Example — ramp voltage setpoint by +10% over 10 seconds:
10.000 CHGPRM EXC g1 V0 +10 % 10Torque Controller Parameters
Section titled “Torque Controller Parameters”time(s) CHGPRM TOR name_of_equipment name_of_parameter ±increment [MW/%] duration(s)Example — ramp active power setpoint by +1 MW:
10.000 CHGPRM TOR g1 P0 +1 MW 10Injector / Two-Port / Discrete Controller Parameters
Section titled “Injector / Two-Port / Discrete Controller Parameters”time(s) CHGPRM INJ/TWOP/DCTL name ±increment [MW/MVAr/%/SETP] duration(s)Units: SETP = the increment is the new setpoint value.
Example — load increase of 50% active and 30% reactive over 60 seconds:
10.000 CHGPRM INJ L_11 P0 +50 % 6010.000 CHGPRM INJ L_11 Q0 +30 % 60Export Jacobian Matrix
Section titled “Export Jacobian Matrix”time(s) JAC 'name_of_filename'Required solver settings:
$OMEGA_REF SYN ;$SCHEME IN ;Export Load Flow Snapshot
Section titled “Export Load Flow Snapshot”Takes a snapshot and exports the load flow at a specific time:
time(s) LFRESV 'name_of_filename'