hydr_structures/structures/controlled_pump/definition.rs
1//! Explicit actual pump response assumptions without invented motor dynamics.
2
3/// Selected physical response approximation. No implicit response model applies.
4#[derive(Clone, Copy, Debug, PartialEq, Eq)]
5pub enum PumpResponseModel {
6 /// Actual operation equals the accepted sampled command on the decision's right side.
7 ///
8 /// Acceleration, startup delay, coast-down, and independent response memory are excluded.
9 IdealInstantaneous,
10}
11/// Complete response evidence bound to one actual pump in original controlled order.
12#[derive(Clone, Debug, PartialEq, Eq)]
13pub struct PumpResponseDefinition {
14 /// Identity of the actual pump controlled by the corresponding original controller.
15 pub structure_id: String,
16 /// Explicit response model, independent of the hydraulic pump curve.
17 pub model: PumpResponseModel,
18 /// Nonempty evidence identifying the supplied response approximation.
19 pub response_provenance: String,
20 /// Nonempty operating-envelope and ideal-response assumptions, including excluded motor dynamics.
21 pub ideal_response_applicability: String,
22}