Skip to main content

Module load

Module load 

Source
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§

LoadReport
Outcome of loading one or more files.
SaveReport
Outcome of writing a model back to disk.

Functions§

detect_file
The schema vintage a file declares, or None if 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.