Skip to main content

parse_egret_json

Function parse_egret_json 

Source
pub fn parse_egret_json(content: &str) -> Result<Network, Error>
Expand description

Parse egret ModelData JSON into a Network.

Inverts write_egret_json: the elements blocks map back to the typed model and system.baseMVA/reference_bus to the base and bus types. Takes the power flow subset (numeric bus ids, scalar values); a unit commitment case (system.time_keys) is rejected with a clear error.