Skip to main content

Module dss

Module dss 

Source
Expand description

OpenDSS .dss support: tokenizer, RPN, class tables, raw object layer.

The semantics mirror the OpenDSS reference implementation (epri-dev/OpenDSS-C): TParser tokenization, executive command dispatch with prefix abbreviation, property resolution in class definition order, and the TRPNCalc expression calculator.

Re-exports§

pub use lex::BusSpec;
pub use lex::Param;
pub use lex::Scanner;
pub use lex::Value;
pub use lex::VarMap;
pub use raw::BusCoord;
pub use raw::RawCommand;
pub use raw::RawDss;
pub use raw::RawObject;
pub use raw::RawProp;
pub use raw::parse_raw_file;
pub use raw::parse_raw_with;
pub use read::network_from_raw;
pub use read::parse_dss_file;
pub use read::parse_dss_str;

Modules§

defaults
OpenDSS constructor defaults for the phase A classes.
lex
Tokenizer matching OpenDSS’s TParser (Parser/ParserDel.cpp).
prop
OpenDSS class and property name tables, in definition order.
raw
Script execution and the raw object layer.
read
.dss raw objects into the canonical DistNetwork.

Functions§

write_dss
Writes canonical .dss text from the model.