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.

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 MulticonductorNetwork.

Structs§

BusCoord
Bus coordinates from a BusCoords file.
BusSpec
A bus1=name.1.2.0 bus reference: name plus ordered node numbers.
DssEmitOptions
Options for canonical OpenDSS output.
DssLoadVoltageBounds
OpenDSS per unit load voltage validity band.
Param
One parameter from a command line.
RawCommand
A command this layer does not execute, preserved verbatim.
RawDss
The executed script: objects, options, and preserved commands.
RawObject
An accumulated object: every New/Edit/~/like assignment that touched it, in order. Values are raw tokens.
RawProp
One property assignment as applied to an object, in application order.
Scanner
Value
A raw value token. quoted records that the token came from a quote pair, which switches numeric interpretation to RPN.

Functions§

to_network_from_raw
Lowers an executed raw script into the typed model, returning the network beside the parse findings: the raw layer’s own, then the lowering’s.

Type Aliases§

VarMap
Parser variables (var @x=...), looked up case insensitively with the leading @ included in the key.