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
- Drag Generator from the component toolbar.
- Drop on canvas.
- Connect bottom handle to a bus.
- 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 FactorReactance 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
| Parameter | Description | Typical range |
|---|---|---|
| Xd | Synchronous reactance | 1.0 - 2.0 p.u. |
| Xd' | Transient reactance | 0.20 - 0.35 p.u. |
| Xd'' | Subtransient reactance | 0.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
| Parameter | Description | Typical range |
|---|---|---|
| Xq | Synchronous reactance | 0.6 - 1.0 p.u. |
| Xq' | Transient reactance | 0.3 - 0.5 p.u. |
| Xq'' | Subtransient reactance | Approximately 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
| Parameter | Description | Typical range |
|---|---|---|
| Xl | Leakage reactance | 0.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.
| Parameter | Description | Typical range |
|---|---|---|
| Tdo' | Direct-axis transient open-circuit time constant | 3.0 - 10.0 s |
| Tdo'' | Direct-axis subtransient open-circuit time constant | 0.01 - 0.05 s |
| Tqo' | Quadrature-axis transient open-circuit time constant | 0.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 type | Typical H (seconds) |
|---|---|
| Steam turbine | 4.0 - 8.0 |
| Gas turbine | 3.0 - 5.0 |
| Diesel generator | 1.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 type | When to use |
|---|---|
| Solid | Small generators where simplicity is preferred; provides maximum ground fault current for relay sensitivity |
| Resistance | Most common for medium and large generators; limits ground fault current while allowing detection |
| Reactance | Less common; sometimes used on very large machines |
| Ungrounded | Delta-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).
| Parameter | Description | Typical range |
|---|---|---|
| X0 | Zero-sequence reactance | 0.02 - 0.15 p.u. |
| X2 | Negative-sequence reactance | Approximately 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.
| Field | Description | Examples |
|---|---|---|
| Fuel type | Primary fuel source | diesel, natural_gas, coal, nuclear, renewable |
| Efficiency | Machine efficiency as a percentage | 95.0 for a large synchronous generator |
| Minimum load | Minimum stable operating load as a percentage of rating | 30 for a diesel, 0 for solar |
| Governor type | Speed governor control strategy | isochronous, droop |
| Exciter type | Excitation system type | static, rotating |
| AVR type | Automatic voltage regulator type | Manufacturer-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:
- Select the bus connected to the generator.
- 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:
| Loading | Color | Meaning |
|---|---|---|
| 90% or below | Green | Normal operating range |
| Above 90% to 100% | Yellow | Approaching rated capacity |
| Above 100% | Red | Overloaded, exceeds nameplate rating |
If power flow results become stale (you edit a component after running analysis), annotations turn grey until you rerun the analysis.
Related topics
- Buses - Connecting generators to buses and slack bus configuration
- Utility feeds - Alternate power source from the grid
- Power flow analysis - Generator loading calculations
- Short-circuit analysis - Generator fault contribution