Skip to main content

powerio_dist/bmopf/
mod.rs

1//! The draft BMOPF task force JSON schema (frederikgeth/bmopf-report).
2//!
3//! Everything is explicit SI: volts, watts, vars, ohms, siemens, meters,
4//! radians, string bus ids and terminal names. The schema sets
5//! `additionalProperties: false` on every element, so the strict writer
6//! drops what the schema cannot carry and says so per field; the dropped
7//! data stays in the model's `extras`, never in the emitted JSON.
8
9mod read;
10mod write;
11
12pub use read::{parse_bmopf_file, parse_bmopf_str};
13pub use write::write_bmopf_json;