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
.dssraw objects into the canonicalMulticonductorNetwork.
Structs§
- BusCoord
- Bus coordinates from a
BusCoordsfile. - BusSpec
- A
bus1=name.1.2.0bus reference: name plus ordered node numbers. - DssEmit
Options - Options for canonical OpenDSS output.
- DssLoad
Voltage Bounds - 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/~/likeassignment 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.
quotedrecords 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.