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; this module loads them into one dataset, applies difference models, and exports per profile or per source file.

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.