Skip to main content

Module dynamic

Module dynamic 

Source
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§

DynamicCase
Parsed PSS/E dynamic-model data, kept separate from a steady-state network.
DynamicRecord
One DYR model record. Parameters remain ordered and lexically decoded; model-specific interpretation belongs in a separate, schema-backed layer.
DynamicStudy
A steady-state case explicitly paired with its transient-stability data.
UnresolvedBusReference
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.