Skip to main content

Crate cimmodel

Crate cimmodel 

Source
Expand description

The IEC 61970/61968 Common Information Model as profiled by ENTSO-E CGMES and the Network Code profiles: the streaming RDF/XML decoder that builds a CimDataset of Elements, and conversion back to RDF/XML and to JSON.

Elements are property bags. What each class declares comes from a class table, generated by cimgen into src/generated/ (gitignored; run make generate) or read from RDFS at runtime (schema_source). Everything else in src/ is hand-written.

Re-exports§

pub use base::Element;
pub use base::FieldValue;
pub use decode::CimDataset;
pub use decode::FieldForm;

Modules§

base
cgmes_classes
convert
convert_nc
RDF/XML export of one Network Code profile: its DCAT header and the NC elements and fields the profile exchanges.
decode
nc_classes
registry
The class registry the decoder resolves elements against.
schema_source
Where a family’s class table comes from.