pub struct NonControllableSource {
pub id: EntityId,
pub name: String,
pub bus_id: EntityId,
pub entry_stage_id: Option<i32>,
pub exit_stage_id: Option<i32>,
pub max_generation_mw: f64,
pub curtailment_cost: f64,
}Expand description
Intermittent generation source that cannot be dispatched.
A NonControllableSource injects all available generation into the network.
If curtailment is permitted, excess generation can be curtailed at a cost of
curtailment_cost per MWh. In the minimal viable solver this entity is
data-complete but contributes no LP variables or constraints.
Source: system/non_controllable.json. See Input System Entities SS1.9.8.
Fields§
§id: EntityIdUnique source identifier.
name: StringHuman-readable source name.
bus_id: EntityIdBus to which this source’s generation is injected.
entry_stage_id: Option<i32>Stage index when the source enters service. None = always exists.
exit_stage_id: Option<i32>Stage index when the source is decommissioned. None = never decommissioned.
max_generation_mw: f64Maximum generation (installed capacity) [MW].
curtailment_cost: f64Resolved cost per MWh of curtailed generation [$/MWh].
This is a resolved field — defaults are applied during loading so this value is always ready for LP construction without further lookup.
Trait Implementations§
Source§impl Clone for NonControllableSource
impl Clone for NonControllableSource
Source§fn clone(&self) -> NonControllableSource
fn clone(&self) -> NonControllableSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more