echo.models.scenario module
- class echo.models.scenario.EchoConcreteModel(*args, **kwds)
Bases:
ConcreteModelExtension to pyomo’s ConcreteModel that documents all the echo specific variables that decorate the underlying ConcreteModel
- Expansion: FiniteScalarRangeSet
- Time: FiniteScalarRangeSet
- big_m: Param
- discount_rates: Param
- scenario_settings: ScenarioSettings
- small_m: Param
- class echo.models.scenario.EngineSettings(engine: str, engine_executable: str, small_m: float, big_m: int)
Bases:
objectHigh level settings for the underlying optimisation engine
- Parameters:
engine – the name (str) of the optimiser e.g. “cplex”
engine_executable – the path to the executable (str). An empty string causes echo to try to determine the path to the solver.
small_m – small bias value (float). A small fudge factor for reducing the size of the solution set and achieving a unique optimisation solution.
big_m – big bias value (int). A big_m value for integer optimisation
- big_m: int
- engine: str
- engine_executable: str
- small_m: float
- class echo.models.scenario.ScenarioSettings(interval_duration: int, number_of_intervals: int, number_of_expansion_intervals: int, discount_rate: int = 0)
Bases:
objectSettings specific to describing an Echo scenario
- discount_rate: int = 0
- interval_duration: int
- number_of_expansion_intervals: int
- number_of_intervals: int
- echo.models.scenario.engine_settings_from_environment(optimiser_engine: str | None = None) EngineSettings
Configure the optimiser through setting appropriate environmental variables.