pub enum OpfType {
DcOpf,
AcOpf,
DcScopf,
AcScopf,
HvdcOpf,
}Expand description
OPF formulation type — identifies which solver produced this solution.
Variants§
DcOpf
DC-OPF via sparse B-θ formulation (lossless, linear).
AcOpf
AC-OPF via Ipopt NLP (nonlinear, exact losses).
DcScopf
DC Security-Constrained OPF (preventive or corrective N-1).
AcScopf
AC Security-Constrained OPF (Benders N-1, NLP master).
HvdcOpf
DC-OPF with embedded HVDC links.
Trait Implementations§
impl Copy for OpfType
Source§impl<'de> Deserialize<'de> for OpfType
impl<'de> Deserialize<'de> for OpfType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OpfType
impl StructuralPartialEq for OpfType
Auto Trait Implementations§
impl Freeze for OpfType
impl RefUnwindSafe for OpfType
impl Send for OpfType
impl Sync for OpfType
impl Unpin for OpfType
impl UnsafeUnpin for OpfType
impl UnwindSafe for OpfType
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