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.
  • 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). EKX calculates reactive power limits from Capacity and Power Factor but does not enforce them, so the generator supplies or absorbs whatever reactive power holds its bus at 1.0 pu. A new generator starts at 0.8.

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 Power entry instead and holds the generator bus at 1.0 pu. See How EKX calculates power flow.

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).

A new generator starts with Xd'' = 0.15 p.u., the typical subtransient reactance for 4-pole and salient-pole generators in IEEE Std 141 and IEEE Std 551, so short circuit and arc flash run without another entry. Xd'' directly sets the generator's fault contribution, so replace it with the manufacturer's value when you have it.

Short circuit uses the Stator Ra you enter, in percent on the generator's rated kV and MVA. A blank Stator Ra is zero resistance. See How EKX calculates short circuit.

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

Grounding on the Equipment tab sets how the generator neutral is grounded. A generator with nothing entered reads Solid, the default CEC Rule 10-206 1) gives ac systems.

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

With Resistance or Reactance, enter the neutral grounding impedance in ohms. Every bus the generator feeds shows a read-only Grounding line with the ohms and the ground fault current they allow at the rated voltage, for example "Impedance grounded, 10 ohm, 35 A (G1)" for 10 ohms at 600 V (346 V / 10 ohm).

Breakers with a slash rating such as 600Y/347 V get it only on a solidly grounded supply. Choosing Resistance, Reactance or Ungrounded leaves breakers fed by this generator with their straight ratings only.

Note: Grounding changes only the line-to-ground fault current (Ik LG). Three-phase short-circuit and arc flash results do not depend on it.

Sequence impedances

The line-to-ground fault (Ik LG) uses the generator's sequence impedances. Enter X0 on the Study tab.

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.

A grounded generator needs X0: without it, buses the generator grounds show no Ik LG and name the generator. An ungrounded generator does not use X0. X2 can be entered through the API; when blank, EKX uses Xd''. Three-phase results do not use either value.

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, a reference source balances real and reactive power and provides the voltage angle reference. A utility feed is the reference wherever one reaches.

In an islanded or microgrid system, or any part of the diagram that no utility feed reaches, the in-service generator with the largest capacity becomes the reference automatically. It holds its bus at 1.0 pu and supplies whatever balances that part. You do not designate a slack bus. See Buses.

Generator annotations after power flow

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

  • Loading percentage (apparent power output / rated capacity x 100%)
  • Active power output (P) in MW or kW
  • Reactive power output (Q) in MVAR or kVAR
  • Power factor, leading or lagging

Annotations are color-coded by loading level:

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

While results are shown, they rerun by themselves after a change that affects them. Annotations turn grey only when that rerun fails or you can view the project but not edit it. See Rerunning after changes.