ϟ gridcraft ADVANCED LAB
LAB 02 / FIVE SOURCES · THREE BUSES

Study the whole network.

Two utility infeeds, synchronous DG, solar DG and BESS. Inspect power flow, faults and the currents each relay actually sees.

Preparing model…

Study controls

Base, loads & tap changer

All impedances use the selected common three-phase MVA base. All buses are nominally 13.8 kV equivalents; utility-side values are already referred to this voltage.

Static search over 33 positions; no automatic time-delay or hunting simulation.

Transformer, feeder & breakers

T1 is a grounded-wye/grounded-wye equivalent with a zero-sequence path and no phase shift. These are explicit training assumptions.

BESS energy & state of charge
Fault & relay measurement

ABC: per phase. A–G: phase to ground. B–C: between phases. B–C–G: common joined phases to ground.

Same ideal CT ratio is applied to both displayed relay locations.

Phase overcurrent settings

Compare operating cases

Each preset starts from the default network.

Interactive study network

Apply fault at:

Source labels show solved MW injection. Negative means absorption. Breaker status and source controls are in the left panel.

Bus voltages & load schedules

BusVoltage · pu ∠°Voltage · kV L–LLoad · MW / Mvar

Source dispatch

SourceModelMW injectedMvar injectedPrimary current · A

Branch flow and losses

PathFrom-end MW / MvarTo-end MW / MvarLoss MW / Mvar

Branch powers are positive into the branch at each end. Their sum is branch loss. Conventional sources are fixed EMFs behind impedance; their MW/Mvar are solved, not dispatch setpoints.

BESS energy window

Positive BESS MW discharges; negative MW charges. Duration uses constant scheduled AC power, present SOC limits and the entered one-way efficiency. It excludes auxiliaries, temperature, degradation and voltage-dependent limits.

METHODS / ASSUMPTIONS / REFERENCES

What this model does—and where it stops

Balanced power flow

Three-bus complex nodal equations with constant-PQ loads and solar/BESS injections. Two utility equivalents and one synchronous DG are voltage sources behind impedances. A damped Newton method solves six real current-balance equations. Results include convergence residuals and a complex power-balance check.

Generator excitation, governors and reactive limits are not simulated. Scheduled inverter P/Q is held constant; low-voltage operation may exceed rated current and is flagged rather than silently clamped.

Sequence fault study

Positive, negative and zero-sequence admittance matrices are formed independently. The solver obtains the selected bus driving-point impedances, connects the sequence networks for ABC, A–G, B–C or B–C–G, then reconstructs all bus voltages and branch currents.

Loads are omitted from the fault model. Conventional-source internal EMFs remain at their entered values. Fixed positive-sequence inverter fault injections use their rated current multiplier and angle relative to pre-fault local voltage. The fault-network open-circuit voltage is recalculated; it is not the loaded pre-fault voltage.

Tap & storage studies

T1 has a real off-nominal ratio a = 1 + tap × step/100 at the U end. Yff = y/a², Yft = Ytf = −y/a and Ytt = y. Increasing a reduces the ideal downstream voltage for fixed upstream voltage; other infeeds alter the system response.

BESS SOC is a static energy calculation with constant AC power. Tap search is a static sweep, not a dynamic OLTC simulation. Grid-following DER alone cannot establish an island voltage; unsupported islands are rejected.

Detailed model boundaries and reproducibility

All quantities are steady RMS fundamental-frequency phasors. One common three-phase MVA base and nominal line-to-line kV base apply throughout; Zbase = kV²/MVA and Ibase = MVA × 1,000/(√3 × kV). Changing the base without rebasing entered pu values changes the physical network. The same fixed source Thevenin impedance is used in power flow and the fault network; no separate transient/subtransient generator model or time evolution is provided. Source Z₂ = Z₁; source Z₀ and branch Z₀ use the entered multipliers. All conventional sources have a grounded zero-sequence path.

T1 is a grounded-wye/grounded-wye equivalent with no phase shift or core/neutral detail. Solar/BESS have no independent negative/zero-sequence injection or passive sequence shunt in this model. Their aggregate ratings are referred to the DER bus. There are no load unbalances, harmonic studies, electromagnetic transients, motor starting, dynamic stability, inverter control models, arc-flash calculations or multi-terminal protection logic.

Fault resistance conventions are displayed beside the inputs. For a B–C–G fault, B and C join before the common resistance to ground. Switches remove paths algebraically; they do not model interrupting duty or a time-domain event.

Reviewable original code: calculation engine and interface. Built-in presets and Reset make comparisons reproducible. Educational results require an appropriate engineering model and review before real equipment decisions.

References and relationship to the NERX example

NERX publicly describes power flow, fault analysis, relay coordination and phasor analysis. Those capability categories informed this original learning lab. NERX’s gated application was not inspected beyond its licence screen; this page does not assert feature-by-feature parity or use its code, layout or proprietary algorithms.