Expand description
Distribution types and facade format dispatch. Types whose names overlap with balanced network types stay grouped here.
Modules§
- bmopf
- The BMOPF task force JSON schema (https://github.com/distribution-system-opt/dsopt-schema).
- cim
- Distribution CIM: IEC 61968 and 61970 CIM100 RDF/XML for unbalanced
feeders, read into and written from the
MulticonductorNetwork(format tokencim-dist). - convert
- Distribution format dispatch.
- diagnostics
- The codes this crate emits.
- dss
- OpenDSS
.dsssupport: tokenizer, RPN, class tables, raw object layer. - error
- geo
- Typed coordinate metadata for the distribution model.
- glm
- GridLAB-D source syntax, bounded offline preprocessing and static import.
- graph
- Render ready bus and terminal graph projection.
- kron
- Explicit-neutral Kron projection for
MulticonductorNetwork. - lindist3flow
- Audited, format-neutral network preparation for LinDist3Flow.
- model
- The canonical multiconductor network model.
- pmd
- The PowerModelsDistribution ENGINEERING model as JSON (“PMD JSON”).
- ravens
- MG-RAVENS JSON import and export for the multiconductor
MulticonductorNetwork. - readiness
- Pre-solver structural readiness checks for distribution networks.
Structs§
- Bmopf
Emit Options - Options for BMOPF JSON output.
- Diagnostic
- One coded user facing finding.
- Diagnostic
Code - Stable dotted identity of one diagnostic.
- DistBus
- Dist
Canvas - Diagram canvas metadata.
- Dist
Capacitor - A rated capacitor bank (BMOPF schema 0.1.0
capacitor):q_ratedvars delivered atv_nomvolts across the element terminals, distinct from the raw admittanceDistShunt. The DSS converter still lowers OpenDSS capacitors to shunt B matrices; this element carries capacitors that arrive as BMOPF input. - Dist
Component Location - A geographic point attached to one exact component identity. It is independent of bus drawing positions, line routes and electrical length.
- Dist
Control Profile - Dist
Generator - Dist
GeoMeta - Network level coordinate metadata.
- Dist
Geographic Point - Source or user supplied geographic coordinates, in decimal degrees. Neither axis is implied by the other; zero is a valid stated value. An absent datum is unknown, never an implicit WGS84 declaration.
- Dist
Graph - A collapsed bus graph with terminal level attachments and conductor maps.
- Dist
Graph Attachment - An element connected to a bus terminal.
- Dist
Graph Bus - One bus node in the collapsed graph.
- Dist
Graph Edge - One edge in the collapsed graph.
- DistIbr
- Dist
Line - Dist
Line Code - Dist
Load - Dist
Location - A point attached to one model element.
- Dist
Shunt - Dist
Switch - Dist
Transformer - Dist
Winding - DssEmit
Options - Options for canonical OpenDSS output.
- DssLoad
Voltage Bounds - OpenDSS per unit load voltage validity band.
- Electrical
Readiness - Result of
audit_electrical_readiness. - Emit
Options - Format specific policies for distribution network emission.
- LinDist3
Flow Preparation Action - One source component and the prepared representation chosen for it.
- LinDist3
Flow Preparation Report - Complete provenance for a LinDist3Flow preparation pass.
- LinDist3
Flow Prepared Network - Independently owned prepared network and its audit report.
- Multiconductor
Network - A multiconductor distribution network: an immutable cheap to clone owning handle over private shared tables.
- Neutral
Kron Action - One auditable non-matrix rewrite performed by the projection.
- Neutral
Kron Bus - One eliminated bus terminal.
- Neutral
Kron Options - Options controlling explicit-neutral identification and grounding.
- Neutral
Kron Recovery - Neutral-current recovery for one reduced linecode.
- Neutral
Kron Reduction - The independently owned reduced network and its projection audit.
- Neutral
Kron Report - Complete audit of one neutral-Kron projection.
- Power
Factor Control - Readiness
Finding - A deterministic finding emitted by the readiness audit.
- Sincal
Read Options - Selection for the conductor-resolved SINCAL reader. No external tool runs during parsing. Native SQLite/archive and explicitly acquired Access tables are distinct input paths; both retain the original primary source bytes.
- Untyped
Object - An object the reader recognized but does not type: preserved by class, name, and raw property text so conversions can warn precisely.
- Volt
VarControl - Volt
Watt Control - Voltage
Source - An ideal source prescribing terminal voltages relative to earth or one explicit terminal on the same bus. A reference terminal is a conductor, not an implicit grounding instruction.
Enums§
- Active
Power Reference - Active
Power Unit - Bmopf
Schema Version - The BMOPF schema version a document is read as or written against.
- Configuration
- Control
Voltage Reference - Coordinate
Space - Coordinate space for locations in a network.
- Diagnostic
Severity - Severity of one user facing finding.
- Diagnostic
Stage - Pipeline stage encoded by the first segment of a diagnostic code.
- Dist
Coords Kind - Coordinate origin.
- Dist
Graph Attachment Kind - Element family for terminal attachments.
- Dist
Graph Edge Kind - Edge family in the collapsed graph.
- Dist
Load Voltage Model - Dist
Location Target - The typed table containing a located component. Names retain exact case.
- Dist
Source Format - Where the network came from; fixes the echo tier target.
- Dist
Target Format - A writable distribution format.
- Dist
Winding Conn - Error
- IbrPrime
Mover - IbrTopology
- IbrVoltage
Aggregation - LinDist3
Flow Preparation Action Kind - One auditable preparation decision.
- LinDist3
Flow Preparation Policy - How aggressively the distribution network may be prepared for the LinDist3Flow formulation.
- Neutral
Kron Grounding - How the eliminated neutral was grounded in the source network.
- Reactive
Power Reference - Reactive
Power Unit - Readiness
Severity - Severity of an electrical-readiness finding.
Constants§
- BMOPF_
SCHEMA_ ID - Canonical identity of the default schema. Fresh proposal output uses
BmopfSchemaVersion::retrieval_urlinmeta.$schema. - BMOPF_
SCHEMA_ VERSION - The version of the schema the writer targets by default, and the value it
stamps into
meta.schema_version. It isBmopfSchemaVersion::default().version(). - CIM_
DIST_ HEAD_ BYTES - How much of a document the header checks read.
Functions§
- audit_
electrical_ readiness - Audit a multiconductor network before numerical lowering or solving.
- classify_
distribution_ json - Distribution parser policy for a
.jsoninput. - emit
- Emit a parsed module to
formatthrough a destination. - emit_
with_ options emitwith format specific policies.- find_
unresolved_ references - Push a warning for every dangling or empty cross-reference. Bus and
linecode references are bare strings, a reader leaves an empty string
where the field is missing, and the graph projection synthesizes a
phantom bus for any unresolved id (the empty string included) — so a
typo or an absent field would otherwise parse cleanly into a
topologically wrong network. Comparison is ASCII case insensitive,
matching
MulticonductorNetwork::busandMulticonductorNetwork::linecode. The unresolved bus and linecode references of a network, as one message per finding: the same walk the reader’s warning pass runs, exposed so a decoder can refuse a document whose network fails it. - looks_
like_ cim_ dist - Whether a document reads as distribution CIM: its header passes
looks_like_cim_dist_header, and it holds at least one per phase or distribution only class anywhere. - looks_
like_ cim_ dist_ header - Whether a document opens like distribution CIM: RDF/XML in a CIM namespace
with no
md:FullModelheader (which marks a CGMES profile) in its firstCIM_DIST_HEAD_BYTES. A caller holding only a file’s head can rule it out with this before reading the whole file forlooks_like_cim_dist. - neutral_
kron_ reduce - Produce a neutral-reduced multiconductor network without mutating the
input. Neutral roles come from
options.neutral_terminals, retained BMOPF terminal conventions, or the model’s conservativen/ four-wire4convention. Only perfectly grounded neutrals are accepted unless the explicit forced-ground option is enabled. Component points remain attached to retained components and are copied to derived line configurations. Removed devices’ points remain in the audit action’sdetails.source_location. - parse
- parse_
dist_ target_ format - Resolves common names and file extensions to a target format.
- parse_
sincal - Parse a declared conductor-resolved SINCAL profile. Balanced-looking powers do not change the network family, and unsupported modes reject atomically.
- prepare_
lindist3flow_ network - Prepare an independently owned LinDist3Flow network according to
policy. - require_
electrical_ readiness - Reject incomplete electrical data before numerical use.
- source_
looks_ like_ cim_ dist - Whether a source holds distribution CIM: its own buffer reads as
distribution CIM (
looks_like_cim_dist), or, for a directory, one of the.xmldocuments at its top level does. The reads go through the source, so they count against its acquisition budget and are cached for the parse that follows.
Type Aliases§
- Conductor
Matrix - A square matrix in conductor order, row major.
- Extras
- Result