21 #ifndef __SOLVER_VARIABLE_STATE_HXX__
22 #define __SOLVER_VARIABLE_STATE_HXX__
24 namespace Antares::Solver::Variable
41 annualSystemCost = 0.;
70 case Data::SimulationMode::Adequacy:
71 case Data::SimulationMode::Economy:
72 case Data::SimulationMode::Expansion:
78 case Data::SimulationMode::Unknown:
std::vector< AreaScratchpad > scratchpad
Scratchpad used temporary calculations (solver only)
Definition: area.h:311
AreaList areas
All available areas.
Definition: study.h:524
Data::Area * area
The current area.
Definition: state.h:155
double optimalSolutionCost1
Sum of the weekly optimal costs over the year (first optimisation step)
Definition: state.h:227
double thermalClusterPMinOfTheClusterForYear[HOURS_PER_YEAR]
Minimum power of the cluster for the whole year.
Definition: state.h:192
double averageOptimizationTime2
Average time spent in second optimization over the year (ms)
Definition: state.h:233
double thermalClusterOperatingCostForYear[HOURS_PER_YEAR]
Thermal operating cost for the current thermal cluster for the whole year.
Definition: state.h:188
void initFromAreaIndex(const unsigned int areaIndex, uint numSpace)
Initialize some variables according an area index.
Definition: state.hxx:62
void startANewYear()
Reset internal data.
Definition: state.hxx:26
double averageUpdateTime
Average time spent updating the problem over the year (ms)
Definition: state.h:235
PROBLEME_HEBDO * problemeHebdo
Probleme Hebdo.
Definition: state.h:201
double thermalClusterProductionForYear[HOURS_PER_YEAR]
Thermal production for the current thermal cluster for the whole year.
Definition: state.h:182
Data::Study & study
Reference to the original study.
Definition: state.h:208
Data::ThermalCluster * thermalCluster
The current thermal cluster (used in yearEndBuildForEachThermalCluster functions)
Definition: state.h:158
void yearEndResetThermal()
Reset thermal internal data for end of year calculations.
Definition: state.hxx:49
unsigned int hourInTheSimulation
Current hour from the begining of the simulation.
Definition: state.h:152
uint thermalClusterDispatchedUnitsCountForYear[HOURS_PER_YEAR]
Definition: state.h:185
double optimalSolutionCost2
Sum of the weekly optimal costs over the year (second optimisation step)
Definition: state.h:229
double thermalClusterNonProportionalCostForYear[HOURS_PER_YEAR]
Thermal NP Cost for the current thermal cluster for the whole year.
Definition: state.h:190
Data::SimulationMode simulationMode
Simulation mode: economy / adequacy / expansion.
Definition: state.h:204
unsigned int numSpace
Index of the state in the state vector.
Definition: state.h:212
double averageOptimizationTime1
Average time spent in first optimization over the year (ms)
Definition: state.h:231
Data::AreaScratchpad * scratchpad
The Scratchpad for the current area.
Definition: state.h:163