pub fn typed_model(record: &DynamicRecord) -> Result<DynamicModel, ModelError>Expand description
Typed PSS/E DYR model views and model-aware generator linking. Read a DYR record through its PSS/E parameter schema.
ยงErrors
ModelError::Unsupported for a model outside SUPPORTED_MODELS,
ModelError::Arity or ModelError::NotANumber when the record does
not match the schema, ModelError::InvalidIcon for an integer parameter
that is not an integer in range. Other parameter values pass through
unchecked: several zeros carry PSS/E meaning (a zero time constant
bypasses its block, GENCLS H = 0 is an infinite bus).