Skip to main content

Module read

Module read 

Source
Expand description

.dss raw objects into the canonical DistNetwork.

Every OpenDSS default materializes into an explicit model value, recorded in DistNetwork::defaulted under the "class.name" key. Specified properties the typed fields do not capture go into the element’s extras verbatim (string values), so a later writer can reproduce them. Bus specs resolve with the engine’s fill rule: phase conductors default to nodes 1..=phases, every remaining conductor to ground (node 0), and the written dot list overrides from the left. Ground connections become an explicit perfectly grounded neutral terminal on the bus, named max(4, highest node + 1) to match PowerModelsDistribution and the public BMOPF examples.

Functions§

network_from_raw
Lowers an executed raw script into the typed model.
parse_dss_file
Parses a .dss file, following includes, into the canonical model.
parse_dss_str
Parses .dss text; Redirect/Compile resolve relative to the working directory.