Skip to main content

link_machines

Function link_machines 

Source
pub fn link_machines(
    net: &BalancedNetwork,
    dynamics: &DynamicCase,
) -> MachineLinking
Expand description

Typed PSS/E DYR model views and model-aware generator linking. Attach the typed DYR models to the generators they name by (bus, machine id).

The machine id matches exactly; when no generator on the bus has it, the one generator whose id matches ignoring ASCII case is used. When several records of one role name the same generator, the last one wins and each replacement is reported as LinkIssue::Replaced, as PSS/E replaces a model of the same category when it reads a DYR file.