pub struct Pump {
pub curve_type: PumpCurveType,
pub head_curve: Option<String>,
pub power: Option<f64>,
pub efficiency_curve: Option<String>,
pub default_efficiency: f64,
pub speed_pattern: Option<String>,
pub energy_price: Option<f64>,
pub price_pattern: Option<String>,
}Expand description
A pump link (§2.6.3).
Fields§
§curve_type: PumpCurveTypeThe form of the head-curve relationship for this pump.
head_curve: Option<String>Curve ID for head vs. flow (PumpHead kind); None for ConstHp.
power: Option<f64>Rated power (W); only used for ConstHp.
efficiency_curve: Option<String>Optional efficiency curve ID (PumpEfficiency kind).
default_efficiency: f64Fallback efficiency fraction when no curve is available.
speed_pattern: Option<String>Pattern ID modulating pump speed over time.
energy_price: Option<f64>Per-pump unit energy price ($/kWh); None → use global.
price_pattern: Option<String>Pattern ID modulating energy price over time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pump
impl RefUnwindSafe for Pump
impl Send for Pump
impl Sync for Pump
impl Unpin for Pump
impl UnsafeUnpin for Pump
impl UnwindSafe for Pump
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