Crate caseformat

Source
Expand description

Power flow case data format.

Based on the MATPOWER case file format.

Modules§

builder
validate

Macros§

parse_optional_record
parse_record
write_row

Structs§

Branch
Transmission line/cable or two winding transformer.
Bus
Case
Power flow case.
DCLine
Dispatchable DC transmission line.
Gen
Generator or dispatchable load.
GenCost
Generator cost function.

Constants§

IN_SERVICE
In-service status.
NONE
Isolated bus type.
OUT_OF_SERVICE
Out-of-service status.
POLYNOMIAL
Polynomial cost model.
PQ
PQ bus type.
PV
PV bus type.
PW_LINEAR
Piecewise linear cost model.
REF
Reference bus type.

Functions§

bus_index
Returns a map of bus external number to internal index.
read_dir
read_tar
write_dir
write_mpc
write_tar