Skip to main content

plan

Function plan 

Source
pub fn plan(
    storage: &Storage,
    scenarios: &[Vec<f64>],
    starts: &[OffsetDateTime],
    hours: f64,
    risk: Risk,
    market: &Market,
) -> Result<PoolPlan, PlanError>
Expand description

A plan for storage over scenarios (one price per unit of hours, units starting at starts).

ยงErrors

PlanError when the problem has no checked solution.