Skip to main content

Module bmopf

Module bmopf 

Source
Expand description

The draft BMOPF task force JSON schema (frederikgeth/bmopf-report).

Everything is explicit SI: volts, watts, vars, ohms, siemens, meters, radians, string bus ids and terminal names. The schema sets additionalProperties: false on every element, so the strict writer drops what the schema cannot carry and says so per field; the dropped data stays in the model’s extras, never in the emitted JSON.

Functions§

parse_bmopf_file
parse_bmopf_str
write_bmopf_json
Writes the strict BMOPF document. Every field the schema cannot carry is reported in the warnings.