#[non_exhaustive]pub enum TargetFormat {
Show 15 variants
PowerModelsJson,
EgretJson,
Psse {
rev: u32,
},
PsseRawx,
PowerWorld,
PandapowerJson,
Matpower,
Pslf,
Goc3Json,
SurgeJson,
DeepMindOpfDataJson,
Xiidm,
Jiidm,
Cgmes,
Ucte,
}Expand description
A target case format. See emit.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PowerModelsJson
PowerModels.jl network data JSON.
EgretJson
egret ModelData JSON.
Psse
PSS/E .raw at the given revision. rev selects the record layout the
serializer emits (33, 34, or 35); 33 is the historical default. The parser
takes the revision from the file header, so this only affects emission.
PsseRawx
PSS/E Extensible Power Flow Data File, revision 35 JSON.
PowerWorld
PowerWorld auxiliary .aux.
PandapowerJson
pandapower pandapowerNet JSON.
Matpower
MATPOWER .m (round-trip; byte-exact when the case kept its source).
Pslf
GE PSLF .epc (round-trip; byte-exact when the case kept its source).
Goc3Json
DOE GO Challenge 3 JSON problem or solution data. The powerio facade
owns its typed problem and solution handling; direct powerio-tx
parsing refuses this calculation format.
SurgeJson
Surge native JSON network document.
DeepMindOpfDataJson
One JSON document from a DeepMind OPFData release. Read only except for an exact emission back to the retained source format.
Xiidm
PowSybl XIIDM XML, version 1.17.
Jiidm
PowSybl JIIDM JSON, version 1.17.
Cgmes
IEC CIM Common Grid Model Exchange Specification profile set.
Ucte
ENTSO-E UCTE-DEF .uct; fresh output uses revision 2007.05.01.
Implementations§
Source§impl TargetFormat
impl TargetFormat
Sourcepub fn emit_family(self) -> &'static EmitFamily
pub fn emit_family(self) -> &'static EmitFamily
The write side family for this target.
Trait Implementations§
Source§impl Clone for TargetFormat
impl Clone for TargetFormat
Source§fn clone(&self) -> TargetFormat
fn clone(&self) -> TargetFormat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for TargetFormat
Source§impl Debug for TargetFormat
impl Debug for TargetFormat
Source§impl Display for TargetFormat
impl Display for TargetFormat
impl Eq for TargetFormat
Source§impl FromStr for TargetFormat
impl FromStr for TargetFormat
Source§impl PartialEq for TargetFormat
impl PartialEq for TargetFormat
Source§fn eq(&self, other: &TargetFormat) -> bool
fn eq(&self, other: &TargetFormat) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TargetFormat
Auto Trait Implementations§
impl Freeze for TargetFormat
impl RefUnwindSafe for TargetFormat
impl Send for TargetFormat
impl Sync for TargetFormat
impl Unpin for TargetFormat
impl UnsafeUnpin for TargetFormat
impl UnwindSafe for TargetFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.