#[non_exhaustive]pub enum TargetFormat {
PowerModelsJson,
EgretJson,
Psse {
rev: u32,
},
PowerWorld,
PandapowerJson,
Matpower,
PowerioJson,
Pslf,
Goc3Json,
SurgeJson,
}Expand description
A target interchange format. See write_as.
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
writer emits (33, 34, or 35); 33 is the historical default. The reader
takes the revision from the file header, so this only affects writes.
PowerWorld
PowerWorld auxiliary .aux.
PandapowerJson
pandapower pandapowerNet JSON.
Matpower
MATPOWER .m (round-trip; byte-exact when the case kept its source).
PowerioJson
The canonical PowerIO snapshot: Network serialized as JSON, validated
on read. Lossless for every model field; the retained source text is the
one exclusion (see Network::to_json).
Pslf
GE PSLF .epc (round-trip; byte-exact when the case kept its source).
Goc3Json
ARPA-E GO Challenge 3 JSON input data. This is read only except for same format source echo when the parsed network still carries its source.
SurgeJson
Surge native JSON network document.
Implementations§
Trait Implementations§
Source§impl Clone for TargetFormat
impl Clone for TargetFormat
Source§fn clone(&self) -> TargetFormat
fn clone(&self) -> TargetFormat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TargetFormat
impl Debug for TargetFormat
Source§impl Display for TargetFormat
impl Display for TargetFormat
Source§impl FromStr for TargetFormat
impl FromStr for TargetFormat
Source§impl PartialEq for TargetFormat
impl PartialEq for TargetFormat
impl Copy for TargetFormat
impl Eq for TargetFormat
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.