|
| void | initializeFromStudy (Data::Study &study) |
| | Initialize the variable from study configuration. More...
|
| |
| void | initializeFromArea (Data::Study *study, Data::Area *area) noexcept |
| | Associate this variable with a specific area. More...
|
| |
| void | initializeFromLink (Data::Study *study, Data::AreaLink *link) |
| | Initialize from link (for link-based variables) More...
|
| |
| void | simulationBegin () |
| | Reset state at the beginning of simulation. More...
|
| |
|
void | simulationEnd () |
| | Cleanup at the end of simulation.
|
| |
| void | yearBegin (unsigned int year, unsigned int space) |
| | Setup at the beginning of each year. More...
|
| |
| void | yearEndBuild (State &state, unsigned int year, unsigned int space) |
| | Post-processing after year end build. More...
|
| |
| void | yearEnd (unsigned int year, unsigned int space) |
| | Finalize year and compute statistics. More...
|
| |
| void | computeSummary (unsigned int year, unsigned int space) |
| | Merge year results into global summary. More...
|
| |
| void | hourBegin (unsigned int hourInTheYear) |
| | Setup at the beginning of each hour. More...
|
| |
| void | hourForEachArea (State &state, unsigned int space) |
| | Process data for each area during an hour. More...
|
| |
| void | hourEnd (State &state, unsigned int hourInTheYear) |
| | Cleanup at the end of each hour. More...
|
| |
| Antares::Memory::Stored< double >::ConstReturnType | retrieveRawHourlyValuesForCurrentYear (unsigned int, unsigned int space) const noexcept |
| | Retrieve raw hourly values for the current year. More...
|
| |
| void | localBuildAnnualSurveyReport (SurveyResults &results, int fileLevel, int precision, unsigned int space) const |
| | Build annual survey report for output. More...
|
| |
|
void | getPrintStatusFromStudy (Data::Study &study) |
| |
|
void | supplyMaxNumberOfColumns (Data::Study &study) |
| |
|
| IVariable () |
| | Default constructor.
|
| |
|
| ~IVariable () |
| |
| void | initializeFromStudy (Data::Study &study) |
| | Initialize the variable. More...
|
| |
|
size_t | getMaxNumberColumns () const |
| |
| void | initializeFromArea (Data::Study *study, Data::Area *area) |
| | Initialize the variable with a specific area. More...
|
| |
| void | initializeFromLink (Data::Study *study, Data::AreaLink *link) |
| | Initialize the variable with a specific link between two areas. More...
|
| |
| void | initializeFromThermalCluster (Data::Study *study, Data::Area *area, Data::ThermalCluster *cluster) |
| | Initialize the variable with a specific thermal cluster. More...
|
| |
|
void | broadcastNonApplicability (bool applyNonApplicable) |
| |
|
void | simulationBegin () |
| | Notify to all variables that the simulation is about to begin.
|
| |
|
void | simulationEnd () |
| | Notify to all variables that the simulation has finished.
|
| |
| void | yearBegin (uint year) |
| | Notify to all variables that a new year is about to start. More...
|
| |
| void | yearEndBuild (State &state, uint year) |
| | Notify to all variables that the year is close to end. More...
|
| |
| void | yearEndBuildPrepareDataForEachThermalCluster (State &state, uint year, uint numSpace) |
| | Notify to all variables to prepare data for the close to year end calculations for each thermal cluster. More...
|
| |
| void | yearEndBuildForEachThermalCluster (State &state, uint year, uint numSpace) |
| | Notify to all variables that the year is close to end. More...
|
| |
| void | yearEnd (uint year) |
| | Notify to all variables that the year is now over. More...
|
| |
|
void | yearEndSpatialAggregates (V &allVars, uint year, unsigned int numSpace) |
| |
|
void | yearEndSpatialAggregates (V &allVars, uint year, const SetT &set) |
| |
|
void | simulationEndSpatialAggregates (V &allVars) |
| |
|
void | simulationEndSpatialAggregates (V &allVars, const SetT &set) |
| |
|
void | hourBegin (uint hourInTheYear) |
| | Event: A new hour in the year has just began.
|
| |
|
void | hourForEachArea (State &state) |
| | Event: For a given hour in the year, walking through all areas.
|
| |
|
void | hourForEachArea (State &state, unsigned int numSpace) |
| |
|
void | hourForEachLink (State &state, uint numSpace) |
| | Event: For a given hour in the year, walking through all links.
|
| |
|
void | hourEnd (State &state, uint hourInTheYear) |
| | Event: A new hour in the year has just ended.
|
| |
|
void | weekBegin (State &state) |
| |
|
void | weekForEachArea (State &state, uint numSpace) |
| |
|
void | weekEnd (State &state) |
| |
|
void | buildSurveyReport (SurveyResults &results, int dataLevel, int fileLevel, int precision) const |
| |
|
void | buildAnnualSurveyReport (SurveyResults &results, int dataLevel, int fileLevel, int precision, uint numSpace) const |
| |
|
void | buildDigest (SurveyResults &results, int digestLevel, int dataLevel) const |
| |
|
void | beforeYearByYearExport (uint year, uint numSpace) |
| | Event triggered before exporting a year-by-year survey report.
|
| |
| void | computeSpatialAggregateWith (O &out, uint numSpace) |
| | Compute the spatial cluster with the results of a single variable. More...
|
| |
| void | computeSpatialAggregateWith (O &out, const Data::Area *area) |
| | Compute the spatial cluster with the results of a single variable and a given area. More...
|
| |
|
const double * | retrieveHourlyResultsForCurrentYear (uint numSpace) const |
| |
|
void | retrieveResultsForArea (typename Storage< VCardToFindT >::ResultsType **result, const Data::Area *area) |
| |
|
void | retrieveResultsForThermalCluster (typename Storage< VCardToFindT >::ResultsType **result, const Data::ThermalCluster *cluster) |
| |
|
void | retrieveResultsForLink (typename Storage< VCardToFindT >::ResultsType **result, const Data::AreaLink *link) |
| |
|
Antares::Memory::Stored< double >::ConstReturnType | retrieveRawHourlyValuesForCurrentYear (uint column, uint) const |
| |
|
const StoredResultType & | results () const |
| | The results.
|
| |
template<typename Derived, typename NextT, typename VCardType>
class Antares::Solver::Variable::Economy::TimeSeriesValuesBase< Derived, NextT, VCardType >
Base implementation for time series variables using CRTP pattern.
- This class provides the common functionality for all time series variables. It uses the Curiously Recurring Template Pattern (CRTP) to achieve static polymorphism without virtual function overhead.
- Template Parameters
-
| Derived | The derived class (CRTP) |
| NextT | The next variable in the chain (for variable composition) |
| VCardType | The VCard describing this variable |
Derived Class Requirements:
Derived classes must implement these methods:
void initializeDerivedFromStudy(Data::Study& study);
void yearBeginImpl(unsigned int year, unsigned int space);
void hourForEachAreaImpl(State& state, unsigned int space);
Lifecycle Methods:
The simulation follows this lifecycle:
initializeFromStudy() - Setup from study configuration
initializeFromArea() - Associate with specific area
simulationBegin() - Reset state for new simulation
- For each year:
simulationEnd() - Cleanup
Memory Management:
The class manages memory automatically using RAII principles:
yearlyValues: Automatically sized vector of intermediate values
areaPtr: Non-owning pointer to area (managed externally)
nbYearsParallel: Cached for performance