Expand description
Sparse matrix and graph projections from PowerIO networks.
Outputs include signed incidence, weighted bus Laplacian, MATPOWER Bp/Bpp,
Y bus, PTDF, LODF, adjacency, and LACPF views. Calculations take the
dense IndexedNetwork view of a BalancedNetwork. Parsing and emitting
belong to the top level powerio facade; this crate owns derived matrix and
graph calculations.
use powerio_core::Source;
use powerio_matrix::{BuildOptions, IndexedNetwork, calc_bprime_matrix};
use powerio_tx::parse;
let net = parse(Source::open(case)?)?.into_value();
let g = IndexedNetwork::new(&net); // dense [0, n) analysis view
let bprime = calc_bprime_matrix(&g, &BuildOptions::default())?;
assert_eq!(bprime.rows(), g.n()); // Bp is n×n§Conventions
Public DC operators follow PowerModels: an inductive branch has negative
b. Their branch by bus incidence matrix A_pm gives
B = A_pmᵀ diag(b) A_pm, with nonpositive diagonals and nonnegative
off-diagonals. Solver preparation retains its bus by branch factor
A_s = A_pmᵀ and uses w = -b, so the sparse factor is the positive
M-matrix L = A_s diag(w) A_sᵀ = -B. Source bus IDs remain on the model;
IndexedNetwork maps them to dense indices in [0, n).
tap == 0 means tap = 1. calc_bprime_matrix and
calc_bdoubleprime_matrix follow MATPOWER makeB; Y_bus keeps tap
magnitudes and phase shifts. Branch
terminal admittance is stored per unit. The default public DC formula is
b = -x/(r² + x²). BranchSusceptanceFormula::TapAdjustedReactance uses
b = -1/(x·τ); both carry phase shift injection.
BranchSusceptanceFormula::TapAdjustedSeriesSusceptance divides the series
coefficient by the tap; BranchSusceptanceFormula::SeriesSusceptanceNoPhaseShift
ignores taps and shifts to match PowerModels DCP. The full reference is in
the matrix guide.
Re-exports§
pub use error::ElementCounts;pub use error::Error;pub use error::PiecewiseCostInvalidity;pub use error::Result;pub use error::ScenarioMismatch;pub use matrix::multiconductor::AugmentedSystem;pub use matrix::multiconductor::DistNode;pub use matrix::multiconductor::GroundedNeutral;pub use matrix::multiconductor::MulticonductorAdmittance;pub use matrix::multiconductor::MulticonductorNodeIndex;pub use matrix::multiconductor::NetworkPrimitives;pub use matrix::multiconductor::NodeRef;pub use matrix::multiconductor::PassiveFamily;pub use matrix::multiconductor::PassivePrimitive;pub use matrix::multiconductor::assemble_multiconductor_admittance;pub use matrix::multiconductor::calc_capacitor_primitive_admittance;pub use matrix::multiconductor::calc_line_primitive_admittance;pub use matrix::multiconductor::calc_multiconductor_admittance_matrix;pub use matrix::multiconductor::calc_passive_primitives;pub use matrix::multiconductor::calc_shunt_primitive_admittance;pub use matrix::multiconductor::scatter_primitive_admittance;pub use matrix::BuildOptions;pub use matrix::GroundedIndexMap;pub use matrix::GroundedLaplacianFactor;pub use matrix::Grounding;pub use matrix::IslandPtdf;pub use matrix::MatrixStats;pub use matrix::Scheme;pub use matrix::SensitivityMatrices;pub use matrix::SensitivityMatrixMetadata;pub use matrix::SensitivityMetadata;pub use matrix::SensitivityOptions;pub use matrix::SensitivitySolver;pub use matrix::SensitivitySolverPath;pub use matrix::ZeroImpedanceRule;pub use matrix::ZeroImpedanceSkips;pub use matrix::calc_adjacency_matrix;pub use matrix::calc_admittance_matrix;pub use matrix::calc_bdoubleprime_matrix;pub use matrix::calc_bprime_matrix;pub use matrix::calc_diagonal;pub use matrix::calc_edge_flows;pub use matrix::calc_edge_laplacian_product;pub use matrix::calc_lacpf_matrix;pub use matrix::calc_lodf;pub use matrix::calc_lodf_columns;pub use matrix::calc_ptdf;pub use matrix::calc_ptdf_by_island;pub use matrix::calc_ptdf_columns;pub use matrix::calc_ptdf_lodf;pub use matrix::calc_ptdf_lodf_with_options;pub use matrix::calc_ptdf_rows;pub use matrix::calc_reference_indicator;pub use matrix::calc_solver_branch_flow_matrix;pub use matrix::calc_susceptance_diagonal;pub use matrix::calc_unit_vector;pub use matrix::calc_weighted_laplacian;pub use matrix::calc_zero_impedance_skips;pub use matrix::check_sddm;pub use matrix::ground_at;pub use matrix::ground_at_each;pub use pipeline::MatrixKind;pub use pipeline::Pipeline;pub use pipeline::PipelineOutputs;pub use pipeline::RhsKind;pub use pipeline::calc_matrix;pub use pipeline::calc_matrix_stats_for_kind;pub use pipeline::calc_zero_impedance_skips_for_kind;pub use pipeline::sanitize_stem;pub use pipeline::select_zero_impedance_rule_for_kind;pub use io::gridfm::GridfmDataset;pub use io::gridfm::GridfmOptions;pub use io::gridfm::GridfmOutputs;pub use io::gridfm::GridfmSnapshot;pub use io::gridfm::GridfmTables;pub use io::gridfm::build_gridfm_batch;pub use io::gridfm::build_gridfm_dataset;pub use io::gridfm::emit_gridfm_batch;pub use io::gridfm::emit_gridfm_dataset;pub use io::gridfm::number_snapshots;pub use io::gridfm::to_gridfm_record_batches;pub use io::gridfm::to_gridfm_record_batches_single;
Modules§
- diagnostics
- The codes this crate emits.
- error
- Failures the matrix and dataset builders raise.
- io
- File I/O: Matrix Market (
.mtx) and JSON metadata, plus the gridfm-datakit Parquet export (--features gridfm). - matrix
- Sparse matrix calculations for power system cases.
- pipeline
- Orchestrates a single case → output directory.
- synth
- Deterministic synthetic network generators.
Structs§
- AcBranch
Data - Branch data in active branch column order.
- AcBranch
Flows - Terminal branch flows in active branch column order, in the
preparation’s power unit:
S_f = pf + j qfenters the branch at its from bus andS_t = pt + j qtat its to bus. - AcBus
Data - Bus data in dense bus order.
- AcGenerator
Data - Generator data in generator column order.
- AcOpf
Assembly Options - Assembly choices that select the numerical content derived from an AC instance without changing the instance itself. There is no convention field: the branch pi model always carries taps, shifts, and charging.
- AcOpf
Preparation - Matrix free AC OPF input data on the branch pi model.
- AcPf
Assembly Options - Assembly choices for an AC power flow instance.
- AcPf
BusData - Bus values needed to start and evaluate an AC power flow.
- AcPf
Generator Data - Generator data used by PV to PQ reactive limit handling.
- AcPf
Preparation - Matrix free AC power flow input on the branch pi model.
- AcStorage
Data - Storage data in active storage column order.
- Affine
Scalar Coefficients - Real affine scalar
constant + coefficients' * w. - Balanced
Network - A balanced network with stable source bus IDs and separate element tables: an immutable cheap to clone owning handle over private shared tables.
- Branch
- Bus
- BusId
- A source bus ID, preserved from the input format.
- BusPower
Injection - The bus power injection
S = diag(V) conj(Y V)at one voltage point:pandqin bus row order, per unit on the admittance’s base. It also keeps the voltages, per bus angle cosines and sines, and currentsI = Y Vit was formed from, soPowerFlowJacobian::update_from_injectionrefreshes the Jacobian at the same point without recomputing them. - Closure
Injection - An injection that closes one bus’s stated-state mismatch.
- Connection
Power Map - Reference-frozen map from physical channel powers to terminal powers.
- Connectivity
Report - Topological invariants the TUI Inspect screen and downstream solvers care about.
- Cross
Voltage Coefficients - Affine closure
c + a w_phi + b w_psifor one cross-voltage product. - DcBranch
Parameters - Branch parameters in active branch column order.
- DcGenerator
Parameters - Generator parameters in generator column order.
- DcOperator
Options - Build options for
DcOperators. - DcOperators
- DC matrix operations built once from an instance.
- DcOpf
Assembly Options - Assembly choices that select the numerical content derived from an instance without changing the instance itself.
- DcOpf
Bundle Metadata - Cost policy information recorded in a bundle manifest.
- DcOpf
Bundle Options - Options that affect bundle output without changing the instance.
- DcOpf
Matrices - Sparse matrices for a DC OPF instance.
- DcOpf
Outputs - DcOpf
Preparation - Matrix free DC OPF input data.
- GenCost
- A generator cost curve (
mpc.gencostrow). - Generator
- Hvdc
- Index
Core - The owned, network-independent derivation behind
IndexedNetwork: the dense bus-id map plus the per-bus demand/shunt aggregates. Build it once withIndexCore::buildand reuse it across manyIndexedNetwork::with_coreviews of the sameBalancedNetwork. - Indexed
Network - A
BalancedNetworkpaired with its derivedIndexCore. The network is borrowed for the common case, but owned when it had to be star-lowered (a 3-winding transformer expanded into a star bus plus three branches viaBalancedNetwork::expand_transformers_3w); the core is owned (IndexedNetwork::new) or borrowed from a cachedIndexCore(IndexedNetwork::with_core). - LinDist3
Flow Affine Expression - An affine scalar over the prepared squared-voltage variables.
- LinDist3
Flow Balance Equation - One equality expression constrained to zero.
- LinDist3
Flow Balance Row - Active and reactive KCL at one retained bus terminal.
- LinDist3
Flow Balance Term - One coefficient on a semantic decision variable.
- LinDist3
Flow Complex Affine Power - Active and reactive affine power expressions.
- LinDist3
Flow Conic Problem - Complete conic program structure in stable PowerIO variable order.
- LinDist3
Flow Device Data - All device rows and the fully expanded nodal balances.
- LinDist3
Flow Dispatch Channel - Bounds, objective coefficient, and SOC data for one dispatch channel.
- LinDist3
Flow Equality - One affine equality
expression == 0. - LinDist3
Flow Generator Data - One dispatchable generator and its terminal allocation.
- LinDist3
Flow Line Data - One coupled line block in the solver-neutral network data.
- LinDist3
Flow Linear Expression constant + terms' * xin canonical variable order.- LinDist3
Flow Linear Term - One coefficient in a canonical affine expression.
- LinDist3
Flow Load Data - One physical load and its reference-frozen terminal allocation.
- LinDist3
Flow Network Data - Numerical rows for the voltage, line-drop, and line SOC portion of L3F.
- LinDist3
Flow Node Data - One squared-voltage variable row in the solver-neutral network data.
- LinDist3
Flow Preparation - Complete solver-neutral preparation for the currently supported L3F slice.
- LinDist3
Flow Scaling - Diagonal coordinate maps applied to the canonical SI program.
- LinDist3
Flow Shunt Data - One affine terminal shunt-power row.
- LinDist3
Flow Source Data - One voltage source. Its channel powers inject directly at corresponding
terminals; the squared voltages are fixed in
LinDist3FlowNetworkData. - LinDist3
Flow Standard Form - Clarabel-compatible sparse conic data plus its semantic source model.
- LinDist3
Flow Standard Form Options - Numerical coordinate choices for the sparse solver program.
- LinDist3
Flow Variable Data - One variable column, including its native bound and objective data.
- LinDist3
Flow Voltage Term - One coefficient on a squared-voltage variable.
- Line
Drop Coefficients - Real coefficient blocks in
w_child = w_parent - M p - N q. - Load
- McAc
OpfAssembly Options - Explicit system bases; no physical bound is inferred from these values.
- McAc
OpfPreparation - Canonical IVR coefficients. These contain no optimizer or expression types.
- McOpf
Angle Limit - Centered angle of
V[first] * conj(V[second]), in radians. - McOpf
Branch - A line or ideal switch, with dense local conductor matrices.
- McOpf
Coil - One two-terminal coil; a missing negative terminal means physical ground.
- McOpf
Complex Row - Complex affine expression with no constant term. Coefficients are
[real, imaginary]. Voltage indices address preparation.terminals; current indices address the owning transformer’s coils. Rows of equations are constrained to zero. - McOpf
Device - McOpf
Droop - Smooth clipped piecewise-linear controller, with SI-derived per-unit knots.
- McOpf
Droop Hinge - One softplus corner of a droop curve: it adds
coefficient · width · softplus((v − knot) / width)to the control power at the monitored voltagev(McOpfDroopTerms). - McOpf
Droop Terms - A droop curve as a sum:
constant + Σ hinges(McOpfDroop::calc_terms). A segment of zero slope adds no hinge. - McOpf
Droop Value - The value and slope of a smoothed droop curve, and the response of both
to a parameter direction (
McOpfDroop::calc_parameter_derivative). - McOpf
Load Law - A sum of voltage power laws: coefficient times (|U|/nominal)^exponent. Coefficients are per-unit power; exponents are dimensionless.
- McOpf
Load LawProjection - One load whose voltage-bounded law was replaced by its nominal law.
- McOpf
Shunt - McOpf
Terminal - A source terminal in canonical bus/terminal order.
- McOpf
Transformer - Winding-current equations, ports and optional continuous tap parameter.
Each row is
equations[k] + t * tap_equations[k] = 0, wheretis a dimensionless multiplier with nominal value one. The physical tap istap_nominal * t, ortap_nominal / twhentap_inverseis true. An empty tap_equations vector means the descriptor is fixed. - McOpf
Transformer Coil - A winding coil oriented from positive to negative, with a retained current unknown.
- McOpf
Transformer Port - A rated physical terminal/coil port reconstructed from winding currents.
- McOpf
Voltage Limit - A magnitude bound on a difference of terminal voltages, in per unit.
- Nodal
AcGenerator Data - Generator data in dense bus order, aggregated over the generators at each
bus. See
AcOpfPreparation::calc_nodal_generator_data. - Nodal
Generator Parameters - Generator parameters in dense bus order, aggregated over the generators at each
bus. See
DcOpfPreparation::calc_nodal_generator_data. - Piecewise
Linear Cost - One convex piecewise linear generator cost in preparation units.
- Power
Flow Jacobian - The assembled sparse physical Jacobian, with its bus mappings and the machinery to update values in place.
- Reference
Constrained System - The reference constrained linear system: the positive definite matrix a sparse solver factors, its right hand side, and the mapping from reduced rows back to bus rows.
- Shunt
- Stated
Branch Flows - Active and reactive power entering every analysis branch at both ends, at
the stored voltages, from
calc_stated_branch_flows. - Stated
BusFlags - Equipment at a bus that a stated-state residual is commonly traced to.
- Stated
BusMismatch - The balance at one bus.
- Stated
Island Mismatch - The balance summed over one island of the in service topology.
- Stated
State Mismatch - The AC bus balance at the stored voltages, from
calc_stated_state_mismatch. - Stated
State Options - Options for
calc_stated_state_mismatch. - Storage
- Transformer
Primitive - A finite leakage transformer’s primitive admittance, siemens, over its physical terminals.
Enums§
- Analysis
Branch Source - The source component represented by one branch row in a lowered analysis network.
- Angle
Difference Bounds - Which angle difference bounds an OPF or power flow preparation carries.
- Bounded
Load LawPolicy - What preparation does with a voltage-bounded load law.
- Branch
Susceptance Formula - Rule for the DC branch susceptance
b. - BusType
- Bus type per MATPOWER convention: 1=PQ, 2=PV, 3=ref/slack, 4=isolated.
- LccReactive
Power - Where a line-commutated (LCC) converter’s reactive demand comes from in
calc_stated_state_mismatch. - LinDist3
Flow Cone - A standard or rotated second-order cone over affine arguments.
- LinDist3
Flow Cone Origin - Physical origin and meaning of one cone row block.
- LinDist3
Flow Decision Variable - Stable semantic identity of one scalar decision variable.
- LinDist3
Flow Equality Origin - Physical origin of one equality constrained to zero.
- LinDist3
Flow Standard Cone - One contiguous cone block in standard-form row order.
- LinDist3
Flow Standard RowOrigin - Semantic provenance for one row of
Aandb. - LinDist3
Flow Variable - Semantic scalar variables used by nodal-balance rows.
- McOpf
Device Kind - Distinguishes demand (positive consumption) from injection device tables.
- Prepared
AcBus Specification - One AC power flow bus specification in preparation units.
- Prepared
Objective - The objective compiled into a balanced OPF preparation.
- Source
Format - Which format a
BalancedNetworkwas read from. Drives the same format byte exact echo on write. - Synthesized
Limit Window - Which angle difference interval a synthesized thermal limit
(
Branch::synthesize_rate_a) spans for a branch the source left unrated. - Transformer
Leakage Base - The unit system a transformer states its leakage in, which
calc_transformer_leakage_impedancesreads. - Units
- Unit system for power and generator cost data.
- Voltage
Coordinates - The voltage coordinate selection, the one option of the calculation.
Constants§
- MC_
OPF_ DROOP_ SMOOTHING - The softplus width of a prepared droop curve as a share of its mean knot
voltage:
epsilon = MC_OPF_DROOP_SMOOTHING · mean(knots), so a knot moved bydkwidens every corner byMC_OPF_DROOP_SMOOTHING · dk / n. The one smoothing rule: the preparation sets it and the curve’s parameter sensitivities differentiate it. - POWER_
MODELS_ ANGLE_ BOUND_ PAD - Default branch angle difference bound used by PowerModels parse time repair.
Functions§
- build_
ac_ opf_ preparation - Derive the complete matrix free AC OPF arrays from the instance: demand,
shunt, and voltage columns per bus, the full pi model per active branch,
and generator costs, bounds, and schedules with their source row mapping.
The AC counterpart of
build_dc_opf_preparation. - build_
ac_ pf_ preparation - Derive the complete matrix free AC power flow arrays from an instance.
The caller’s bus specifications remain authoritative. Network bus types
are used only by
AcPfInstance::from_networkwhen it creates those specifications; this function does not infer them again. - build_
dc_ opf_ preparation - Derive the complete matrix free DC OPF arrays from the instance: demand,
shunt, phase shift, and HVDC withdrawals, generator costs and bounds with their
source row mapping, branch susceptances as positive solver edge weights,
thermal limits, angle bounds, and the reference bus set. This is the one
numerical assembly the matrix builders, the bundle writer, and external
solvers read, published so each consumer formulates over the same arrays
instead of re-deriving them from the network.
DcOpfPreparationdocuments each field’s unit and sign. - build_
lindist3flow_ conic_ problem - Assemble the complete supported LinDist3Flow slice as a canonical conic program.
- build_
lindist3flow_ device_ data - Prepare load, shunt, generator, source, objective, and KCL rows against an already prepared L3F node/line axis.
- build_
lindist3flow_ network_ data - Prepare the voltage, coupled line-drop, and line-limit rows of an L3F instance in SI units.
- build_
lindist3flow_ pf_ conic_ problem - Compile the fixed-dispatch electrical equations. The instance constructor has already removed conductor limits from the enforced constraint set and replaced the objective with zero.
- build_
lindist3flow_ pf_ standard_ form - Compile the fixed-dispatch problem in the default scaled standard form.
- build_
lindist3flow_ pf_ standard_ form_ with_ options - Compile the fixed-dispatch problem with explicit numerical scaling.
- build_
lindist3flow_ preparation - Build the complete solver-neutral preparation for the supported L3F slice.
- build_
lindist3flow_ standard_ form - Compile a LinDist3Flow instance in the default per-unit coordinates using a 1 MVA system power base. Input, canonical data, and decoded results remain SI.
- build_
lindist3flow_ standard_ form_ with_ options - Compile sparse standard form using explicit SI or per-unit solver coordinates.
- build_
mc_ ac_ opf_ preparation - Prepare the AC multiconductor IVR profile without creating solver expressions.
- calc_
bus_ hosts - Which of
n_busesbuses host at least one element ofbus_of. - calc_
bus_ power_ injection - The complex power injection
S = diag(V) conj(Y V)at every bus, split into active and reactive parts(p, q), at the voltagesvm(per unit) andva(radians) in the admittance matrix’s bus order. The injections are the ones the Jacobian ofPowerFlowJacobian::from_admittancedifferentiates, formed by the same calculation asPowerFlowJacobian::calc_bus_power_injection; a solver that holds a Jacobian calls that method instead, which reuses its merged admittance. - calc_
bus_ totals - The per bus totals of an element column:
values[e]added to busbus_of[e]for each element, in element order, overn_busesbuses. The one sum of a generator (or any element) column onto buses: the nodal generator data of the DC and AC preparations reads it, and a caller summing scheduled outputs or reactive limits by bus calls it. - calc_
dc_ opf_ matrices - Derive the sparse DC OPF matrices from the instance. The instance keeps
the typed network; an external solver that needs the contiguous arrays
behind these matrices calls
build_dc_opf_preparationinstead. - calc_
power_ flow_ jacobian - Compute the sparse physical AC power flow Jacobian for
instanceatpoint. - calc_
prepared_ bus_ specifications - The instance’s bus specifications in preparation units, one per source
bus row: power scaled by
unitsover the network’s per unit base (one for a normalized network), reference angles in radians. This is the conversionbuild_ac_pf_preparationapplies; a caller that keeps its own bus index reads the same values here without building the preparation. - calc_
reference_ constrained_ system - The reference constrained linear system of a DC power flow over a bus
Laplacian
Lwith positive branch weights:Lwith the reference rows and columns removed, and at each retained row the right hand sideinjection - (L va_ref), whereva_refholds each reference row’s angle, radians, and zero elsewhere.injectionis the full length nodal power the angles must carry (net injection less every fixed withdrawal), per unit;reference_vais aligned withreference_rows. Solvingmatrix · va = rhsgives the retained angles with each reference fixed at its stated angle.DcOperators::calc_reference_constrained_systemis this over the instance’s operators. - calc_
stated_ branch_ flows - Calculate the active and reactive power entering every analysis branch
at both ends, at the voltages
netstores. - calc_
stated_ state_ mismatch - Calculate the AC bus balance at the voltages
netstores, with every device at its stated output. - calc_
transformer_ leakage_ impedances - The pairwise leakage impedances of a multiwinding transformer, referred
to the first winding: for windings
aandb, on a per winding baseB_aand a reference baseB_ref, - calc_
transformer_ primitive_ admittance - The primitive admittance of a finite leakage transformer, siemens, over
its physical terminals, following the OpenDSS
CalcY_Terminalpath: the winding domainY_1Volt(calc_transformer_winding_admittance, the inverse of the reduced pairwise leakage ofcalc_transformer_leakage_impedances) is referred to each phase’s coils through the turns and base factors, - calc_
transformer_ winding_ admittance - The winding domain admittance
Y_1Voltof a multiwinding transformer, siemens at a one volt winding base (OpenDSSCalcY_Terminal): the pairwise nameplate leakage impedances ofcalc_transformer_leakage_impedancesscaled byphases / S_1, reduced against the last winding (calc_reduced_leakage), inverted, and lifted back through the winding difference incidenceA(rowiisu_i - u_n):Y_1Volt = Aᵀ ZB⁻¹ A. A two winding unit reduces toy · [[1, -1], [-1, 1]].Nonewhen the reduced matrix is exactly singular or not finite: one volt base impedances of high rating units sit far below any fixed pivot threshold, so only exact singularity is refused. - connection_
power_ map - Construct
H = diag(vbar) D' diag(D vbar)^-1. - cross_
voltage_ coefficients - Form the fixed-angle first-order closure of
v_phi * conj(v_psi). - emit_
dcopf_ bundle - Write matrix projections for a DC OPF instance.
- evaluate_
affine - Evaluate a real affine scalar.
- evaluate_
cross_ voltage - Evaluate a cross-voltage affine closure at two squared magnitudes.
- evaluate_
lindist3flow_ pf_ limits - Evaluate every supported line thermal limit at a fixed-dispatch point.
Values and limits are returned in SI units: volt amperes and amperes.
Current is evaluated independently at both physical line endpoints as
hypot(P,Q) / |V|. Parallel switch contacts remain separate prepared lines, so crossed ratings cannot be relaxed by aggregation. - lindist3flow_
connection_ incidence - Build the physical-channel incidence matrix for a typed connection.
- lindist3flow_
pf_ values_ from_ primal - Decode a canonical SI primal for a fixed-dispatch instance.
- lindist3flow_
pf_ values_ from_ standard_ primal - Decode a scaled standard-form primal for a fixed-dispatch instance.
- lindist3flow_
values_ from_ primal - Translate a canonical primal vector back to formulation-ordered physical
values suitable for
powerio_prob::LinDist3FlowOpfSolution. - lindist3flow_
values_ from_ standard_ primal - Decode a solver-coordinate primal vector into physical SI values.
- line_
drop_ coefficients - Construct the line voltage-drop blocks for a complex series impedance.
- winding_
voltage_ coefficients - Form real affine coefficients for the squared winding voltage
|d v|^2.
Type Aliases§
- Extras
- Source format fields the neutral model does not name, kept for round trips and cross format conversion. Keys are field names; values are JSON scalars.
- Sparse
Matrix - Compressed sparse row matrix used by the projection calculations.