#[non_exhaustive]pub enum MonitorStatement {
BranchesInSubsystem {
subsystem: String,
low_voltage_3w: bool,
},
TiesFromSubsystem {
subsystem: String,
},
Branches {
branches: Vec<BranchRef>,
retained: Vec<RetainedStatement>,
},
Interface {
name: String,
rating_mw: Option<f64>,
branches: Vec<BranchRef>,
retained: Vec<RetainedStatement>,
},
VoltageRange {
scope: MonitorScope,
vmin: f64,
vmax: f64,
},
VoltageDeviation {
scope: MonitorScope,
down: f64,
up: Option<f64>,
},
BranchesInSubsystemKvRange {
subsystem: String,
low_voltage_3w: bool,
kv_range: (f64, f64),
},
TiesFromSubsystemKvRange {
subsystem: String,
kv_range: (f64, f64),
},
VoltageRangeWithPre {
scope: MonitorScope,
vmin: f64,
vmax: f64,
pre_min: f64,
pre_max: f64,
},
}Expand description
One monitor statement.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BranchesInSubsystem
Every branch with both terminals in the subsystem.
Fields
TiesFromSubsystem
Every branch with exactly one terminal in the subsystem.
Branches
The branches a MONITOR BRANCHES block lists by terminal pair.
Fields
retained: Vec<RetainedStatement>The block’s lines that state no branch, kept as text. The writer
states them inside the block, before its END.
Interface
A named interface and the branches whose flows sum over it.
Fields
retained: Vec<RetainedStatement>The block’s lines that state no branch, kept as text. The writer
states them inside the block, before its END.
VoltageRange
A voltage magnitude band over a scope of buses.
VoltageDeviation
A voltage deviation band over a scope of buses. A statement naming one value states the downward limit alone.
BranchesInSubsystemKvRange
Every branch with both terminals in a subsystem and an inclusive kV band.
TiesFromSubsystemKvRange
Every tie from a subsystem where the inside terminal is within an inclusive kV band.
VoltageRangeWithPre
A four-value voltage range with distinct pre-contingency limits.
Trait Implementations§
Source§impl Clone for MonitorStatement
impl Clone for MonitorStatement
Source§fn clone(&self) -> MonitorStatement
fn clone(&self) -> MonitorStatement
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MonitorStatement
impl Debug for MonitorStatement
Source§impl<'de> Deserialize<'de> for MonitorStatement
impl<'de> Deserialize<'de> for MonitorStatement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitorStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitorStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MonitorStatement
impl JsonSchema for MonitorStatement
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more