Expand description
Loss-preserving support for PSS/E transient-stability DYR records.
A DYR file is a model library paired with a steady-state case, not itself a power-flow network. This module therefore keeps dynamic records separate from BalancedNetwork. Model-specific parameter schemas are intentionally not guessed: unknown/user-defined model names and their ordered parameters remain available to callers.
Parsing is bounded and quote-aware. The original source is retained, so DynamicCase::to_dyr_string reproduces comments, whitespace, line endings, token spelling, and record order exactly. No model is silently discarded.
Structs§
- Dynamic
Case - Parsed PSS/E dynamic-model data, kept separate from a steady-state network.
- Dynamic
Record - One DYR model record. Parameters remain ordered and lexically decoded; model-specific interpretation belongs in a separate, schema-backed layer.
- Dynamic
Study - A steady-state case explicitly paired with its transient-stability data.
- Unresolved
BusReference - A DYR record whose bus reference is not present in a static case.
Enums§
- DyrError
- Errors detected while reading a DYR source.
Functions§
- parse_
dyr - Parse PSS/E DYR text without assuming a closed list of model names.
- parse_
dyr_ bytes - Parse DYR bytes, rejecting invalid UTF-8 rather than replacing bytes.