21 #ifndef SOLVER_VARIABLE_ECONOMY_LOLP_H__
22 #define SOLVER_VARIABLE_ECONOMY_LOLP_H__
24 #include "lolp_base.h"
26 namespace Antares::Solver::Variable::Economy
31 static std::string Caption()
36 static std::string Description()
41 static bool checkCondition(
const State& state)
43 return state.hourlyResults->ValeursHorairesDeDefaillancePositive[state.
hourInTheWeek] > 0.;
49 template<
class NextT = Container::EndOfList>
Base class for economy variables like LOLP and LOLD.
Definition: economy_base.h:100
unsigned int hourInTheWeek
Current hour in the week (zero-based)
Definition: state.h:150
Definition: lolp_base.h:30
Definition: economy_base.h:41