Skip to main content

SOURCE_FORMAT_NAMES

Constant SOURCE_FORMAT_NAMES 

Source
pub const SOURCE_FORMAT_NAMES: &str = "matpower/m, powermodels-json/powermodels/pm, \
     egret-json/egret, psse/raw, psse34, psse35, psse-rawx/rawx, powerworld/aux, \
     pandapower-json/pandapower/pp, pslf/epc, pypsa-csv/pypsa, pwb, goc3-json/goc3, \
     surge-json/surge, opfdata-json/opfdata/gridopt, xiidm/iidm, jiidm, cgmes, ucte/uct, \
     ieee-cdf/cdf";
Expand description

The source format names this crate recognizes, each with its aliases. A recognized calculation format can still be refused with guidance to the top level facade. The unknown format error prints this list, and a test walks every alias through routing::parse_transmission_format so it cannot drift from the matcher. pypsa-csv names a directory source and pwb a binary one; every other name reads file and memory sources alike.