Validation warnings
The validation system continuously monitors your electrical diagram for issues and provides warnings about potential problems. This helps catch errors before running analysis.
What the validation system checks
The system validates:
Connection rules:
- Electrical compatibility between connected components
- Valid connection directions
- Proper upstream/downstream relationships
Voltage compatibility:
- Voltage mismatches between connected components
- Missing transformers where voltage changes
- Excessive voltage differences (>10%)
System completeness:
- Orphaned components (not connected to main system)
- Missing slack bus
- Isolated network islands
Component configuration:
- Missing required properties
- Invalid property values
- Incomplete component specifications
Validation runs automatically whenever you modify the diagram.
Warning types
Connection violations (high severity - red):
- Invalid electrical connections
- Example: Load connected directly to another load
- Example: Reverse polarity (load side to line side)
- Blocks power flow analysis
- Must be fixed for calculations to run
Voltage mismatches (medium severity - yellow):
- Connected components with different voltage ratings
- Example: 480V bus connected to 13.8kV bus without transformer
- May indicate missing equipment
- Should be reviewed before analysis
Orphaned components (low severity - blue):
- Components not connected to the main power system
- Example: Bus with no connections
- Example: Load disconnected from all sources
- Doesn't affect calculations (ignored)
- May be intentional (work in progress)
Connection suggestions (info - blue):
- System-identified potential connections
- High-confidence recommendations
- Example: Components aligned but not connected
- Optional - you can ignore or accept
Viewing warnings panel
The warnings panel displays validation issues:
Location:
- Floating panel on canvas (typically top-left)
- Collapsible to save space
- Badge shows warning count
Panel contents:
- Warning icon (red, yellow, or blue)
- Brief description of issue
- Affected component names
- Dismiss button (X) for individual warnings
Actions:
- Click warning to highlight affected components
- Dismiss warnings you've reviewed
- Toggle suggestions on/off
- Show all dismissed warnings
Connection validation rules
Valid connections:
| Source Type | Target Type | Valid? |
|---|---|---|
| Utility feed | Bus | ✓ Yes |
| Utility feed | Breaker | ✓ Yes |
| Generator | Bus | ✓ Yes |
| Bus | Breaker | ✓ Yes |
| Bus | Load | ✓ Yes |
| Breaker | Bus | ✓ Yes |
| Breaker | Transformer | ✓ Yes |
| Transformer | Bus | ✓ Yes |
| Cable | Any compatible | ✓ Yes |
Invalid connections:
| Source Type | Target Type | Invalid Reason |
|---|---|---|
| Load | Load | Two sinks, no source |
| Generator | Generator | Two sources need bus |
| Breaker load side | Breaker line side | Reverse polarity |
| 480V equipment | 13.8kV equipment | Voltage incompatible |
The system prevents invalid connections during creation but warns if validation fails after editing.
Voltage mismatch detection
Voltage mismatch warnings appear when:
Threshold: Connected components differ by >10%
Example scenarios:
Missing transformer:
- 13.8kV bus connected to 480V bus
- Difference: 13,800V vs 480V = 2,775% difference
- Warning: "Voltage mismatch: missing transformer?"
Configuration error:
- 480V bus connected to 460V motor
- Difference: 480V vs 460V = 4.3% difference
- May be acceptable (within equipment tolerance)
- Warning depends on threshold
Fix voltage mismatches:
- Insert transformer between different voltage levels
- Correct component voltage ratings
- Verify voltage specifications match system design
Resolving validation issues
For connection violations:
- Click warning to highlight affected components.
- Delete invalid connection.
- Reconnect correctly (source to bus to load).
- Verification: Warning disappears automatically.
For voltage mismatches:
- Identify components with voltage difference.
- Insert transformer if voltages genuinely differ.
- Or correct voltage rating if misconfigured.
- Verification: Warning clears after correction.
For orphaned components:
- Determine if component is intentionally disconnected.
- If error: Connect to main system.
- If intentional: Dismiss warning or delete component.
For suggestions:
- Review suggested connection.
- Accept: Manually create the connection.
- Reject: Dismiss the suggestion.
Warning severity levels
Critical (red icon):
- Prevents analysis from running
- Must be resolved before power flow or short-circuit
- Example: Invalid connections, missing slack bus
Warning (yellow icon):
- Analysis may run but results questionable
- Should be reviewed and resolved
- Example: Voltage mismatches, configuration errors
Info (blue icon):
- Advisory messages
- Analysis runs normally
- Example: Orphaned components, suggestions
Dismissed:
- User-acknowledged warnings
- Hidden from main panel
- Can be re-shown if needed
Connection suggestions
The system suggests connections when it detects:
High confidence indicators:
- Components vertically aligned
- Appropriate distance (50-500px)
- Compatible types
- No existing connection
Suggestion format:
- Blue info icon
- "Suggested: Connect [Component A] to [Component B]"
- Dismiss button
- Accept by manually connecting
Suggestions are optional. Ignore them if your design differs from the suggestion.
Ignoring false positives
Some warnings may be intentional design choices:
Orphaned components:
- Future work in progress
- Alternative designs being compared
- Template components for copy-paste
Voltage mismatches:
- Equipment rated for voltage range (460V-480V)
- Temporary configuration during editing
To dismiss false positives:
- Click X button on individual warning.
- Warning moves to "Dismissed" section.
- Re-show dismissed warnings anytime.
- Dismissed warnings don't reappear automatically.
Validation before analysis
Before running power flow or short-circuit analysis:
- Open validation warnings panel.
- Review all critical (red) warnings.
- Resolve connection violations.
- Verify voltage mismatches.
- Confirm slack bus designation.
- Review yellow warnings.
Analysis may fail or produce incorrect results if critical warnings exist.
Related topics
- Connections - Valid connection patterns
- Buses - Slack bus configuration
- Power flow analysis - Pre-analysis validation