Skip to main content

parse_dyr

Function parse_dyr 

Source
pub fn parse_dyr(text: &str) -> Result<DynamicCase, DyrError>
Expand description

Parse PSS/E DYR text without assuming a closed list of model names.

Records are delimited by slash outside quoted strings. Exclamation mark starts a line-comment outside quotes. Fields are separated by commas or ASCII whitespace; single- quoted values may contain commas or slashes, and doubled single quotes represent one literal quote. Parameter tokens remain strings because their types and meanings depend on the model schema.