Generators

Generators represent synchronous rotating machines that supply power independently of the utility grid.

Generator types

EKX currently supports the synchronous generator model. It does not model induction generators, inverter-based sources, wind turbines, or battery storage. Active components with one of those retired type values must change to Synchronous Generator or be removed before calculations can run. An out-of-service component does not affect calculations.

Creating a generator

  1. Drag Generator from the component toolbar.
  2. Drop on canvas.
  3. Connect bottom handle to a bus.
  4. Configure ratings in the edit panel.

Generators connect via their bottom handle only. Power flows downward from the generator into the bus, following standard SLD conventions.

Rated MVA and voltage

Set the generator nameplate ratings in the edit panel:

  • Capacity - Nameplate apparent power rating in kVA. This is the maximum continuous output and determines reactive power limits.
  • Voltage - Rated terminal voltage in kV. Must match the bus voltage where the generator connects.

These two values define the machine base for all per-unit reactance parameters.

Rated power and power factor

  • Power - Active power output in kW. This is the real power the generator dispatches. Set it to the actual operating output, which may be less than nameplate capacity for partial-load scenarios.
  • Power Factor - Nameplate power factor (0 to 1). Used to calculate reactive power limits for power flow analysis. A lower power factor means more reactive power capability. Typical value: 0.85.

The relationship between these values:

Power (kW) = Capacity (kVA) x Power Factor

Reactance values

Generator reactances are entered in per-unit on the machine base (rated MVA and rated voltage). Xd'' is required for short-circuit analysis. Power flow uses the generator output, capacity, power factor, and voltage setpoint instead.

Direct-axis reactances

ParameterDescriptionTypical range
XdSynchronous reactance1.0 - 2.0 p.u.
Xd'Transient reactance0.20 - 0.35 p.u.
Xd''Subtransient reactance0.15 - 0.25 p.u.
  • Xd governs steady-state behavior and voltage regulation.
  • Xd' determines fault current in the transient period (roughly 0.5 - 5 seconds after fault inception).
  • Xd'' determines the initial fault current magnitude (first few cycles). This is the most critical value for short-circuit studies and breaker sizing.

Quadrature-axis reactances

ParameterDescriptionTypical range
XqSynchronous reactance0.6 - 1.0 p.u.
Xq'Transient reactance0.3 - 0.5 p.u.
Xq''Subtransient reactanceApproximately equal to Xd''

Quadrature-axis values matter primarily for salient-pole machines (hydro generators, diesel generators). For round-rotor machines (steam turbines, gas turbines), Xq values are close to their Xd counterparts.

Leakage reactance

ParameterDescriptionTypical range
XlLeakage reactance0.10 - 0.20 p.u.

Xl represents flux that does not cross the air gap. It sets a lower bound for all other reactance values (Xd'' >= Xl).

Use the manufacturer's reactance values. EKX does not insert a default Xd'' because that value directly changes the calculated fault contribution.

EKX currently assumes zero stator resistance for the synchronous generator short-circuit model. This produces a conservative maximum-current result without asking for another machine parameter.

Time constants

Time constants define how quickly reactance transitions between subtransient, transient, and steady-state values after a disturbance.

ParameterDescriptionTypical range
Tdo'Direct-axis transient open-circuit time constant3.0 - 10.0 s
Tdo''Direct-axis subtransient open-circuit time constant0.01 - 0.05 s
Tqo'Quadrature-axis transient open-circuit time constant0.5 - 2.0 s

These values are relevant for transient stability studies. For steady-state power flow and simple short-circuit calculations, they have no effect. Enter them if you plan to use the generator model for dynamic analysis or if you have the data from the manufacturer.

Operating parameters

Inertia constant (H)

The inertia constant represents stored kinetic energy in the rotating mass, expressed in seconds:

H = Stored Energy (MJ) / Rated MVA
Generator typeTypical H (seconds)
Steam turbine4.0 - 8.0
Gas turbine3.0 - 5.0
Diesel generator1.0 - 3.0
Hydro (salient pole)2.0 - 4.0

Higher H means the machine resists frequency changes more strongly. This matters for stability studies and islanded operation.

Damping coefficient

The damping coefficient represents the machine's natural damping torque. Typical values range from 0 to 2.0. Leave at default unless you have specific machine data.

Grounding configuration

Generator neutral grounding limits ground fault current and affects zero-sequence impedance. Select the grounding type that matches your installation:

Grounding typeWhen to use
SolidSmall generators where simplicity is preferred; provides maximum ground fault current for relay sensitivity
ResistanceMost common for medium and large generators; limits ground fault current while allowing detection
ReactanceLess common; sometimes used on very large machines
UngroundedDelta-connected generators or where the system grounding is provided elsewhere

When you select resistance or reactance grounding, enter the neutral grounding impedance value in ohms.

> Important: Grounding configuration affects zero-sequence fault current calculations. An incorrect grounding type will produce inaccurate ground fault results.

Sequence impedances

Sequence impedances are needed for unbalanced fault analysis (single-line-to-ground, line-to-line, double-line-to-ground faults).

ParameterDescriptionTypical range
X0Zero-sequence reactance0.02 - 0.15 p.u.
X2Negative-sequence reactanceApproximately equal to Xd''
  • X2 (negative sequence) is typically close to the average of Xd'' and Xq''.
  • X0 (zero sequence) depends heavily on winding configuration and grounding. It can vary widely.

If you only need three-phase symmetrical fault results, these values can be left empty.

Physical and control properties

These optional fields provide additional documentation and may be used in future analysis features.

FieldDescriptionExamples
Fuel typePrimary fuel sourcediesel, natural_gas, coal, nuclear, renewable
EfficiencyMachine efficiency as a percentage95.0 for a large synchronous generator
Minimum loadMinimum stable operating load as a percentage of rating30 for a diesel, 0 for solar
Governor typeSpeed governor control strategyisochronous, droop
Exciter typeExcitation system typestatic, rotating
AVR typeAutomatic voltage regulator typeManufacturer-specific designation

In-service toggle

Use the In Service toggle in the edit panel to take a generator out of service without deleting it. When a generator is out of service:

  • It does not contribute power in power flow analysis.
  • It does not contribute fault current in short-circuit analysis.
  • It appears dimmed on the canvas.

This is useful for modeling scenarios where backup generators are offline or for comparing system behavior with and without a particular unit.

Generator as slack bus

In power flow analysis, the system needs one slack bus to balance real and reactive power and provide the voltage angle reference. Normally, the bus connected to a utility feed serves as the slack bus.

For islanded or microgrid systems with no utility feed, designate the bus connected to your generator as the slack bus. The generator then becomes the voltage and frequency reference for the system.

To configure this:

  1. Select the bus connected to the generator.
  2. Set the bus type to Slack Bus in the edit panel.

Only one bus in the system should be the slack bus. See Buses for details on bus type configuration.

Generator annotations after power flow

After running power flow analysis, generators display annotations on the canvas:

  • Loading percentage (output power / rated capacity x 100%)
  • Active power output (P) in MW or kW
  • Reactive power output (Q) in MVAR or kVAR

Annotations are color-coded by loading level:

LoadingColorMeaning
90% or belowGreenNormal operating range
Above 90% to 100%YellowApproaching rated capacity
Above 100%RedOverloaded, exceeds nameplate rating

If power flow results become stale (you edit a component after running analysis), annotations turn grey until you rerun the analysis.