111 template<
int CDataLevel,
int CFile>
135 pValuesForTheCurrentYear.initializeFromStudy(study);
138 NextType::initializeFromStudy(study);
144 VariableAccessorType::InitializeAndReset(
results, study);
150 NextType::initializeFromArea(study, area);
156 NextType::initializeFromAreaLink(study, link);
161 if (link->useLoopFlow)
164 unsigned int height = link->parameters.height;
165 (void)::memcpy(pValuesForTheCurrentYear.
hour,
166 link->parameters[Data::fhlLoopFlow],
167 sizeof(
double) * height);
171 NextType::initializeFromAreaLink(study, link);
174 void simulationBegin()
177 NextType::simulationBegin();
188 NextType::simulationEnd();
191 void yearBegin(uint year,
unsigned int numSpace)
194 NextType::yearBegin(year, numSpace);
197 void yearEndBuild(
State& state,
unsigned int year,
unsigned int numSpace)
200 NextType::yearEndBuild(state, year, numSpace);
203 void yearEnd(uint year,
unsigned int numSpace)
206 NextType::yearEnd(year, numSpace);
209 void computeSummary(std::map<unsigned int, unsigned int>& numSpaceToYear,
210 unsigned int nbYearsForCurrentSummary)
213 NextType::computeSummary(numSpaceToYear, nbYearsForCurrentSummary);
216 void hourBegin(uint hourInTheYear)
219 NextType::hourBegin(hourInTheYear);
222 void hourForEachArea(
State& state,
unsigned int numSpace)
225 NextType::hourForEachArea(state, numSpace);
228 void hourForEachLink(
State& state,
unsigned int numSpace)
231 NextType::hourForEachLink(state, numSpace);
234 void buildDigest(SurveyResults&
results,
int digestLevel,
int dataLevel)
const
237 NextType::buildDigest(
results, digestLevel, dataLevel);
240 Antares::Memory::Stored<double>::ConstReturnType retrieveRawHourlyValuesForCurrentYear(
244 return pValuesForTheCurrentYear.
hour;
247 void localBuildAnnualSurveyReport(SurveyResults&
results,
253 results.isCurrentVarNA = AncestorType::isNonApplicable;
255 if (AncestorType::isPrinted[0])
260 pValuesForTheCurrentYear.template buildAnnualSurveyReport<VCardType>(
results,
268 typename VCardType::IntermediateValuesType pValuesForTheCurrentYear;