Antares Simulator
Power System Simulator
|
A single thermal cluster. More...
#include <cluster.h>
Classes | |
struct | DivModulation |
Public Types | |
enum | ThermalDispatchableGroup { thermalDispatchGrpNuclear = 0 , thermalDispatchGrpLignite , thermalDispatchGrpHardCoal , thermalDispatchGrpGas , thermalDispatchGrpOil , thermalDispatchGrpMixedFuel , thermalDispatchGrpOther1 , thermalDispatchGrpOther2 , thermalDispatchGrpOther3 , thermalDispatchGrpOther4 , groupMax } |
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. | |
![]() | |
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. | |
void | setGroup (Data::ClusterName newgrp) override |
Set the group. | |
Spinning | |
void | calculationOfSpinning () |
Calculation of spinning. | |
void | reverseCalculationOfSpinning () |
Calculation of spinning (reverse) | |
bool | integrityCheck () override |
Check and fix all values of a thermal cluster. | |
void | copyFrom (const ThermalCluster &cluster) |
Copy data from another cluster. | |
uint | groupId () const override |
Group ID as an uint. | |
![]() | |
Cluster (Area *parent) | |
const ClusterName & | id () const |
const ClusterName & | group () const |
const ClusterName & | name () const |
void | setName (const AnyString &newname) |
Yuni::String | getFullName () 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 |
Static Public Member Functions | |
static const char * | GroupName (enum ThermalDispatchableGroup grp) |
Get the group name string. | |
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) | |
![]() | |
uint | unitCount = 0 |
bool | enabled = true |
Area * | parentArea |
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. | |
validity of Min Stable Power | |
uint | index = 0 |
The index of the cluster (within a list) | |
ThermalDispatchableGroup | groupID = thermalDispatchGrpOther1 |
The group ID. | |
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 | 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< PreproAvailability > | prepro |
Data for the preprocessor. | |
EconomicInputData | ecoInput |
LocalTSGenerationBehavior | tsGenBehavior = LocalTSGenerationBehavior::useGlobalParameter |
class | ThermalClusterList |
unsigned int | precision () const override |
CostProvider & | getCostProvider () |
Additional Inherited Members | |
![]() | |
Data::ClusterName | pName |
Data::ClusterName | pID |
Data::ClusterName | pGroup |
A single thermal cluster.
void Antares::Data::Data::ThermalCluster::calculationOfSpinning | ( | ) |
Calculation of spinning.
The formula is : TS[i,j] = TS[i,j] * (1 - Spinning / 100)
void Antares::Data::Data::ThermalCluster::copyFrom | ( | const ThermalCluster & | cluster | ) |
Copy data from another cluster.
The name and the id will remain untouched.
|
overridevirtual |
Invalidate all data associated to the thermal cluster.
Implements Antares::Data::Cluster.
|
overridevirtual |
Group ID as an uint.
Implements Antares::Data::Cluster.
|
static |
Get the group name string.
|
overridevirtual |
Check and fix all values of a thermal cluster.
Implements Antares::Data::Cluster.
|
overridevirtual |
Mark the thermal cluster as modified.
Implements Antares::Data::Cluster.
|
overridevirtual |
Implements Antares::Data::Cluster.
|
overridevirtual |
Reset to default values.
This method should only be called from the GUI
Reimplemented from Antares::Data::Cluster.
void Antares::Data::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.
|
overridevirtual |
Set the group.
Implements Antares::Data::Cluster.
ThermalDispatchableGroup Antares::Data::ThermalCluster::groupID = thermalDispatchGrpOther1 |
The group ID.
This value is computed from the field 'group' in 'group()