pub struct GridfmOptions {
pub include_y_bus: bool,
pub include_taps: bool,
pub include_shifts: bool,
}Expand description
Options for the gridfm export — the batch-wide knobs. The scenario id is a
per-snapshot property (set via GridfmSnapshot::new / numbered_snapshots,
or the explicit argument to the single-case write_gridfm_dataset /
gridfm_record_batches), not an option here.
Fields§
§include_y_bus: boolAlso write y_bus_data.parquet. graphkit reconstructs admittances from
the branch table and ignores it, but datakit emits it, so the default is
true for parity.
include_taps: boolApply transformer tap ratios to the admittances. Default true (the
physical admittances datakit stores).
include_shifts: boolApply phase shifts to the admittances. Default true.
Trait Implementations§
Source§impl Clone for GridfmOptions
impl Clone for GridfmOptions
Source§fn clone(&self) -> GridfmOptions
fn clone(&self) -> GridfmOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridfmOptions
impl Debug for GridfmOptions
Auto Trait Implementations§
impl Freeze for GridfmOptions
impl RefUnwindSafe for GridfmOptions
impl Send for GridfmOptions
impl Sync for GridfmOptions
impl Unpin for GridfmOptions
impl UnsafeUnpin for GridfmOptions
impl UnwindSafe for GridfmOptions
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
Mutably borrows from an owned value. Read more