Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Solver::Variable::SetsOfAreas< NextT > Class Template Reference

Classes

struct  Statistics
 

Public Types

enum  { count = NextT::count }
 
typedef NextT NextType
 Type of the next static variable.
 
typedef VCardAllSetsOfAreas VCardType
 VCard.
 
typedef Variable::IVariable< SetsOfAreas< NextT >, NextT, VCardTypeAncestorType
 Ancestor.
 
typedef VCardType::ResultsType ResultsType
 List of expected results.
 

Public Member Functions

template<class V >
void yearEndSpatialAggregates (V &allVars, uint year, uint numSpace)
 

Static Public Member Functions

template<class PredicateT >
static void RetrieveVariableList (PredicateT &predicate)
 Retrieve the list of all individual variables.
 

Constructor & Destructor

typedef std::vector< std::unique_ptr< NextType > > SetOfAreasVector
 Area list.
 
SetOfAreasVector pSetsOfAreas
 Area list.
 
std::vector< const Data::Sets::SetAreasType * > pOriginalSets
 Reference to the origina set.
 
const Data::StudypStudy
 The study.
 
Data::Study::SetsOfAreas::IDType::Vector pNames
 
template<class I >
static void provideInformations (I &infos)
 
 SetsOfAreas ()=default
 Default Constructor.
 
 ~SetsOfAreas ()=default
 Destructor.
 
void initializeFromStudy (Data::Study &study)
 
void initializeFromArea (Data::Study *, Data::Area *)
 
void initializeFromThermalCluster (Data::Study *, Data::Area *, Data::ThermalCluster *)
 
void initializeFromAreaLink (Data::Study *, Data::AreaLink *)
 
void simulationBegin ()
 
void simulationEnd ()
 
void yearBegin (unsigned int year, unsigned int numSpace)
 
void yearEndBuild (State &state, unsigned int year, unsigned int numSpace)
 
void yearEnd (unsigned int year, unsigned int numSpace)
 
void computeSummary (std::map< unsigned int, unsigned int > &numSpaceToYear, unsigned int nbYearsForCurrentSummary)
 
void hourBegin (unsigned int hourInTheYear)
 
void hourForEachArea (State &state, unsigned int numSpace)
 
void hourForEachLink (State &state)
 
void hourEnd (State &state, unsigned int hourInTheYear)
 
void weekBegin (State &)
 
void weekForEachArea (State &, unsigned int numSpace)
 
void weekEnd (State &)
 
void buildSurveyReport (SurveyResults &results, int dataLevel, int fileLevel, int precision) const
 
void buildAnnualSurveyReport (SurveyResults &results, int dataLevel, int fileLevel, int precision, unsigned int numSpace) const
 
void buildDigest (SurveyResults &, int digestLevel, int dataLevel) const
 
void beforeYearByYearExport (uint year, uint numSpace)
 
template<class V >
void yearEndSpatialAggregates (V &allVars, unsigned int year, unsigned int numSpace)
 
template<class V >
void computeSpatialAggregatesSummary (V &allVars, std::map< unsigned int, unsigned int > &numSpaceToYear, unsigned int)
 
template<class V >
void simulationEndSpatialAggregates (V &allVars)
 
template<class VCardSearchT , class O >
void computeSpatialAggregateWith (O &out)
 
template<class VCardSearchT , class O >
void computeSpatialAggregateWith (O &out, const Data::Area *area, uint numSpace)
 
template<class VCardToFindT >
const double * retrieveHourlyResultsForCurrentYear () const
 
template<class VCardToFindT >
void retrieveResultsForArea (typename Storage< VCardToFindT >::ResultsType **result, const Data::Area *area)
 
template<class VCardToFindT >
void retrieveResultsForThermalCluster (typename Storage< VCardToFindT >::ResultsType **result, const Data::ThermalCluster *cluster)
 
template<class VCardToFindT >
void retrieveResultsForLink (typename Storage< VCardToFindT >::ResultsType **result, const Data::AreaLink *link)
 

Member Enumeration Documentation

◆ anonymous enum

template<class NextT = Container::EndOfList>
anonymous enum
Enumerator
count 

How many items have we got.

Member Function Documentation

◆ RetrieveVariableList()

template<class NextT >
template<class PredicateT >
void Antares::Solver::Variable::SetsOfAreas< NextT >::RetrieveVariableList ( PredicateT & predicate)
inlinestatic

Retrieve the list of all individual variables.

The predicate must implement the method add(name, unit, comment).


The documentation for this class was generated from the following files: