Antares Simulator
Power System Simulator
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages Concepts
all.h
1/*
2** Copyright 2007-2024, RTE (https://www.rte-france.com)
3** See AUTHORS.txt
4** SPDX-License-Identifier: MPL-2.0
5** This file is part of Antares-Simulator,
6** Adequacy and Performance assessment for interconnected energy networks.
7**
8** Antares_Simulator is free software: you can redistribute it and/or modify
9** it under the terms of the Mozilla Public Licence 2.0 as published by
10** the Mozilla Foundation, either version 2 of the License, or
11** (at your option) any later version.
12**
13** Antares_Simulator is distributed in the hope that it will be useful,
14** but WITHOUT ANY WARRANTY; without even the implied warranty of
15** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16** Mozilla Public Licence 2.0 for more details.
17**
18** You should have received a copy of the Mozilla Public Licence 2.0
19** along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
20*/
21#ifndef __SOLVER_VARIABLE_ADEQUACY_ALL_H__
22#define __SOLVER_VARIABLE_ADEQUACY_ALL_H__
23
24#include "antares/solver/variable/adequacy/links.h"
25#include "antares/solver/variable/adequacy/overallCost.h"
26#include "antares/solver/variable/adequacy/spilledEnergy.h"
27#include "antares/solver/variable/area.h"
28#include "antares/solver/variable/bindConstraints.h"
29#include "antares/solver/variable/commons/hydro.h"
30#include "antares/solver/variable/commons/join.h"
31#include "antares/solver/variable/commons/load.h"
32#include "antares/solver/variable/commons/miscGenMinusRowPSP.h"
33#include "antares/solver/variable/commons/psp.h"
34#include "antares/solver/variable/commons/rowBalance.h"
35#include "antares/solver/variable/commons/solar.h"
36#include "antares/solver/variable/commons/spatial-aggregate.h"
37#include "antares/solver/variable/commons/wind.h"
38#include "antares/solver/variable/economy/STSbyGroup.h"
39#include "antares/solver/variable/economy/STStorageInjectionByCluster.h"
40#include "antares/solver/variable/economy/STStorageLevelsByCluster.h"
41#include "antares/solver/variable/economy/STStorageWithdrawalByCluster.h"
42#include "antares/solver/variable/economy/avail-dispatchable-generation.h"
43#include "antares/solver/variable/economy/balance.h"
44#include "antares/solver/variable/economy/dispatchable-generation-margin.h"
45#include "antares/solver/variable/economy/dispatchableGeneration.h"
46#include "antares/solver/variable/economy/hydroCost.h"
47#include "antares/solver/variable/economy/hydrostorage.h"
48#include "antares/solver/variable/economy/inflow.h"
49#include "antares/solver/variable/economy/lold.h"
50#include "antares/solver/variable/economy/lolp.h"
51#include "antares/solver/variable/economy/max-mrg.h"
52#include "antares/solver/variable/economy/operatingCost.h"
53#include "antares/solver/variable/economy/overflow.h"
54#include "antares/solver/variable/economy/price.h"
55#include "antares/solver/variable/economy/productionByDispatchablePlant.h"
56#include "antares/solver/variable/economy/productionByRenewablePlant.h"
57#include "antares/solver/variable/economy/pumping.h"
58#include "antares/solver/variable/economy/renewableGeneration.h"
59#include "antares/solver/variable/economy/reservoirlevel.h"
60#include "antares/solver/variable/economy/thermalAirPollutantEmissions.h"
61#include "antares/solver/variable/economy/unsupliedEnergy.h"
62#include "antares/solver/variable/economy/waterValue.h"
63#include "antares/solver/variable/setofareas.h"
64#include "antares/solver/variable/variable.h"
65
66// Output variables associated to binding constraints
67#include "antares/solver/variable//economy/bindingConstraints/bindingConstraintsMarginalCost.h"
68
69// By thermal plant
70#include "../economy/profitByPlant.h"
71
72namespace Antares
73{
74namespace Solver
75{
76namespace Variable
77{
78namespace Adequacy
79{
83typedef // Prices
84 Variable::Adequacy::OverallCost // Overall Cost (Op. Cost + Unsupplied Eng.)
85 <Variable::Economy::OperatingCost // Operating Cost
86 <Variable::Economy::Price // Marginal price
87 // pollutant
88 <Variable::Economy::ThermalAirPollutantEmissions // Pollutant emissions (from all thermal
89 // dispatchable clusters) Production by thermal
90 // cluster
91 <Variable::Economy::ProductionByDispatchablePlant // Energy generated by thermal dispatchable
92 // clusters
93 <Variable::Economy::ProductionByRenewablePlant // Energy generated by renewable clusters
94 // (must-run)
95 <Variable::Economy::Balance // Nodal Energy Balance
96 // Misc Gen.
97 <Variable::Economy::RowBalance // Misc Gen. Row balance
98 <Variable::Economy::PSP // PSP
99 <Variable::Economy::MiscGenMinusRowPSP // Misc Gen. - Row Balance - PSP
100 // Time series
101 <Variable::Economy::TimeSeriesValuesLoad // Load
102 <Variable::Economy::TimeSeriesValuesHydro // Hydro
103 <Variable::Economy::TimeSeriesValuesWind // Wind
104 <Variable::Economy::TimeSeriesValuesSolar // Solar
105 // Other
106 <Variable::Economy::DispatchableGeneration // All dispatchable generation
107 <Variable::Economy::RenewableGeneration<
108 Variable::Economy::HydroStorage // Hydro Storage Generation
109 <Variable::Economy::Pumping // Pumping generation
110 <Variable::Economy::ReservoirLevel // Reservoir levels
111 <Variable::Economy::Inflows // Hydraulic inflows
112 <Variable::Economy::Overflows // Hydraulic overflows
113 <Variable::Economy::WaterValue // Water values
114 <Variable::Economy::HydroCost // Hydro costs
115 <Variable::Economy::STSbyGroup<
116 Variable::Economy::STstorageInjectionByCluster<
117 Variable::Economy::STstorageWithdrawalByCluster<
118 Variable::Economy::STstorageLevelsByCluster<
119 Variable::Economy::UnsupliedEnergy // Unsuplied Energy
120 <Variable::Adequacy::SpilledEnergy // Spilled Energy
121 <Variable::Economy::LOLD // LOLD
122 <Variable::Economy::LOLP // LOLP
123 <Variable::Economy::AvailableDispatchGen<
124 Variable::Economy::DispatchableGenMargin<
125 Variable::Economy::Marge // OP. MRG
126 <Variable::Economy::ProfitByPlant
127 // Links
128 <Variable::Adequacy::Links // All links
129 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
130 VariablesPerArea;
131
135typedef // Prices
136 Common::SpatialAggregate<
137 Variable::Adequacy::OverallCost,
138 Common::SpatialAggregate<
139 Variable::Economy::OperatingCost,
140 Common::SpatialAggregate<
141 Variable::Economy::Price,
142 // pollutant
143 Common::SpatialAggregate<
144 Variable::Economy::ThermalAirPollutantEmissions,
145 // Production by thermal cluster
146 Common::SpatialAggregate<
147 Variable::Economy::Balance,
148 // Misc Gen.
149 Common::SpatialAggregate<
150 Variable::Economy::RowBalance,
151 Common::SpatialAggregate<
152 Variable::Economy::PSP,
153 Common::SpatialAggregate<
154 Variable::Economy::MiscGenMinusRowPSP,
155 // Time series
156 Common::SpatialAggregate<
157 Variable::Economy::TimeSeriesValuesLoad,
158 Common::SpatialAggregate<
159 Variable::Economy::TimeSeriesValuesHydro,
160 Common::SpatialAggregate<
161 Variable::Economy::TimeSeriesValuesWind,
162 Common::SpatialAggregate<
163 Variable::Economy::TimeSeriesValuesSolar,
164 // Other
165 Common::SpatialAggregate<
166 Variable::Economy::DispatchableGeneration,
167 Common::SpatialAggregate<
168 Variable::Economy::RenewableGeneration,
169 Common::SpatialAggregate<
170 Variable::Economy::HydroStorage,
171 Common::SpatialAggregate<
172 Variable::Economy::Pumping,
173 Common::SpatialAggregate<
174 Variable::Economy::ReservoirLevel,
175 Common::SpatialAggregate<
176 Variable::Economy::Inflows,
177 Common::SpatialAggregate<
178 Variable::Economy::Overflows,
179 Common::SpatialAggregate<
180 Variable::Economy::WaterValue,
181 Common::SpatialAggregate<
182 Variable::Economy::HydroCost,
183 Common::SpatialAggregate<
184 Variable::Economy::UnsupliedEnergy,
185 Common::SpatialAggregate<
186 Variable::Adequacy::SpilledEnergy,
187 // LOLD
188 Common::SpatialAggregate<
189 Variable::Economy::LOLD,
190 Common::SpatialAggregate<
191 Variable::Economy::LOLP,
192
193 Common::SpatialAggregate<
194 Variable::Economy::AvailableDispatchGen,
195 Common::SpatialAggregate<
196 Variable::Economy::DispatchableGenMargin,
197 Common::SpatialAggregate<
198 Variable::Economy::
199 Marge>>>>>>>>>>>>>>>>>>>>>>>>>>>>
200 VariablesPerSetOfAreas;
201
202typedef Variable::Economy::BindingConstMarginCost< // Marginal cost for a binding constraint
203 Container::EndOfList // End of variable list
204 >
205
206 VariablesPerBindingConstraints;
207
208typedef Variable::Join<
209 // Variables for each area / links attached to the areas
210 Variable::Areas<VariablesPerArea>,
211 // Variables for each set of areas
212 Variable::Join<Variable::SetsOfAreas<VariablesPerSetOfAreas>,
213 // Variables for each binding constraint
214 Variable::BindingConstraints<VariablesPerBindingConstraints>>>
215 ItemList;
216
220typedef Container::List<ItemList> AllVariables;
221
222} // namespace Adequacy
223} // namespace Variable
224} // namespace Solver
225} // namespace Antares
226
227#endif // __SOLVER_VARIABLE_ADEQUACY_ALL_H__
Definition variable.h:25