pub struct OpfDeviceDispatch {Show 17 fields
pub switched_shunt_dispatch: Vec<(usize, f64, f64)>,
pub tap_dispatch: Vec<(usize, f64, f64)>,
pub phase_dispatch: Vec<(usize, f64, f64)>,
pub svc_dispatch: Vec<(usize, f64, f64, f64)>,
pub tcsc_dispatch: Vec<(usize, f64, f64, f64)>,
pub storage_net_mw: Vec<f64>,
pub dispatchable_load_served_mw: Vec<f64>,
pub dispatchable_load_served_q_mvar: Vec<f64>,
pub producer_q_reserve_up_mvar: Vec<f64>,
pub producer_q_reserve_down_mvar: Vec<f64>,
pub consumer_q_reserve_up_mvar: Vec<f64>,
pub consumer_q_reserve_down_mvar: Vec<f64>,
pub zone_q_reserve_up_shortfall_mvar: Vec<f64>,
pub zone_q_reserve_down_shortfall_mvar: Vec<f64>,
pub hvdc_p2p_dispatch_mw: Vec<f64>,
pub discrete_feasible: Option<bool>,
pub discrete_violations: Vec<String>,
}Expand description
FACTS device, storage, and transformer dispatch results.
Fields§
§switched_shunt_dispatch: Vec<(usize, f64, f64)>Switched shunt dispatch: (bus_idx, continuous_b_pu, rounded_b_pu).
tap_dispatch: Vec<(usize, f64, f64)>Transformer tap dispatch: (branch_idx, continuous_tap, rounded_tap).
phase_dispatch: Vec<(usize, f64, f64)>Phase-shifter dispatch: (branch_idx, continuous_rad, rounded_rad).
svc_dispatch: Vec<(usize, f64, f64, f64)>SVC dispatch: (device_index, optimal_b_svc_pu, mu_lower, mu_upper).
tcsc_dispatch: Vec<(usize, f64, f64, f64)>TCSC dispatch: (device_index, optimal_x_comp_pu, mu_lower, mu_upper).
storage_net_mw: Vec<f64>Net storage dispatch (MW). Positive = discharging, negative = charging.
dispatchable_load_served_mw: Vec<f64>Dispatchable-load real power served (MW), in active resource order.
dispatchable_load_served_q_mvar: Vec<f64>Dispatchable-load reactive power served (MVAr), in active resource order.
producer_q_reserve_up_mvar: Vec<f64>Cleared producer reactive up-reserve award per in-service
generator (MVAr), in gen_indices order. AC-OPF only; empty
otherwise or when the network has no reactive reserve products.
producer_q_reserve_down_mvar: Vec<f64>Cleared producer reactive down-reserve award per in-service generator (MVAr).
consumer_q_reserve_up_mvar: Vec<f64>Cleared consumer reactive up-reserve award per in-service dispatchable load (MVAr).
consumer_q_reserve_down_mvar: Vec<f64>Cleared consumer reactive down-reserve award per in-service dispatchable load (MVAr).
zone_q_reserve_up_shortfall_mvar: Vec<f64>Zonal reactive up-reserve shortfall per (zone, up product) pair (MVAr). Parallel to the zonal requirement order the AC-OPF walked when building its reactive reserve plan.
zone_q_reserve_down_shortfall_mvar: Vec<f64>Zonal reactive down-reserve shortfall per (zone, down product) pair (MVAr).
hvdc_p2p_dispatch_mw: Vec<f64>Point-to-point HVDC link P dispatch (MW), in the order the
joint AC-DC NLP exposes them. Positive = flow from the link’s
from-bus (rectifier) to its to-bus (inverter). Non-empty only
when at least one in-service LccHvdcLink/VscHvdcLink has a
non-degenerate [p_dc_min_mw, p_dc_max_mw] range AND the AC
OPF ran through the joint-NLP path (rather than the legacy
sequential AC-DC iteration, which reports the same quantity
via AcOpfHvdcResult.hvdc_p_dc_mw).
discrete_feasible: Option<bool>Whether the discrete round-and-check verification passed.
None = continuous mode. Some(true) = passed. Some(false) = violations.
discrete_violations: Vec<String>Human-readable descriptions of violations introduced by discrete rounding.
Trait Implementations§
Source§impl Clone for OpfDeviceDispatch
impl Clone for OpfDeviceDispatch
Source§fn clone(&self) -> OpfDeviceDispatch
fn clone(&self) -> OpfDeviceDispatch
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more