Devaraj E & team • Bengaluru (ಬೆಂಗಳೂರು), India

Power Studies & Solver Engine Reference

16 Comprehensive Power Studies & Numerical Engines

In-depth technical breakdown of all power system studies in DevEN: why each study is performed, international standards, comparison of available numerical methods ("Which is best and why"), input parameters, exact simulation outputs, and real-time visualization guide.

Select Study (Interactive DevEN App Tab Switcher):
Click to view study methods, options, outputs & real-time tools

1

1-Phase Load Flow Analysis (LFA)

Steady-State · Nodal Power Balance Standard: IEEE 399 / IEEE 3004.2 / IEC 60909-0
Why Solve this Study? (Engineering Objective & Physical Importance)

Load Flow Analysis calculates the steady-state operating state of an interconnected power transmission or distribution network. It determines voltage magnitudes ($V_i$), phase angles ($\theta_i$), active power flows ($P_{ij}$), reactive power flows ($Q_{ij}$), and system active/reactive losses ($P_{loss}, Q_{loss}$) under normal and emergency operating conditions. It is the fundamental prerequisite for equipment sizing, contingency evaluation, thermal overload mitigation, and voltage stability.

Verdict / Recommended Best: Full Newton-Raphson (NR) with KLU Sparse LU factorization is the overall BEST choice for general meshed transmission grids. Fast-Decoupled (XB) is best for high X/R lines requiring sub-second real-time EMS runs. Levenberg-Marquardt is best when solving heavily loaded systems near voltage collapse.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 1.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Newton-Raphson (Polar) Full analytical Jacobian matrix factorization with quadratic convergence. Quadratic $O(N^2)$ Standard meshed transmission networks ($\le 10,000$ buses) Requires recomputing Jacobian every iteration BEST FOR GENERAL TRANSMISSION
Fast-Decoupled (XB / BX) Decouples active power-angle ($P-\theta$) and reactive power-voltage ($Q-V$) into constant $B'$ and $B''$ sub-matrices. Linear $O(N)$ High $X/R$ ratio transmission systems (> 3.0) May diverge on low $X/R$ cables or distribution networks BEST FOR LARGE REAL-TIME EMS
Levenberg-Marquardt (LM) Damped trust-region regularized Jacobian: $(\mathbf{J}^T \mathbf{J} + \lambda \mathbf{I}) \Delta x = -\mathbf{J}^T F(x)$. Super-linear Heavily stressed systems, ill-conditioned grids, low voltage knees Slightly higher computation per step BEST FOR ILL-CONDITIONED & STRESSED GRIDS
Gauss-Seidel (GS) Successive nodal substitution using admittance matrix directly without Jacobian. Linear Small radial systems or academic teaching (< 50 buses) Extremely slow convergence (100+ iterations) on large systems NOT RECOMMENDED FOR COMMERCIAL GRIDS
Continuation Power Flow (CPF) Predictor-corrector tangent continuation along parameter path to trace PV nose curves. Quadratic along curve Maximum transfer capability (MTC) and voltage collapse analysis Requires multiple sequential power flow solves BEST FOR VOLTAGE STABILITY & P-V CURVES

Study Input Parameters, Options & Recommended Ranges

Table 1.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
engine Slot 1 int 0 (NR) {0: NR, 1: FDLF, 2: GS, 3: LM, 4: CPF} Solver engine algorithm to execute for nonlinear power flow.
v_init Slot 2 int 0 (Flat) {0: Flat (1.0 p.u., 0°), 1: Warm Start} Voltage phasor initialization strategy before first iteration.
tol Slot 3 float 1e-6 [1e-12, 1e-3] Active and reactive nodal power mismatch tolerance threshold in p.u. (e.g. 1e-6 = 0.1 kW on 100 MVA base).
max_iter Slot 4 int 20 [5, 100] Maximum allowable iterations before solver declares divergence.
q_limit Slot 5 int 1 (Enabled) {0: Disabled, 1: Enabled} Enforces generator reactive limits ($Q_{min} \le Q_g \le Q_{max}$), switching PV buses to PQ when violated.
line_charging Slot 6 int 1 (Enabled) {0: Ignore, 1: Include} Includes transmission line shunt charging susceptance ($B/2$) in $\mathbf{Y}_{bus}$.
auto_tap Slot 7 int 1 (Enabled) {0: Fixed, 1: Automatic} Enables On-Load Tap Changers (OLTC) stepping to maintain secondary bus voltages within deadband.
shunt_stepping Slot 8 int 0 (Fixed) {0: Fixed, 1: Automatic} Enables automatic discrete stepping of switched shunt capacitor/reactor banks.
vmin_thresh Slot 9 float 0.90 [0.70, 1.00] Lower statutory voltage threshold for generating low-voltage violation warnings (p.u.).
vmax_thresh Slot 10 float 1.10 [1.00, 1.30] Upper statutory voltage threshold for generating over-voltage violation warnings (p.u.).

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 1.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
vm_pu Bus Voltage Magnitude float (p.u.) Statutory limit verification (0.95 to 1.05 p.u.). Detects under-voltage or over-voltage conditions. res_bus
va_deg Bus Voltage Phase Angle float (deg) Determines active power flow direction across transmission corridors and verifies steady-state stability limit. res_bus
p_mw Active Power Flow float (MW) Branch active power throughput. Essential for determining transmission capacity allocation and export limits. res_line / res_trafo
q_mvar Reactive Power Flow float (MVAr) Branch reactive power throughput. Identifies inductive/capacitive requirements across lines. res_line / res_trafo
loading_percent MVA Thermal Loading float (%) Direct percentage loading against continuous MVA rating. Highlights thermal bottlenecks and line overloads. res_line / res_trafo
ploss_mw Active Power Losses float (MW) Heat losses in conductor resistance ($I^2 R$). Used for economic loss evaluation and tariff calculations. res_line / res_trafo
qloss_mvar Reactive Power Losses float (MVAr) Series inductive reactive losses ($I^2 X$). Sizing reactive compensation and shunt capacitors. res_line / res_trafo
iterations Solver Iterations int Convergence performance metric. Verifies solver conditioning (typically 3-5 iterations for healthy grids). res_summary
How to See These Outputs in Real Time in DevEN Workstation:
CAD Canvas Live Heatmap

Buses glow dynamically based on voltage: GREEN (0.95-1.05 p.u.), AMBER (0.90-0.95 / 1.05-1.10 p.u.), and FLASHING RED (<0.90 or >1.10 p.u.).

Animated Flow Direction Arrows

Transmission lines and transformers show animated arrows moving in real-time in the direction of active power flow, with speed proportional to MW throughput.

Real-Time Results Inspector Dock

Dockable side panel displays instant sortable columns for all bus voltages and line loadings. Click any row to automatically zoom the CAD canvas to that component.

Direct SQLite Storage Tables

Writes complete nodal and branch results to tables 'res_bus', 'res_line', 'res_trafo', and 'res_gen' within the .db container.

Core Mathematical Formulation
$$\begin{bmatrix} \Delta P \ \Delta Q \end{bmatrix} = \begin{bmatrix} J_{P\theta} & J_{PV} \ J_{Q\theta} & J_{QV} \end{bmatrix} \begin{bmatrix} \Delta \theta \ \Delta V / V \end{bmatrix}, \quad P_i = \sum_{j=1}^N V_i V_j (G_{ij}\cos\theta_{ij} + B_{ij}\sin\theta_{ij})$$
2

Three-Phase Unbalanced Power Flow (3P LFA)

Multi-Phase · Mutual Coupling · VUF% Standard: IEEE Std 1159 / NEMA MG 1 / IEC 61000-4-30
Why Solve this Study? (Engineering Objective & Physical Importance)

Single-phase positive-sequence approximations break down in modern distribution grids due to untransposed distribution lines, rooftop single-phase solar PV feeding random phases, electric vehicle single-phase charging, and heavy single-phase railway/industrial loads. Three-Phase Unbalanced LFA solves the full coupled 3-phase nodal equations ($\mathbf{Y}_{abc} \mathbf{V}_{abc} = \mathbf{I}_{abc}$), calculates neutral conductor voltage rise ($V_n$), individual phase loadings, and quantifies the Voltage Unbalance Factor ($VUF\%$). Excessive unbalance causes catastrophic counter-rotating negative-sequence fields in three-phase induction motors, overheating windings, tripping sensitive inverter protections, and increasing neutral ground losses.

Input Data Requirements & Parameter Guide

Table 2.1 — 3-Phase Parameters
Parameter Name Applies To Type & Unit Physical Meaning & Engineering Impact Database Field
z_matrix_abc Line / Cable 3x3 matrix (Ω/km) Phase self and mutual impedances ($Z_{aa}, Z_{bb}, Z_{cc}, Z_{ab}, Z_{bc}, Z_{ca}$) derived from Carson's equations with neutral reduction. lines_3ph
load_p_a, b, c 3-Phase Load float (kW per phase) Active power consumed independently on Phase A, Phase B, and Phase C (Wye-N or Delta connected). loads_3ph
xfmr_winding_conn Transformer text (Dyn11, Yyn0, etc.) Vector group determining phase angle shift ($\pm 30^\circ$) and zero-sequence grounding path between primary and secondary. transformers

Study Outputs & Engineering Meaning

Table 2.2 — Solved Results
Output Variable Description Data Type & Unit Engineering & Physical Significance Storage Table
v_a, v_b, v_c Phase Voltages float (kV / p.u.) Line-to-neutral or line-to-line voltage on each phase. Highlights severe undervoltage on overloaded phases. res_bus_3ph
vuf_percent Voltage Unbalance Factor float (%) True sequence unbalance $|V_2|/|V_1| \times 100\%$. Utility limit is strictly $\lt 2.0\%$ under IEC 61000-4-30 Class A. res_bus_3ph
i_neutral_a Neutral Return Current float (Amperes) Unbalanced return current flowing back through neutral conductor and earth ground electrodes. res_line_3ph
How to See These Outputs in Real Time in DevEN Workstation:
3-Phase Phasor Polar Diagram

Interactive HUD overlay showing $V_a, V_b, V_c$ vectors rotated in complex space with sequence decomposition ellipse.

VUF% Bus Heatmap Overlay

Color-codes all CAD network buses dynamically: Green ($\lt 1\%$), Amber ($1-2\%$), and Flashing Red ($\gt 2\%$).

Core Mathematical Formulation
$$\begin{bmatrix} \mathbf{I}_a \ \mathbf{I}_b \ \mathbf{I}_c \end{bmatrix} = \begin{bmatrix} \mathbf{Y}_{aa} & \mathbf{Y}_{ab} & \mathbf{Y}_{ac} \ \mathbf{Y}_{ba} & \mathbf{Y}_{bb} & \mathbf{Y}_{bc} \ \mathbf{Y}_{ca} & \mathbf{Y}_{cb} & \mathbf{Y}_{cc} \end{bmatrix} \begin{bmatrix} \mathbf{V}_a \ \mathbf{V}_b \ \mathbf{V}_c \end{bmatrix}, \quad VUF\% = \frac{|V_2|}{|V_1|} \times 100\% = \frac{|V_a + a^2 V_b + a V_c|}{|V_a + a V_b + a^2 V_c|} \times 100\%$$
CLI Engine: DevEN_3PH_Engine.exe --project network.sqlite --vuf-limit 2.0 C-Accelerated Sparse LU Factorization
3

Short Circuit Study (SCS - IEC 60909 & Classical ANSI C37)

Fault Analysis · IEC 60909 · ANSI C37 · IEEE Std 3002.3 · CEA 80% Margin Standard: IEC 60909-2016 / IEEE C37.010 / ANSI C37.13 / IEEE Std 3002.3 / CEA Section 6.1
Why Solve this Study? (Engineering Objective & Physical Importance)

Short Circuit Analysis calculates prospective fault currents, symmetrical breaking/making duties, and sequence component distributions across all standard IEEE/IEC fault categories: symmetrical (Three-Phase 3PH), asymmetrical shunt (Single Line-to-Ground SLG, Line-to-Line LL, Double Line-to-Ground LLG/DLG), and series open conductor faults (1-Phase Broken Conductor, 2-Phases Open). The engine supports dual calculation methodologies: the global IEC 60909 Equivalent Voltage Source method ($c \cdot U_n / \sqrt{3}$) and Classical ANSI C37 / Symmetrical Components ($Z_{bus}^{(1)}, Z_{bus}^{(2)}, Z_{bus}^{(0)}$) with operating pre-fault voltage superposition from Load Flow (LFA). It performs automated circuit breaker interrupting duty verification against IEEE Std 3002.3 and Central Electricity Authority (CEA) Section 6.1 80% design margins, computes neutral grounding resistor (NGR) power dissipation ($P_{NGR}$), and provides both system-wide and multi-attribute filtered bus scans.

Verdict / Recommended Best: The IEC 60909 Equivalent Voltage Source method is the globally accepted standard for equipment ratings and protective coordination. The Classical Symmetrical Components method with pre-fault load flow voltage superposition (LFA) is best for operational post-trip forensic analysis and real-time planning.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 2.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
IEC 60909 Standard Method Applies voltage factor $c$ to nominal voltage at fault bus: $V_f = c \cdot U_n / \sqrt{3}$. Uses subtransient impedances with temperature correction, peak factor $\kappa$, and breaking factor $\mu$. Analytical matrix inversion All industrial, transmission, and distribution systems Requires sequence impedances ($Z_1, Z_2, Z_0$) BEST FOR GLOBAL COMPLIANCE & EQUIPMENT SIZING
Classical ANSI C37 / Symmetrical Components Direct sequence impedance network matrix inversion ($\mathbf{Z}_{bus}^{(1)}, \mathbf{Z}_{bus}^{(2)}, \mathbf{Z}_{bus}^{(0)}$) utilizing actual pre-fault operating voltages from solved load flow ($V_{prefault}$). Analytical network reduction North American ANSI/IEEE installations and forensic trip analysis Requires converged load flow before fault calculation BEST FOR OPERATIONAL PLANNING & FAULT FORENSICS
From Load Flow (LFA) Superposition Superimposes fault currents directly onto operating voltages from active database memory or loaded CSV / .out0 / .json load flow result files. Two-stage solve: LFA then fault Operational contingency and post-event fault investigations Requires active load flow solution BEST FOR REAL-TIME DISPATCH INTEGRATION
Series Open Conductor (Broken Phase) Models longitudinal phase discontinuities (1-Phase Broken Conductor, 2-Phases Open) via series-connected sequence networks. Two-port symmetrical components Overhead transmission lines and distribution feeder safety audits Requires branch terminal indexing BEST FOR BROKEN CONDUCTOR HAZARD AUDITS

Study Input Parameters, Options & Recommended Ranges

Table 2.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
method Option 1 str iec {'iec': IEC 60909 (Standard), 'classical': Classical (ANSI C37 / Symmetrical Components)} Calculation methodology governing equivalent voltage source vs sequence matrix inversion.
units Option 2 str ka {'ka': kA (Fault Current), 'mva': MVA (Fault Power)} Display engineering units for results reporting and SLD visualization.
scope Option 3 str all_buses {'all_buses': All Buses, 'select_bus': Select Bus} Target bus evaluation scope: system-wide scan across all buses or targeted custom bus subset.
bus_filter Option 4 dialog Modal Search by Bus #/Name, kV Filter, Area Filter, Zone Filter, Reset, Batch Select/Deselect Comprehensive multi-attribute dialog for interactive target bus selection with live counter.
fault_type Option 5 str 3phase {'3phase': 3-Phase Symmetrical (3PH), 'slg': Single Line-to-Ground (SLG / L-G), 'll': Line-to-Line (L-L), 'dlg': Double Line-to-Ground (LLG / L-L-G), 'open1p': Open 1-Phase (Broken Conductor), 'open2p': Open 2-Phases Open} Standard shunt or series fault category.
fault_phase Option 6 str All (ABC) {'abc': All (ABC), 'a': Phase A, 'b': Phase B, 'c': Phase C, 'ab': Phase AB, 'bc': Phase BC, 'ca': Phase CA} Target faulted phase or conductor combination.
fault_loc Option 7 str bus {'bus': At Bus, 'line': On Line} Fault location: bolted at substation busbar node or along transmission line branch.
fault_bus Option 8 int 1 [1, 999999] Target bus index where fault is applied.
fault_line Option 9 int 1 [1, 999999] Target line branch index when fault location is set to 'On Line'.
fault_dist Option 10 float 50.0% [0.0%, 100.0%] Distance slider percentage along line from sending bus (from_bus) to fault point.
fault_z Option 11 float 0.0 + j0.0 Rf: [0, 1000 Ω], Xf: [0, 1000 Ω] Fault arc / contact impedance in ohms ($Z_f = R_f + jX_f$). Default 0.0 = bolted fault.
c_factor Option 12 float 1.10 [0.95, 1.15] IEC 60909 voltage factor $c$: 1.10 for maximum fault current, 0.95/1.00 for minimum.
v_method Option 13 str lfa {'lfa': From Load Flow (LFA), 'nominal': Flat Start 1.0 pu} Pre-fault bus voltage source: active DB memory / CSV result file vs flat start (1.0 pu).
breaker_check Option 14 bool True (Enabled) {True: Check Enabled, False: Disabled} IEEE Std 3002.3 and Central Electricity Authority (CEA) Section 6.1 80% circuit breaker duty design margin check.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 2.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
ik_ss_ka Initial Symmetrical Fault Current ($I_k''$) float (kA rms) Initial symmetrical AC fault current magnitude. Sizing circuit breaker breaking duty. res_scs
sk_mva Short Circuit Apparent Power ($S_k''$) float (MVA) Grid fault power level at bus: $S_k'' = \sqrt{3} \cdot U_n \cdot I_k''$. Determines grid stiffness. res_scs
ia_ib_ic Phase Fault Currents ($I_a, I_b, I_c$) float (kA rms & deg) Individual phase current magnitudes and phase angles at fault location. res_scs
i0_i1_i2 Symmetrical Component Currents ($I_0, I_1, I_2$) float (p.u. & kA) Zero, positive, and negative sequence currents for protective relay coordination. res_scs
va_vb_vc Post-Fault Bus Phase Voltages float (p.u. & kV) Voltage profiles across all system buses during primary fault condition. res_scs
cb_duty_margin Circuit Breaker Duty & CEA 80% Margin str / % Automated compliance evaluation: flags if fault current exceeds 80% of rated breaker MVA. res_scs
p_ngr_kw Neutral Grounding Resistor Dissipation ($P_{NGR}$) float (kW / MW) Active power loss in neutral grounding resistor: $P_{NGR} = 3 I_0^2 R_{NGR}$. res_scs
multi_bus_summary Multi-Bus Short Circuit Summary Table table Summary across target buses comparing 3-Phase, SLG/LG, L-L, DLG/LLG, and Fault MVA. res_scs
How to See These Outputs in Real Time in DevEN Workstation:
Target Bus Scope 2-Option Selector

Streamlined toggle between 'All Buses' and 'Select Bus' with inline [ 📋 Select Bus(es)... ] button and live selection summary badge.

Multi-Attribute Filter Modal Dialog

Interactive dialog with real-time text search (number or name), voltage level dropdown, area filter, zone filter, reset button, and quick batch selection tools.

Configurable SLD Heatmap Canvas Overlay

SLD canvas dynamically displays user-selected fault variable: Max Fault Current (Ik''), Fault Power (Sk'' MVA), Phase Currents (Ia, Ib, Ic), or Sequence Currents (I0, I1, I2).

Master Unified Monospace Report Console

Complete study report with Primary Fault Location Details, Post-Fault Bus Voltages, Multi-Bus Summary Table, and CEA 80% Margin Check with Copy and Save buttons.

Core Mathematical Formulation
$$I_k'' = \frac{c \cdot U_n}{\sqrt{3} \cdot |Z_{th}|}, \quad I_{sc,SLG} = \frac{3 \cdot c \cdot U_n / \sqrt{3}}{|Z^{(1)} + Z^{(2)} + Z^{(0)} + 3Z_f|}, \quad S_k'' = \sqrt{3} \cdot U_n \cdot I_k''$$
4

Contingency Analysis (CA - N-1 / N-k)

Grid Reliability · Security Assessment Standard: NERC TPL-001 / ENTSO-E Operational Security / IEEE 1459
Why Solve this Study? (Engineering Objective & Physical Importance)

Contingency Analysis evaluates grid resilience under the unexpected outage of critical power system assets (transmission lines, transformers, generators). By evaluating $N-1$ and $N-k$ outage combinations, it identifies single points of failure, computes post-contingency line loading, detects voltage collapse risks, and computes Line Outage Distribution Factors ($LODF$).

Verdict / Recommended Best: Full AC Contingency Screening is the BEST and only method that accurately predicts both thermal line overloads and bus voltage violations. DC Contingency Screening is recommended for initial fast ranking across thousands of lines.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 3.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Full AC Contingency Screening Solves full AC Newton-Raphson power flow for every single branch and generator outage. Quadratic per outage All transmission grids and compliance audits (NERC TPL) Higher computational time on 10,000+ branch grids BEST FOR ACCURATE RELIABILITY COMPLIANCE
DC Contingency (PTDF / LODF) Linearized DC power flow using pre-computed Line Outage Distribution Factors: $\Delta P_l = LODF_{l,k} \cdot P_k$. Instantaneous linear matrix multiply Fast automated contingency ranking and market screening Ignores reactive power, losses, and voltage collapse BEST FOR ULTRA-FAST INITIAL CONTINGENCY RANKING

Study Input Parameters, Options & Recommended Ranges

Table 3.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
contingency_type Option 1 str branch {'branch': Line/Transformer, 'gen': Generator, 'all': Branch + Gen} Asset category to screen for outages.
ranking_metric Option 2 str pi_v {'pi_v': Voltage Index, 'pi_mw': Thermal Index, 'composite': Both} Performance Index formulation used to rank contingency severity.
max_contingencies Option 3 int 100 [1, 5000] Maximum number of contingencies to evaluate in single run.
v_dip_thresh Option 4 float 0.05 [0.01, 0.20] Maximum allowable post-contingency bus voltage change ($\Delta V$) before flagging violation.
branch_rating_pcent Option 5 float 100.0 [80.0, 150.0] Emergency thermal rating threshold for branch overloads.
islanding_detection Option 6 int 1 (Enabled) {0: Disabled, 1: Enabled} Automatically isolates and flags electrical islands formed by line trips.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 3.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
contingency_id Contingency Identifier str Tag of tripped element (e.g. 'LINE_4_9' or 'GEN_1'). Identifies the single point of failure. res_contingency
max_overload_pct Worst Branch Overload float (%) Maximum post-outage thermal percentage on any remaining branch in the network. Triggers emergency dispatch. res_contingency
min_voltage_pu Worst Bus Voltage float (p.u.) Lowest post-outage bus voltage recorded across the grid. Verifies voltage stability margin. res_contingency
severity_index_pi Performance Index (PI) float Normalized severity ranking composite score. Ranks the most dangerous contingencies to top of operator queue. res_contingency
islands_formed Islands Count int Number of independent asynchronous electrical islands formed by the outage. res_contingency
How to See These Outputs in Real Time in DevEN Workstation:
Worst-Case Contingency Matrix

Dynamic matrix widget sorted from worst to mildest outage. Click any contingency to instantly see post-trip grid state on CAD canvas.

Post-Trip Overload Overlays

Overloaded branches pulse with red hatched highlights, showing emergency MVA loading and available relief options.

Core Mathematical Formulation
$$LODF_{l,k} = \frac{PTDF_{l,i} - PTDF_{l,j}}{1 - (PTDF_{k,i} - PTDF_{k,j})}, \quad PI_v = \sum_{i=1}^{N_{bus}} \left(\frac{|V_i| - V_{nom}}{\Delta V_{max}}\right)^{2m}$$
5

1-Phase Time Series Simulation (TS)

Quasi-Static Time-Series (QSTS) · Chronological Profiles Standard: IEEE Std 1547 / ANSI C84.1 / EN 50160 / IEC 60287 / CIGRE TB 299
Why Solve this Study? (Engineering Objective & Physical Importance)

Time Series Simulation evaluates the behavior of power systems across continuous chronological timelines (seconds, minutes, 24-hour daily profiles, weekly curves, or 8760-hour annual operations). While snapshot load flow only analyzes a single peak-demand instant, Time Series tracks real-world time-dependent dynamics:

  • Voltage Envelope Compliance: Verifies that bus voltages remain strictly within ANSI C84.1 Range A (0.95–1.05 p.u.) across varying load and midday solar generation cycles.
  • Thermal Ampacity Duration Curves: Identifies the exact duration (hours) transformers and underground cables operate near or above 100% rated capacity.
  • Cumulative Technical Energy Losses (MWh): Integrates active and reactive power losses over time to determine true economic losses rather than peak-instant estimates.
  • Renewable & BESS Coordination: Models PV solar intermittency, wind fluctuations, and battery energy storage charging/discharging dispatch schedules.
Verdict / Recommended Best: Sequential Newton-Raphson with Voltage Warm-Starting is the industry standard BEST choice. By initializing step $t_k$ from the solved state of step $t_{k-1}$, simulation executes 4–8x faster while maintaining full non-linear AC convergence accuracy.

Numerical Methods & Algorithms Comparison

Table 4.1 — Time Series Solver Evaluation
Algorithm / Method Mathematical Formulation Speed & Acceleration Best d For Limitations Verdict
Sequential Warm-Start NR (DevEN Default) Initializes step $t_k$ with solved state $\mathbf{V}(t_{k-1})$ and $\boldsymbol{\theta}(t_{k-1})$. Solves full AC Jacobian. 4–8x Faster (1–3 iters/step) Daily (24h) and annual (8760h) multi-period studies Requires fallback if step diverges RECOMMENDED BEST
Sequential Fast Decoupled (FDLF) Constant $B'$ and $B''$ admittance matrices; pre-factorized once for entire timeline. Ultra Fast (Matrix reuse) High-voltage transmission grids with high X/R ratios Inaccurate on high-R distribution cables FAST FOR TRANSMISSION
Independent Flat-Start Solves each time point independently starting from $1.0ngle 0^\circ$ p.u. Baseline (4–7 iters/step) Robust auto-recovery after abrupt topology switching High computational cost for 8760h FALLBACK MODE

Governing Physical Equations & Mathematical Formulations

Table 4.2 — Governing Physics
Physical Concept Governing Mathematical Equation Physical Meaning & Application
Time-Varying AC Power Balance $$P_i(t) - P_{Li}(t) = V_i(t) \sum_{k=1}^N V_k(t) [G_{ik}\cos\theta_{ik}(t) + B_{ik}\sin\theta_{ik}(t)]$$ $$Q_i(t) - Q_{Li}(t) = V_i(t) \sum_{k=1}^N V_k(t) [G_{ik}\sin\theta_{ik}(t) - B_{ik}\cos\theta_{ik}(t)]$$ Non-linear algebraic power flow balance enforced continuously at every time point $t \in [0, T]$.
Sequential Warm-Starting $$\mathbf{x}^{(0)}(t_k) = \mathbf{x}^*(t_{k-1}), \quad \mathbf{x} = [\boldsymbol{\theta}, \mathbf{V}]^T$$ Propagates the converged voltage state of step $t_{k-1}$ as the initial estimate for step $t_k$, reducing iterations to 1–2 per step.
Cumulative Energy Loss Integration $$E_{loss} = \sum_{k=1}^{M} P_{loss}(t_k) \cdot \Delta t \quad \text{[MWh]}$$ Calculates total technical energy losses over the simulation horizon for economic loss evaluation.
Profile Imputation Engine (13 Methods) $$P(t) = \text{Interpolate}(P_{raw}, t, \text{method})$$ Handles missing timestamps or mismatched sampling rates (supports Linear, PCHIP, Akima, Spline, Forward Fill, Mean).

Engineering Inputs & Solver Parameters

Table 4.3 — Parameters Reference
Parameter Default Value Allowable Range / Options Engineering Purpose
duration / unit 24.0 Hours Seconds, Minutes, Hours, Days Defines the total chronological study span (e.g. 24h daily dispatch, 168h weekly, 8760h annual).
step_size / unit 1.0 Hour 1s to 24h Temporal resolution between successive AC power flow evaluations.
csv_file None (Optional) Valid .csv file path Universal Time Series CSV containing chronological multiplier curves for loads, PV solar, and wind.
imputation_method linear linear, pchip, akima, spline, ffill Method used to interpolate between profile points when profile timestamps differ from simulation step size.
v_init_step warm warm, flat, initial Sequential initialization mode. 'warm' re-uses prior step solution for 4-8x acceleration.
continue_on_divergence True True / False Prevents batch failure; logs divergent timestamps and proceeds with remaining steps.
How to See Time Series Outputs in DevEN Workstation:
Time Series Tab

Dedicated study tab in DevEN interface allowing one-click duration setup, step configuration, and automated execution.

Universal CSV Template

Click 'Download Universal Template' to export pre-formatted CSV containing all network elements ready for profile entry.

HTML & CSV Reports

Generates rich interactive HTML report with voltage envelope charts, line loading curves, and complete hourly CSV exports.

6

Three-Phase Chronological Time Series (3P TS)

8760h Annual · Multi-Phase Solar & EV Dynamics Standard: IEEE 1547-2018 / IEEE PES Time Series Guidelines
Why Solve this Study? (Engineering Objective & Physical Importance)

Simulates continuous 24-hour diurnal or full 8760-hour annual grid operations where individual phases experience asynchronous load and generation swings. Accurately tracks transformer on-load tap changer (OLTC) mechanical wear per phase, battery storage cycling, and hours where rooftop PV injection pushes voltage unbalance above utility limits during midday solar peaks.

How to See These Outputs in Real Time in DevEN Workstation:
24-Hour 3-Phase Interactive Strip Chart

Plot $V_a(t), V_b(t), V_c(t)$ alongside $VUF\%(t)$ with pan, zoom, and threshold violation marker highlights.

OLTC Tap Step Histogram

Visualizes daily tap change counts for each regulating transformer to forecast substation maintenance intervals.

Core Mathematical Formulation
$$E_{loss}^{\phi} = \sum_{t=1}^{T} I_{\phi}(t)^2 R_{\phi} \Delta t, \quad \text{TAP}(t+1) = \text{TAP}(t) + f(\Delta V(t), \tau_{delay}), \quad \max_{t} VUF(t) \le 2.0\%$$
CLI Engine: DevEN_TS_Engine.exe --project network.sqlite --phases 3 --steps 8760 Multi-Core OpenMP Parallelized Time Steps
7

Hosting Capacity Analysis (HC)

Renewable Integration · Distributed Energy Standard: IEEE 1547-2018 / IEC 62786 / EPRI HC Framework
Why Solve this Study? (Engineering Objective & Physical Importance)

Hosting Capacity Analysis determines the maximum quantity of Distributed Energy Resources (Solar PV, Wind, EV Chargers, BESS) that can be connected to individual feeder buses without violating statutory grid limits (voltage rise $\gt 1.05$ p.u., conductor thermal capacity $\gt 100\%$, reverse power flow through substation transformers, or protection desensitization).

Verdict / Recommended Best: Iterative Feeder-Head Injection Scan is the utility BEST choice for interconnection approvals because it captures exact nonlinear voltage rise and tap changer interaction. Analytical Linear Sensitivity is best for wide-area regional screening.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 5.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Iterative Feeder-Head Injection Scan Progressively increments DER active power injection in steps ($\Delta P$) until any feeder voltage exceeds 1.05 p.u. or line loading exceeds 100%. Multi-run Newton-Raphson Feeder-by-feeder utility interconnection studies Requires solving power flow at each incremental MW step BEST FOR ACCURATE UTILITY INTERCONNECTION APPROVAL
Analytical Linearized Sensitivity ($dV/dP$) Computes hosting capacity analytically from inverted bus impedance sensitivity: $\Delta V = Z_{bus,ii} \cdot \Delta P$. Single-step matrix multiply High-level regional renewable potential mapping Approximation error increases near statutory voltage limits BEST FOR MACRO-LEVEL REGIONAL CAPACITY SCREENING
Stochastic Monte Carlo Placement Randomly distributes solar rooftop systems with probabilistic generation and load profiles. Probabilistic 1,000+ runs Urban residential low-voltage distribution planning High computation time BEST FOR PROBABILISTIC DISTRIBUTION PLANNING

Study Input Parameters, Options & Recommended Ranges

Table 5.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
max_der_mw Option 1 float 10.0 [0.1, 100.0] Maximum DER generation search upper bound in MW.
step_mw Option 2 float 0.25 [0.01, 5.0] MW step increment for iterative capacity scan.
power_factor Option 3 float 1.0 [-0.90, 1.0] Inverter power factor: 1.0 (unity), or 0.95 absorbing for Volt-VAr support.
v_upper_lim Option 4 float 1.05 [1.02, 1.10] Upper statutory voltage limit threshold in p.u. (ANSI C84.1 Range A).
v_lower_lim Option 5 float 0.95 [0.90, 0.98] Lower statutory voltage limit threshold in p.u.
thermal_lim_pct Option 6 float 100.0 [80.0, 120.0] Maximum allowable feeder branch thermal loading percentage.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 5.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
hc_mw Maximum Hosting Capacity float (MW) Maximum DER active power capacity allowable at this bus before violating any statutory limit. res_hc
limiting_factor Governing Constraint str Identifies root limitation: 'Overvoltage (1.05 p.u.)', 'Thermal Overload (100%)', or 'Substation Reverse Power'. res_hc
curtailment_risk Curtailment Risk Level str Assesses probability of solar PV curtailment during light load sunny hours ('LOW', 'MEDIUM', 'HIGH'). res_hc
volt_var_uplift_mw Volt-VAr Potential Uplift float (MW) Additional MW capacity unlocked by enabling smart inverter Volt-VAr reactive absorption ($Q(V)$). res_hc
How to See These Outputs in Real Time in DevEN Workstation:
Feeder Hosting Capacity Heatmap

Feeder nodes color-coded by allowable solar MW: DARK GREEN (> 5 MW), YELLOW (1-5 MW), RED (< 0.5 MW / Congested).

Limitation Breakdown Inspector

Clicking any bus displays whether voltage rise or cable ampacity is the binding constraint.

Core Mathematical Formulation
$$V_{DER} \approx V_{sub} + \frac{P_{DER} \cdot R_{feeder} + Q_{DER} \cdot X_{feeder}}{V_{sub}}, \quad P_{HC,max} = \frac{(V_{max} - V_{sub}) V_{sub}}{R_{feeder} + X_{feeder} an\phi}$$
8

Voltage & Power Sensitivity Analysis (SEN)

System Sensitivities · V-Q / P-V Slopes Standard: IEEE PES Task Force on Voltage Stability / CIGRE 397
Why Solve this Study? (Engineering Objective & Physical Importance)

Sensitivity Analysis computes the linearized mathematical response of power grid voltages, angles, and line loadings to incremental changes in generation, load, and reactive compensation ($dV/dQ, dV/dP, d\theta/dP$). It identifies weak grid areas prone to voltage instability, ranks candidate buses for capacitor/reactor installation, and generates Power Transfer Distribution Factors ($PTDF$) for market bidding.

Verdict / Recommended Best: Inverted Analytical Jacobian Sub-Matrix Inversion is the BEST method for local reactive margin and voltage stability assessment. PTDF / GSF DC Shift Factors are best for real-time market congestion screening.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 6.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Full Jacobian Inversion ($J^{-1}$) Inverts converged power flow Jacobian: $\begin{bmatrix} \Delta \theta \ \Delta V \end{bmatrix} = \begin{bmatrix} J_{P\theta} & J_{PV} \ J_{Q\theta} & J_{QV} \end{bmatrix}^{-1} \begin{bmatrix} \Delta P \ \Delta Q \end{bmatrix}$. Analytical matrix solve Weak bus identification and reactive power planning Valid only around the specific operating point BEST FOR VOLTAGE MARGIN & CAPACITOR SIZING
Power Transfer Distribution Factors (PTDF) Calculates branch power flow sensitivity to transaction between buses: $PTDF_{l,ij} = \frac{\Delta P_l}{P_i - P_j}$. Linear admittance solve ISO/RTO market management and export/import limits Assumes fixed nominal voltage and ignores reactive flow BEST FOR TRANSMISSION CAPACITY ALLOCATION
Modal / Eigenvalue Stability Analysis Computes eigenvalues ($\lambda_i$) and eigenvectors of reduced Jacobian matrix $J_R = J_{QV} - J_{Q\theta} J_{P\theta}^{-1} J_{PV}$. Sparse eigensolver Wide-area transmission voltage security analysis Requires specialized eigensolver library (ARPACK) BEST FOR SYSTEMIC VOLTAGE COLLAPSE RISK ASSESSMENT

Study Input Parameters, Options & Recommended Ranges

Table 6.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
bus_target Option 1 int 1 [1, 999999] Target bus index for evaluating injection sensitivity.
delta_q_mvar Option 2 float 1.0 [0.1, 50.0] Reactive power perturbation step in MVAr for numeric verification.
delta_p_mw Option 3 float 1.0 [0.1, 50.0] Active power perturbation step in MW.
monitored_branch Option 4 str 1-2 None or 'from-to' Branch monitored for transfer sensitivity ($PTDF$).
modal_eigenvalues Option 5 int 5 [1, 20] Number of smallest eigenvalues to compute for modal analysis.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 6.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
dv_dq V-Q Sensitivity Slope float (kV/MVAr) Rate of voltage change with reactive injection. Highest values identify the weakest buses in the grid. res_sensitivity
dv_dp V-P Sensitivity Slope float (kV/MW) Rate of voltage change with active power injection. Measures vulnerability to renewable curtailment. res_sensitivity
ptdf_factor Power Transfer Distribution Factor float Fraction of power transferred between bus A and B that flows across monitored line L. res_ptdf
min_eigenvalue Minimum Jacobian Eigenvalue float Magnitude of smallest eigenvalue $\lambda_{min}$. Approaches zero as system nears voltage collapse. res_modal
How to See These Outputs in Real Time in DevEN Workstation:
Weak Bus Ranking Dashboard

Sorts and displays the top 10 weakest buses requiring capacitor banks or STATCOM compensation.

Sensitivity Contour Gradient

Overlays smooth color gradient over geographic CAD canvas displaying wide-area voltage stiffness contours.

Core Mathematical Formulation
$$\mathbf{J}_R = \mathbf{J}_{QV} - \mathbf{J}_{Q\theta} \mathbf{J}_{P\theta}^{-1} \mathbf{J}_{PV}, \quad \Delta \mathbf{V} = \mathbf{J}_R^{-1} \Delta \mathbf{Q}, \quad \mathbf{J}_R = \mathbf{\Xi} \mathbf{\Lambda} \mathbf{\Psi}$$
9

Harmonic Analysis (HAR - IEEE 519 & IEC 61000)

Power Quality · THD/TDD · IEEE Std 519-2022 · IEC 61000-3-6 · Resonance Scan Standard: IEEE Std 519-2022 / IEC 61000-3-6 / IEEE 3002.8
Why Solve this Study? (Engineering Objective & Physical Importance)

Harmonic Analysis calculates voltage and current harmonic distortion caused by non-linear loads (variable frequency drives, 6-pulse / 12-pulse / 24-pulse rectifiers, electric arc furnaces, switched-mode power supplies, and renewable inverter systems). It performs multi-frequency decoupled nodal admittance solves [Y_bus(h) * V_bus(h) = I_inj(h)] with frequency-dependent modeling of branch conductor resistance (skin effect R1*sqrt(h)), shunt charging susceptance (h*B1), transformer leakage reactance, and passive filters. The engine computes Total Harmonic Distortion (THD_V, THD_I), Total Demand Distortion (TDD_I), Telephone Interference Factor (TIF), Transformer K-Factor (UL 1561), and performs driving-point impedance frequency scans [|Z(f)| vs f] to identify parallel resonance peaks and size passive mitigation filters.

Verdict / Recommended Best: Decoupled Multi-Frequency Direct Admittance Inversion [Y(h)^-1 * I(h)] is the globally recognized industry standard for harmonic penetration studies under IEEE 519 and IEC 61000. Driving-Point Impedance Scan [Z_ii(f)] with adaptive frequency step is best for detecting dangerous parallel resonance and sizing detuned filter reactors.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 9.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Decoupled Multi-Frequency Nodal Solver Assembles complex admittance matrix $\mathbf{Y}_{bus}(h)$ for each harmonic order $h$ ($h = 2, 3, \dots, 50$) with skin effect $R(h) = R_1 \sqrt{h}$ and $X(h) = h X_1$. Solves $\mathbf{V}(h) = \mathbf{Y}_{bus}(h)^{-1} \mathbf{I}_{bus}(h)$ independently per harmonic frequency. Direct sparse LU solve All transmission, distribution, and industrial power systems Requires harmonic spectrum data for non-linear loads MANDATED STANDARD FOR IEEE 519 COMPLIANCE
Driving-Point Frequency Scan (Resonance Scan) Injects unit 1.0 A current across continuous frequency spectrum (50 Hz to 2500 Hz in user-defined steps) at target bus to compute driving-point impedance magnitude $|Z(f)| = |V_{scan}(f)|$. Multi-frequency sweep Capacitor bank placement, harmonic filter tuning, PFC design Identifies resonance frequencies $f_r$ and amplification factors BEST FOR RESONANCE RISK DETECTION & FILTER SIZING
Passive Harmonic Filter Synthesis Synthesizes passive filter topologies: single-tuned $R-L-C$, second-order high-pass, and C-type filters. Automatically calculates notch frequency $f_n = 1 / (2\pi \sqrt{LC})$, quality factor $Q = X_0 / R$, and fundamental reactive MVAr injection. Analytical filter synthesis Industrial facilities with high VFD / arc furnace penetration Sizes filter components based on required reactive MVAr and targeted harmonic order BEST FOR HARMONIC MITIGATION DESIGN

Study Input Parameters, Options & Recommended Ranges

Table 9.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
max_harmonic Option 1 int 50 [25, 100] Maximum harmonic order evaluated (typically 50th order / 2500 Hz for 50 Hz, 3000 Hz for 60 Hz).
fundamental_freq Option 2 float 50.0 {50.0: 50 Hz, 60.0: 60 Hz} Nominal system fundamental operating frequency in Hertz.
skin_effect Option 3 bool True (Enabled) {True: Enabled, False: Disabled} Applies skin effect resistance correction to branch conductors: R(h) = R_1 * sqrt(h).
scan_start_hz Option 4 float 50.0 [10.0, 500.0] Starting frequency for driving-point impedance scan in Hertz.
scan_end_hz Option 5 float 2500.0 [500.0, 5000.0] Ending frequency for driving-point impedance scan in Hertz.
scan_step_hz Option 6 float 2.0 [0.5, 25.0] Frequency sweep resolution step size in Hertz.
scan_bus Option 7 int 1 [1, 999999] Target bus index for driving-point impedance scan and resonance detection.
ieee519_pcc_bus Option 8 int 1 [1, 999999] Designated Point of Common Coupling (PCC) bus index for IEEE 519 compliance verification.
isc_il_ratio Option 9 float 50.0 [10.0, 1000.0] Short-circuit ratio I_sc / I_L at the PCC determining IEEE 519 allowable harmonic distortion limits.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 9.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
thd_v_pct Bus Voltage THD (%THD_V) float (%) Total harmonic voltage distortion across all evaluated orders: THD_V = sqrt(sum(V_h^2)) / V_1 * 100%. Flags buses exceeding IEEE 519 limit (5.0% or 8.0%). res_harmonic_bus
individual_vhd_pct Individual Harmonic Distortion (%VHD_h) float (%) Distortion per harmonic order (h=3, 5, 7, 11, 13, etc.). IEEE 519 enforces 3.0% maximum per order. res_harmonic_spectrum
thd_i_pct Branch Current THD (%THD_I) float (%) Total harmonic current distortion flowing through lines, cables, and transformers. res_harmonic_branch
tdd_i_pct Total Demand Distortion (TDD %) float (%) Harmonic current distortion evaluated against maximum customer demand load current (I_L) at the PCC. res_harmonic_branch
k_factor Transformer K-Factor float Underwriters Laboratories (UL 1561) rating metric for eddy-current heating in transformers supplying non-linear loads. res_harmonic_trafo
tif Telephone Interference Factor (TIF) float Weighting metric for audio-frequency telephone circuit inductive interference from nearby power lines. res_harmonic_bus
parallel_resonance_peaks Parallel Resonance Peak Frequencies list (Hz, Ω) Identifies frequencies where system impedance peaks, causing extreme voltage amplification. res_harmonic_scan
ieee519_status IEEE Std 519 Compliance Status str Overall compliance verdict at the PCC: 'COMPLIANT' or 'VIOLATION' with breakdown of offending orders. res_harmonic_summary
How to See These Outputs in Real Time in DevEN Workstation:
Interactive Bus THD & %VHD Table

Real-time table displaying THD_V (%), individual harmonic orders (3rd, 5th, 7th, 11th, 13th, etc.), and color-coded IEEE 519 status (PASS / VIOLATION).

Branch Flow & Transformer K-Factor Dock

Displays branch harmonic current flows (A), %THD_I, TDD (%), and UL K-factor ratings to prevent transformer overheating.

Dynamic Frequency Scan & Resonance Curve

Interactive canvas plot of driving-point impedance magnitude |Z(f)| (ohms) vs frequency (Hz) with automated resonance peak tagging.

Harmonic Source & Filter Library Dialog

Modal dialog to inspect, add, or configure non-linear harmonic sources (Amp RMS, % Fund, p.u.) with preset wave libraries (6-pulse, 12-pulse, VFD, arc furnace) and passive R-L-C filters.

Core Mathematical Formulation
$$\mathbf{Y}_{bus}(h) \mathbf{V}_{bus}(h) = \mathbf{I}_{bus}(h), \quad \text{THD}_V = \frac{\sqrt{\sum_{h=2}^{H} V_h^2}}{V_1} \times 100\%, \quad K\text{-Factor} = \frac{\sum_{h=1}^H I_h^2 h^2}{\sum_{h=1}^H I_h^2}$$
10

Arc Flash Hazard Analysis (AF - IEEE 1584)

Personnel Safety · Incident Energy Standard: IEEE 1584-2018 / NFPA 70E-2024 / OSHA 1910.269
Why Solve this Study? (Engineering Objective & Physical Importance)

Arc Flash Analysis calculates the thermal incident energy ($cal/cm^2$) released during an arcing fault in electrical equipment (switchgear, MCCs, panelboards). It determines the Arc Flash Boundary (AFB) distance, assigns Personal Protective Equipment (PPE) Categories (1 through 4), and generates compliant equipment warning labels required by OSHA.

Verdict / Recommended Best: The IEEE 1584-2018 Empirical Model is the globally mandated BEST method for systems from 208V to 15kV. The Lee Theoretical Model is used only as a fallback for high-voltage open-air transmission substations above 15kV.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 8.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
IEEE 1584-2018 Empirical Model Five electrode configurations (VCB, VCBB, HCB, VOA, HOA) derived from 1,800+ physical arc explosion lab tests. Nonlinear logarithmic regression All low-voltage and medium-voltage switchgear (208V to 15kV) Complex iterative calculation of arcing current $I_{arc}$ MANDATED STANDARD FOR INDUSTRIAL SWITCHGEAR
Lee Theoretical Model Open-air theoretical radiant spherical power dissipation: $E = 2.142 \times 10^6 V I_{bf} t / d^2$. Closed-form analytical Outdoor transmission switchyards and open-air busbars Severely over-predicts incident energy inside metal-clad enclosures BEST FOR OUTDOOR OPEN-AIR TRANSMISSION YARDS

Study Input Parameters, Options & Recommended Ranges

Table 8.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
bus_id Option 1 int 1 [1, 999999] Target bus or switchgear enclosure to evaluate.
working_dist_mm Option 2 float 457.2 [304.8, 914.4] Working distance between worker and arc source (457.2 mm = 18 inches).
gap_mm Option 3 float 32.0 [13.0, 152.0] Conductor gap between phases in mm (e.g. 32 mm for 480V switchgear).
box_width_mm Option 4 float 508.0 [254.0, 1270.0] Enclosure box width in mm (508 mm = 20 inches).
box_height_mm Option 5 float 508.0 [254.0, 1270.0] Enclosure box height in mm.
electrode_config Option 6 str VCB {'VCB': Vertical in Box, 'VCBB': Vert + Barrier, 'HCB': Horizontal in Box, 'VOA': Vert Open, 'HOA': Horiz Open} Electrode orientation inside switchgear.

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 8.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
incident_energy_cal Incident Thermal Energy (E) float (cal/cm²) Thermal energy delivered to worker's chest at working distance. Determines exact NFPA 70E PPE rating required. res_arcflash
afb_mm Arc Flash Boundary (AFB) float (mm / inches) Distance at which incident energy drops to onset of second-degree burn (1.2 cal/cm²). Unqualified personnel must remain outside this boundary. res_arcflash
ppe_category NFPA 70E PPE Category int (1, 2, 3, 4, or DANGER) Official safety category (Cat 1: 4 cal, Cat 2: 8 cal, Cat 3: 25 cal, Cat 4: 40 cal, DANGER: >40 cal/cm²). res_arcflash
i_arc_ka Arcing Current ($I_{arc}$) float (kA rms) Actual sustained current through the electric arc in air (always lower than bolted short-circuit current). res_arcflash
trip_time_s Protective Clearing Time ($t$) float (seconds) Time required for upstream breaker/fuse to extinguish the arc. Directly proportional to total incident energy. res_arcflash
How to See These Outputs in Real Time in DevEN Workstation:
Arc Flash Warning Label Designer

Generates compliant, printable ANSI/OSHA adhesive warning labels with QR code, incident energy, PPE category, and boundaries.

3D Switchgear Safety Zone View

Displays expanding spherical arc flash boundary zones around 3D switchgear models on the CAD canvas.

Core Mathematical Formulation
$$\log_{10} I_{arc} = k_1 + k_2 \log_{10} I_{bf} + k_3 \log_{10} G, \quad E = 12.552 \times 10^{A + B \log_{10} I_{arc} + C \log_{10} d} \cdot \left(\frac{t}{0.2}\right) \cdot CF$$
11

BESS Battery Energy Storage Dispatch

Time-Series Optimization · SOC Tracking Standard: IEEE 2030.2.1 / IEC 62933-2 / EPRI Energy Storage
Why Solve this Study? (Engineering Objective & Physical Importance)

BESS Dispatch optimizes the charging and discharging schedule of utility-scale battery energy storage systems across a 24-hour to 7-day operational horizon. It models battery degradation, maintains State of Charge (SOC) within safe operational boundaries, maximizes energy arbitrage revenue, performs solar/wind peak smoothing, and provides spinning reserve.

Verdict / Recommended Best: Linear Programming (LP) using the HiGHS or CLP interior-point solver is the industry BEST choice for economic dispatch. Mixed-Integer Linear Programming (MILP) is preferred when binary charge/discharge interlocks are strictly required.

Numerical Methods & Algorithms Comparison (Why those methods & Which is Best)

Table 7.1 — Solver Method Evaluation
Algorithm / Method Mathematical Formulation Convergence Rate Best d For Limitations / Trade-offs Verdict
Linear Programming (LP / HiGHS) Formulates continuous multi-period convex cost objective subject to linear battery efficiency and SOC bounds. Polynomial $O(N^3)$ Utility economic arbitrage and peak shaving scheduling Requires separate linear penalty to prevent simultaneous charge/discharge BEST FOR WHOLESALE ARBITRAGE & ANNUAL DISPATCH
Mixed-Integer Linear Programming (MILP) Adds binary status flags ($u_{chg}, u_{dis} \in \{0, 1\}$) to strictly forbid simultaneous charging and discharging. Branch-and-bound Rigorous contract modeling and ancillary service bidding Computation time scales exponentially with time steps BEST FOR CONTRACT BINDING & MICROGRID CONTROL
Rule-Based Threshold Dispatch Heuristic logic: charge when solar generation exceeds feeder load, discharge when substation load exceeds setpoint. Instantaneous logic Behind-the-meter industrial peak shaving Sub-optimal economic yield compared to LP/MILP BEST FOR EMBEDDED CONTROLLER DEPLOYMENT

Study Input Parameters, Options & Recommended Ranges

Table 7.2 — Configuration Options
Option / Param CLI Slot Data Type Default Value Recommended Range Engineering Impact & Description
mode Option 1 str peak_shaving {'peak_shaving': Peak Cut, 'arbitrage': Price Arbitrage, 'smoothing': Renewable Firming} Operational dispatch strategy.
soc_min Option 2 float 0.10 [0.05, 0.30] Minimum allowable state of charge (10% to prevent deep cycle degradation).
soc_max Option 3 float 0.90 [0.70, 1.00] Maximum allowable state of charge (90% to prevent thermal stress).
efficiency Option 4 float 0.92 [0.75, 0.98] Round-trip battery converter and electrochemical efficiency.
peak_price_start Option 5 int 17 [0, 23] Start hour for peak price tariff window (e.g. 17:00).
peak_price_end Option 6 int 21 [0, 23] End hour for peak price tariff window (e.g. 21:00).

Study Outputs & Engineering Meaning (What are those outputs & Why?)

Table 7.3 — Simulation Outputs
Output Variable Description Data Type & Unit Why is this output needed? (Physical & Safety Meaning) Storage Table
p_bess_profile Hourly Dispatch Schedule P(t) array [MW] Optimized active power output (+discharging, -charging) for each hour of the operational schedule. res_bess
soc_profile State of Charge Timeline SOC(t) array [%] Hourly battery energy inventory, verifying SOC remains strictly within statutory 10%-90% limits. res_bess
arbitrage_revenue Net Arbitrage Revenue float ($) Total economic profit generated by charging at off-peak tariff and discharging at peak tariff. res_bess
peak_shaved_mw Peak Demand Reduction float (MW) Substation maximum load reduction achieved, lowering utility demand charges. res_bess
cycle_count Equivalent Full Cycles float Number of full charging cycles completed, used to estimate battery cell degradation and lifetime. res_bess
How to See These Outputs in Real Time in DevEN Workstation:
Interactive 24-Hour SOC & Power Chart

Dual-axis time-series chart showing battery SOC curve (blue) synchronized with charge/discharge MW bars (green/red) and tariff price line (amber).

Real-Time Microgrid BESS Gauge

Circular gauge on CAD canvas displaying instantaneous battery SOC % and remaining energy (MWh) at POI.

Core Mathematical Formulation
$$SOC(t) = SOC(t-1) + \left( \eta_{chg} P_{chg}(t) - \frac{P_{dis}(t)}{\eta_{dis}} \right) \frac{\Delta t}{E_{rated}}, \quad SOC_{min} \le SOC(t) \le SOC_{max}$$
12

Total & Available Transfer Capability (TTC / ATC)

Inter-Area Power Transfer · NERC Compliance · N-1 Constrained Standard: NERC MOD-001-1a / MOD-029 / FERC Order 888
Why Solve this Study? (Engineering Objective & Physical Importance)

Determines the physical maximum electric power (MW) that can be reliably transferred between two control areas or across a transmission interface without violating thermal branch ratings, bus voltage thresholds, or system angular stability under normal (N-0) and all single contingency (N-1) outage conditions. Formulates commercial transfer margins for open-access transmission service.

Study Outputs & Commercial Transfer Metrics

Table 12.1 — NERC Transfer Capabilities
Metric Description Type & Unit Engineering & Grid Security Meaning Storage Table
TTC Total Transfer Capability float (MW) Maximum MW transferable across transmission interface before any branch or voltage limit binds. res_ttc_atc
ATC Available Transfer Capability float (MW) Commercial power remaining for trade after reserving TRM, CBM, and existing commitments: $ATC = TTC - TRM - CBM - ETC$. res_ttc_atc
limiting_element Bottleneck Branch / Outage text Identifies specific critical transmission line or transformer that overloads first, preventing further transfer increase. res_ttc_atc
Core Mathematical Formulation
$$ATC = TTC - TRM - CBM - ETC, \quad PTDF_{ij,mn} = \frac{\Delta P_{ij}}{\Delta P_{m o n}}, \quad OTDF_{ij,mn}^k = PTDF_{ij,mn} + LODF_{ij,k} \cdot PTDF_{k,mn}$$
CLI Engine: DevEN_TTC_Engine.exe --project network.sqlite --source Area1 --sink Area2 Iterative AC-Newton Raphson & Linear OTDF Fast Screening
13

Continuation Power Flow & Voltage Stability (CPF)

P-V Nose Curves · Saddle-Node Bifurcation · Blackout Margin Standard: IEEE Std 3002.1 / IEEE PES Voltage Stability Guidelines
Why Solve this Study? (Engineering Objective & Physical Importance)

Conventional Newton-Raphson solvers diverge near the maximum transfer limit because the standard power flow Jacobian matrix becomes singular ($\det(\mathbf{J}) o 0$). Continuation Power Flow (CPF) overcomes this limitation using a predictor-corrector continuation technique with an augmented parameter state space. It traces the full upper and lower branches of P-V and Q-V curves, identifying the exact voltage collapse point (saddle-node bifurcation), calculating the MW/MVAr distance to collapse, and pinpointing the most vulnerable load buses in the network.

Core Mathematical Formulation
$$\mathbf{F}(\mathbf{x}, \lambda) = \mathbf{0}, \quad \begin{bmatrix} \mathbf{J} & -\mathbf{K} \ \mathbf{t}_k & \tau_k \end{bmatrix} \begin{bmatrix} d\mathbf{x} \ d\lambda \end{bmatrix} = \begin{bmatrix} \mathbf{0} \ 1 \end{bmatrix}, \quad \mathbf{x}_{corr} = \mathbf{x}_{pred} - \mathbf{J}_{aug}^{-1} \mathbf{F}_{aug}$$
CLI Engine: DevEN_CPF_Engine.exe --project network.sqlite --step 0.05 --lambda-max 3.0 Tangent Predictor & Orthogonal Continuation Corrector
14

Dynamic Motor Starting Analysis (MS)

Direct-On-Line · Soft Starters · Voltage Dip Flicker Standard: IEEE Std 3002.7 / NEMA MG 1 / API 541 / IEEE 399
Why Solve this Study? (Engineering Objective & Physical Importance)

When large induction or synchronous motors start from rest, they draw massive locked-rotor currents ($500\% - 700\%$ of rated full-load current). This sudden low-power-factor surge causes deep voltage dips across the plant distribution bus. Severe voltage sags can cause adjacent running motors to stall, drop out critical contactors, flicker plant illumination, or prevent the starting motor from developing sufficient acceleration torque to reach rated speed.

Core Mathematical Formulation
$$J \frac{d\omega}{dt} = T_e(\omega, V) - T_L(\omega), \quad T_e \propto V^2, \quad \Delta V_{bus}\% \approx \frac{S_{start}}{S_{sc} + S_{start}} \times 100\%$$
CLI Engine: DevEN_MS_Engine.exe --project network.sqlite --motor-id MOT_101 --starter soft Runge-Kutta 4th Order Electromechanical Solver
15

Substation Ground Grid Design (GND)

Human Safety · Touch & Step Potentials · Soil Resistivity Standard: IEEE Std 80-2013 / IEEE Std 81 / IEC 60479-1
Why Solve this Study? (Engineering Objective & Physical Importance)

During earth faults at high-voltage substations, massive ground currents flow through the grounding electrode grid into the surrounding earth, creating dangerous potential gradients on the ground surface. Ground Grid Analysis calculates grid resistance ($R_g$), Ground Potential Rise (GPR), Mesh Voltage ($E_m$), and Step Voltage ($E_s$). It verifies that touch and step voltages remain strictly below lethal ventricular fibrillation thresholds for human bodies (50 kg and 70 kg models) under IEEE 80-2013 safety limits.

Core Mathematical Formulation
$$R_g = \rho \left[ \frac{1}{L_T} + \frac{1}{\sqrt{20 A}} \left(1 + \frac{1}{1 + h \sqrt{20/A}}\right) \right], \quad E_{touch50} = \frac{1000 + 1.5 C_s \rho_s}{\sqrt{t_s}} \times 0.116$$
CLI Engine: DevEN_GND_Engine.exe --project network.sqlite --grid-id SUB_GND_01 Sverak & Schwarz Analytical Mesh Integration
16

Distribution Reliability Evaluation (REL)

SAIFI · SAIDI · CAIDI · ASAI · EENS MWh Standard: IEEE Std 1366 / IEEE Std 493 (Gold Book)
Why Solve this Study? (Engineering Objective & Physical Importance)

Quantifies customer power supply continuity and long-term service reliability across medium- and low-voltage distribution networks. Based on component historical failure rates ($\lambda$ in failures/km/yr), mean repair durations ($r$), and automated recloser switching actions, it computes regulatory performance indices mandated by public utility commissions, including SAIFI, SAIDI, CAIDI, and Expected Energy Not Served (EENS in MWh/yr).

Core Mathematical Formulation
$$\text{SAIFI} = \frac{\sum \lambda_i N_i}{\sum N_i}, \quad \text{SAIDI} = \frac{\sum r_i \lambda_i N_i}{\sum N_i}, \quad \text{CAIDI} = \frac{\text{SAIDI}}{\text{SAIFI}}, \quad \text{EENS} = \sum L_i \lambda_i r_i$$
CLI Engine: DevEN_REL_Engine.exe --project network.sqlite --reclosers auto FMEA Failure Mode & Effects Analysis Algorithm