Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Data::RenewableClusterList Class Reference

List of renewable clusters. More...

#include <cluster_list.h>

Inheritance diagram for Antares::Data::RenewableClusterList:
Antares::Data::ClusterList< RenewableCluster >

Public Member Functions

std::string typeID () const override
 
bool loadFromFolder (const std::filesystem::path &folder, Area *area)
 
bool validateClusters () const
 
bool saveToFolder (const AnyString &folder) const override
 
- Public Member Functions inherited from Antares::Data::ClusterList< RenewableCluster >
void clearAll ()
 
bool empty () const
 
RenewableClusterfindInAll (std::string_view id) const
 Try to find a cluster from its id (const) in the complete cluster list.
 
bool exists (const Data::ClusterName &id) const
 Get if a cluster exists.
 
auto each_enabled () const
 
std::vector< std::shared_ptr< RenewableCluster > > all () const
 
bool rename (Data::ClusterName idToFind, Data::ClusterName newName)
 Rename a cluster.
 
virtual bool remove (const Data::ClusterName &id)
 Remove properly a cluster.
 
SharedPtr operator[] (std::size_t idx)
 
SharedPtr operator[] (std::size_t idx) const
 
SharedPtr enabledClusterAt (unsigned int index) const
 
void resizeAllTimeseriesNumbers (uint n) const
 Resize all matrices dedicated to the sampled timeseries numbers.
 
void storeTimeseriesNumbers (Solver::IResultWriter &writer) const
 
bool forceReload (bool reload=false) const
 Invalidate all clusters.
 
void markAsModified () const
 Mark the clusters as modified.
 
void retrieveTotalCapacityAndUnitCount (double &total, uint &unitCount) const
 Retrieve the total capacity and the total unit count.
 
unsigned int enabledCount () const
 
unsigned int allClustersCount () const
 
void addToCompleteList (std::shared_ptr< RenewableCluster > cluster)
 
void sortCompleteList ()
 
bool loadDataSeriesFromFolder (Study &study, const std::filesystem::path &folder)
 
bool saveDataSeriesToFolder (const AnyString &folder) const
 

Additional Inherited Members

- Public Types inherited from Antares::Data::ClusterList< RenewableCluster >
using SharedPtr
 
- Protected Member Functions inherited from Antares::Data::ClusterList< RenewableCluster >
void rebuildIndexes ()
 
- Protected Attributes inherited from Antares::Data::ClusterList< RenewableCluster >
std::vector< std::shared_ptr< RenewableCluster > > allClusters_
 

Detailed Description

List of renewable clusters.

Member Function Documentation

◆ saveToFolder()

bool Antares::Data::RenewableClusterList::saveToFolder ( const AnyString & folder) const
overridevirtual

◆ typeID()

std::string Antares::Data::RenewableClusterList::typeID ( ) const
overridevirtual

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