1//! Time-varying multiplier `Pattern`s applied to demands, reservoir heads and pump speeds. 2 3use serde::{Deserialize, Serialize}; 4 5/// Pattern struct 6#[derive(Debug, Deserialize, Serialize, Clone)] 7pub struct Pattern { 8 pub id: Box<str>, 9 pub multipliers: Vec<f64>, 10}