pub fn cost_at(
obj: &Map<String, Value>,
ts: Option<&Value>,
index: usize,
base_mva: f64,
) -> Option<GenCost>Expand description
Piecewise marginal cost blocks for period index, integrated into a
cumulative MATPOWER piecewise linear curve. Shared with the operating point
extractor so a materialized period matches what this parser builds for the
static payload.