pub type MulticonductorNetwork = DistNetwork;Expand description
v1-facing name for the canonical multiconductor distribution model.
Aliased Type§
pub struct MulticonductorNetwork {Show 19 fields
pub name: Option<String>,
pub base_frequency: f64,
pub buses: Vec<DistBus>,
pub linecodes: Vec<DistLineCode>,
pub lines: Vec<DistLine>,
pub switches: Vec<DistSwitch>,
pub transformers: Vec<DistTransformer>,
pub loads: Vec<DistLoad>,
pub generators: Vec<DistGenerator>,
pub shunts: Vec<DistShunt>,
pub sources: Vec<VoltageSource>,
pub untyped: Vec<UntypedObject>,
pub commands: Vec<(String, String)>,
pub options: Vec<(String, String)>,
pub defaulted: BTreeMap<String, Vec<&'static str>>,
pub warnings: Vec<String>,
pub source: Option<Arc<String>>,
pub source_format: Option<DistSourceFormat>,
pub extras: BTreeMap<String, Value>,
}Fields§
§name: Option<String>§base_frequency: f64Hz.
buses: Vec<DistBus>§linecodes: Vec<DistLineCode>§lines: Vec<DistLine>§switches: Vec<DistSwitch>§transformers: Vec<DistTransformer>§loads: Vec<DistLoad>§generators: Vec<DistGenerator>§shunts: Vec<DistShunt>§sources: Vec<VoltageSource>BMOPF allows exactly one; the model allows any number and the BMOPF writer warns beyond the first.
untyped: Vec<UntypedObject>§commands: Vec<(String, String)>Source commands and options the typed model does not interpret
(solve, set mode=...), in order, as (verb, args).
options: Vec<(String, String)>§defaulted: BTreeMap<String, Vec<&'static str>>Per-element record of which fields were materialized from a format
default. Skipped in the .pio.json payload: the field holds
&'static str (no Deserialize), and this provenance belongs in the
compiler package’s source_maps as mapping_kind = defaulted, not in
the raw IR payload. See
https://eigenergy.github.io/powerio/guide/pio-json-schema.html.
warnings: Vec<String>§source: Option<Arc<String>>Retained source text for the byte-exact echo tier. Skipped in the
.pio.json payload (mirrors powerio::Network::source): keeping it out
avoids serde’s rc feature, and retained source is an envelope concern
surfaced through Origin::File { retained_source, .. }.
source_format: Option<DistSourceFormat>§extras: BTreeMap<String, Value>