Antares Simulator
Power System Simulator
Antares::Data::ThermalCluster Class Referencefinal

A single thermal cluster. More...

#include <cluster.h>

Inheritance diagram for Antares::Data::ThermalCluster:
Antares::Data::Cluster

Classes

struct  DivModulation
 

Public Types

using Set = std::set< ThermalCluster *, CompareClusterName >
 Set of thermal clusters.
 
using SetPointer = std::set< ThermalCluster * >
 Set of thermal clusters (pointer)
 
using Vector = std::vector< Data::ThermalCluster * >
 Vector of thermal clusters.
 
- Public Types inherited from Antares::Data::Cluster
using Set = std::set< Cluster *, CompareClusterName >
 

Public Member Functions

 ThermalCluster (Data::Area *parent)
 
bool forceReload (bool reload) const override
 Invalidate all data associated to the thermal cluster.
 
void markAsModified () const override
 Mark the thermal cluster as modified.
 
void reset () override
 Reset to default values. More...
 
Spinning
void calculationOfSpinning ()
 Calculation of spinning. More...
 
void reverseCalculationOfSpinning ()
 Calculation of spinning (reverse) More...
 
bool integrityCheck () override
 Check and fix all values of a thermal cluster. More...
 
void copyFrom (const ThermalCluster &cluster)
 Copy data from another cluster. More...
 
- Public Member Functions inherited from Antares::Data::Cluster
 Cluster (Area *parent)
 
const std::string & id () const
 
const std::string & name () const
 
void setName (const AnyString &newname)
 
Yuni::String getFullName () const
 
void setGroup (const std::string &group)
 
std::string getGroup () const
 
void invalidateArea ()
 Invalidate the whole attached area.
 
bool isVisibleOnLayer (const size_t &layerID) const
 Check wether the cluster is visible in a layer (it's parent area is visible in the layer)
 
bool saveDataSeriesToFolder (const AnyString &folder) const
 
bool loadDataSeriesFromFolder (Study &s, const std::filesystem::path &folder)
 
bool isEnabled () const
 

Public Attributes

Pollutant emissions
 
PMin
double minStablePower = 0.
 Min. Stable Power (MW)
 
struct Antares::Data::ThermalCluster::DivModulation minDivModulation
 
uint minUpTime = 1
 Min. Up time (1..168)
 
uint minDownTime = 1
 Min. Down time (1..168)
 
uint minUpDownTime
 Max entre . minUp/minDown time (1..168)
 
double spinning = 0.
 Spinning (%)
 
double fuelEfficiency = 100
 Efficiency (%)
 
double forcedVolatility = 0.
 Forced Volatility.
 
double plannedVolatility = 0.
 Planned volatility.
 
StatisticalLaw forcedLaw = LawUniform
 Law (ts-generator)
 
StatisticalLaw plannedLaw = LawUniform
 Law (ts-generator)
 
- Public Attributes inherited from Antares::Data::Cluster
uint unitCount = 0
 
bool enabled = true
 
AreaparentArea
 The associate area (alias)
 
double nominalCapacity = 0.
 Capacity of reference per unit (MW) (pMax)
 
unsigned int areaWideIndex = (uint)-1
 The index of the cluster from the area's point of view.
 
unsigned int enabledIndex = (uint)-1
 
TimeSeriesNumbers tsNumbers
 tsNumbers must be constructed before series
 
TimeSeries series
 Series.
 
Matrix modulation
 Modulation matrix. More...
 

validity of Min Stable Power

uint index = 0
 The index of the cluster (within a list)
 
bool mustrun = false
 Mustrun.
 
bool mustrunOrigin = false
 Mustrun (as it were at the loading of the data)
 
double nominalCapacityWithSpinning = 0.
 Nominal capacity - spinning (solver only)
 
void calculatMinDivModulation ()
 Calculte the minimum modulation/ceil(modulation) from 8760 capacity modulation.
 
bool checkMinStablePower ()
 Check the validity of Min Stable Power.
 
bool checkMinStablePowerWithNewModulation (uint idx, double value)
 Check the validity of Min Stable Power with a new modulation value.
 
bool checkModulation ()
 
bool doWeGenerateTS (bool globalTSgeneration) const
 
void checkAndCorrectAvailability ()
 
bool isActive () const
 
bool isMustRun () const
 

Costs

CostGeneration costgeneration = setManually
 Cost generation.
 
double marginalCost = 0
 Marginal cost (euros/MWh)
 
double spreadCost = 0
 Spread (euros/MWh)
 
double fixedCost = 0
 Fixed cost (euros/hour)
 
double startupCost = 0
 Startup cost (euros/startup)
 
double marketBidCost = 0
 Market bid cost (euros/MWh)
 
double variableomcost = 0
 Variable O&M cost (euros/MWh)
 
std::vector< double > PthetaInf
 thermalMinGenModulation vector used in solver only to store the year values 8760 vector PthetaInf[hour]
 
std::unique_ptr< PreproAvailabilityprepro
 Data for the preprocessor.
 
EconomicInputData ecoInput
 
LocalTSGenerationBehavior tsGenBehavior = LocalTSGenerationBehavior::useGlobalParameter
 
class ThermalClusterList
 
unsigned int precision () const override
 
CostProvidergetCostProvider ()
 

Additional Inherited Members

- Protected Attributes inherited from Antares::Data::Cluster
std::string pName
 
std::string pID
 

Detailed Description

A single thermal cluster.

Member Function Documentation

◆ calculationOfSpinning()

void Antares::Data::ThermalCluster::calculationOfSpinning ( )

Calculation of spinning.

The formula is : TS[i,j] = TS[i,j] * (1 - Spinning / 100)

◆ copyFrom()

void Antares::Data::ThermalCluster::copyFrom ( const ThermalCluster cluster)

Copy data from another cluster.

The name and the id will remain untouched.

◆ integrityCheck()

bool Antares::Data::ThermalCluster::integrityCheck ( )
overridevirtual

Check and fix all values of a thermal cluster.

Returns
False if an error has been detected and fixed with a default value

Implements Antares::Data::Cluster.

◆ reset()

void Antares::Data::ThermalCluster::reset ( )
overridevirtual

Reset to default values.

This method should only be called from the GUI

Reimplemented from Antares::Data::Cluster.

◆ reverseCalculationOfSpinning()

void Antares::Data::ThermalCluster::reverseCalculationOfSpinning ( )

Calculation of spinning (reverse)

The original formula for the calculation of the spinning is : TS[i,j] = TS[i,j] * (1 - Spinning / 100)

This method is used to removed the spinning, before exporting the TS matrices into the input.


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