Expand description
Loading and saving whole models.
A CGMES model is a set of profile files, so the convenient unit of work is “load these files into one dataset” rather than “parse this document”. This module provides that, plus difference-model application and per-profile export.
Structs§
- Load
Report - Outcome of loading one or more files.
- Save
Report - Outcome of writing a model back to disk.
Functions§
- detect_
file - The schema vintage a file declares, or
Noneif it cannot be read or is unrecognised. - detect_
vintage - The schema vintage a set of inputs declares, taken from the first file that answers.
- instance_
files - Every CIM input under
path, sorted so that a load is reproducible. - write_
to - Write a dataset to any sink, as a single document.