Skip to main content

read_gridfm_scenarios

Function read_gridfm_scenarios 

Source
pub fn read_gridfm_scenarios(dir: impl AsRef<Path>) -> Result<Vec<GridfmRead>>
Expand description

Read every scenario from a gridfm dataset, one Network per scenario id (sorted ascending) over the shared topology — the read side of the scenario batch (#57). Each scenario is rebuilt independently, so two scenarios may differ in branch status, bus types, and reference bus.

§Errors

Propagates read_gridfm_dataset’s filesystem / Parquet / build errors.