Skip to main content

Crate surge_io

Crate surge_io 

Source
Expand description

Surge I/O — canonical network interchange APIs.

The crate root is intentionally small:

  • load for extension-driven network file loading
  • save for extension-driven network file saving
  • loads / dumps for in-memory single-document formats

Multi-profile formats and sidecar artifacts live under their own modules:

Modules§

bin
Native binary format for Surge network serialization.
cgmes
CGMES/CIM power system format reader.
comtrade
COMTRADE (IEEE C37.111) parser and writer for Surge.
dss
OpenDSS (.dss) file parser for Surge.
epc
GE PSLF EPC format reader and writer.
export
Network model CSV export for ML training pipelines (PLAN-083 / P5-049).
geo
Supplemental bus coordinate parser.
go_c3
GO Competition Challenge 3 format support.
iec62325
IEC 62325 ESMP XML parser — Energy Market Data documents.
ieee_cdf
IEEE Common Data Format (.cdf) parser.
json
JSON format for native Surge network serialization.
matpower
MATPOWER (.m) format reader and writer.
profiles
Canonical time-series profile readers.
pscad
PSCAD .pscx format reader.
psse
PSS/E interchange helpers, organized by artifact type.
saturation_toml
TOML parser for transformer saturation data.
scl
IEC 61850-6 Substation Configuration Language (SCL) parser.
shaft_toml
TOML parser for multi-mass torsional shaft models.
ucte
UCTE-DEF (.uct, .ucte) format reader and writer.
xiidm
XIIDM — PowSyBl’s native XML interchange format.

Enums§

Format
In-memory single-document formats supported by loads and dumps.
LoadError
Errors from load and loads.
SaveError
Errors from save and dumps.

Functions§

dumps
Serialize a network into an in-memory document.
load
Load a network file, auto-detecting the format from the file extension.
loads
Parse an in-memory network document.
save
Save a network to a file, auto-detecting the format from the file extension.