Troubleshooting convergence failures
Power flow analysis can stop before it solves, when the network or component data is incomplete, or fail to converge, when no operating point satisfies the network equations. This page explains the messages you can see and what to change.
Understanding convergence
What convergence means:
- Iterative power flow solver reaches stable solution
- Voltage and power values stop changing between iterations
- All buses have valid voltage magnitudes and angles
- Power balance achieved throughout network
Newton-Raphson method:
- The only method a run from the canvas uses
- Starts the angles from a DC power flow solution; source buses start at their set voltage and every other bus at the average of those set voltages (1.0 pu when all are at nominal)
- Updates voltages based on power mismatches
- Repeats until mismatches below tolerance
Convergence criteria:
- Largest bus power mismatch below 1e-8 MVA
- Maximum 10 iterations
- Failure if criteria not met
See How EKX calculates power flow for the full solver settings.
Messages before the study runs
No source:
- Message: Cannot Calculate Power Flow, "No power sources (Utility Feed or Generator) found"
- Solution: Add a utility feed or generator and connect it to the network
Voltage issues:
- Message: Voltage issues detected, with a panel listing each conflict
- Cause: Connected components have different rated voltages, or two sources set one part of the network to different voltages
- Solution: Correct the voltages the panel names, or add the transformer that belongs between them
Validation warnings:
- The validation dialog lists issues found in the network. Fix blocking issues; review warnings, then click Proceed with warnings to run anyway.
Messages that name a component
A bus with no connection to any source:
- Message: "Nothing in the drawing joins bus to a utility or generator, even with every switch closed."
- Cause: The bus has no path to a source even with every device closed and every component in service
- Solution: Draw the connection or delete the bus. A bus cut off only by an open device, an open wire or an out-of-service component is not an error; it shows No supply and the rest solves.
Missing or invalid component data:
- Cause: A value the study needs is blank or out of range, such as a cable with no length or no conductor, a transformer with no kVA, winding voltage or impedance, a utility with no voltage, a motor power factor or efficiency not above 0 and at most 1, a demand, diversity or utilization factor not above 0 and at most 1, or a transformer tap outside its limits
- Solution: The message names the component and the value. Select the component and enter the value in the edit panel.
Unsupported generator type:
- Message: names the generator and its type
- Solution: Change it to Synchronous Generator or remove it. EKX models synchronous generators only.
Cable too small for its load:
- Message: "Cable CBL cannot deliver the 222 kVA connected beyond it at 480 V: over 300 m its conductor drops the voltage too far for any solution. Choose a larger conductor or more parallel runs for CBL."
- Cause: the conductor's impedance over its length drops the voltage so far that no solution exists. A cable added through the API keeps the smallest conductor in its series until sizing runs.
- Solution: choose a larger conductor or more parallel runs, or apply sizing
Power flow did not converge
When the solver fails and no cable on its own explains it, you see Power Flow Did Not Converge. Click Check Network to run the network checks, or Retry Calculation after you change something. Check, in order:
Step 1: Check loads
- Look for a load or motor far larger than its supply, such as a kW entered where kVA or hp was meant.
- Check load power factors are realistic. A load's power factor must be above 0 and at most 1; most loads run between 0.8 and 0.95.
- Check demand, diversity and utilization factors.
Step 2: Check transformers
- Check each transformer's kVA rating against the load it feeds.
- Check impedance. Most distribution transformers are between 2% and 8%.
- Check the primary and secondary voltages match the buses they connect.
- Check the Tap setting.
Step 3: Check sources
- Check each utility's Operating Voltage (80% to 120%, default 100%).
- In a part of the network that no utility reaches, the largest generator supplies whatever the load needs. Check that the load there is realistic.
Step 4: Check cables
- Check cable lengths for unit mistakes, such as feet entered as metres or a length 1,000 times too long.
- Check that long, small conductors carry a load they can deliver.
Network topology issues
Radial vs meshed networks:
- Radial (tree structure): The usual case. A failure is almost always a load too large for its supply path.
- Meshed (loops): May require more iterations
- Multiple utilities: Each holds its own voltage; check their Operating Voltage values agree
Transformer connections:
- Both primary and secondary must connect
- Check the Tap setting
Parallel components:
- Parallel transformers: Match impedances and tap settings
Load modeling issues
Constant power loads:
- Most loads and every motor are modelled as constant P and Q
- A constant-power load draws more current as voltage falls, which can prevent convergence on a weak supply
- Try reducing load if convergence fails
Motor loads:
- Check power factor is realistic (0.8 to 0.95 is typical)
- A motor's nameplate voltage is normally a little below the bus voltage, for example 460 V on a 480 V bus; a much lower or higher value changes the current a full-load amps entry implies
Unbalanced loads:
- Single-phase loads on three-phase system
- EKX uses balanced (positive sequence) analysis
- Cannot model detailed unbalance
Tolerance settings
Tolerances (not adjustable):
- Power mismatch: 1e-8 MVA
- Max iterations: 10
When to contact support
Contact support if:
- Network validates correctly but won't converge
- Same network converged before but fails now
- Error message unclear or unhelpful
- Convergence fails with minimal network
Click Feedback in the status bar at the bottom of the project page to send a report. It attaches the current page's diagnostics and, when available, a project export.
Include in the report:
- Description of network (# buses, # components)
- What changed before failure (if previously worked)
- Full error message text
Workarounds for difficult networks
Find the problem part:
- Take non-critical loads or branches out of service in a scenario.
- Run the simplified network to verify basic connectivity.
- Bring components back into service in groups until the failure returns.
Reduce load temporarily:
- In a scenario, lower demand factors (for example to
0.5). - Raise them in steps and run at each step.
- The step where convergence fails points to the overloaded part of the network.
Scenarios keep these changes out of the base design.
Prevention best practices
During network building:
- Complete component data before connecting
- Use standard voltage levels
- Follow standard connection patterns
Before running calculation:
- Review the pre-analysis validation dialog before proceeding
- Verify a utility feed or generator is connected
- Check all loads have power values
- Confirm transformer voltages match
Good modeling practices:
- Use standard voltage levels (not arbitrary values)
- Enter transformer impedance from the nameplate
- Set realistic power factors (0.8 to 0.95)
Related topics
- Understanding power flow - How power flow works
- Running power flow - Execution steps
- Pre-analysis validation - Issues shown before a study runs
- Scenarios - Operating changes kept out of the base design