Antares Simulator
Power System Simulator
LinearProblemMatrix.h
1 /*
2 ** Copyright 2007-2025, 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 #pragma once
22 #include <antares/study/study.h>
23 #include "antares/solver/optimisation/opt_structure_probleme_a_resoudre.h"
24 #include "antares/solver/simulation/sim_structure_probleme_economique.h"
25 
26 #include "ProblemMatrixEssential.h"
27 #include "constraints/AreaHydroLevelGroup.h"
28 #include "constraints/BindingConstraintDayGroup.h"
29 #include "constraints/BindingConstraintWeekGroup.h"
30 #include "constraints/ConstraintGroup.h"
31 #include "constraints/FinalStockGroup.h"
32 #include "constraints/Group1.h"
33 #include "constraints/HydraulicSmoothingGroup.h"
34 #include "constraints/HydroPowerGroup.h"
35 #include "constraints/MaxPumpingGroup.h"
36 #include "constraints/MinMaxHydroPowerGroup.h"
37 
38 using namespace Antares::Data;
39 
41 {
42 public:
43  explicit LinearProblemMatrix(PROBLEME_HEBDO* problemeHebdo, ConstraintBuilder& builder);
44 
45  void Run() override;
46 
47 private:
48  ConstraintBuilder& builder_;
49  Group1 group1_;
50  BindingConstraintDayGroup bindingConstraintDayGroup_;
51  BindingConstraintWeekGroup bindingConstraintWeekGroup_;
52  HydroPowerGroup hydroPowerGroup_;
53  HydraulicSmoothingGroup hydraulicSmoothingGroup_;
54  MinMaxHydroPowerGroup minMaxHydroPowerGroup_;
55  MaxPumpingGroup maxPumpingGroup_;
56  AreaHydroLevelGroup areaHydroLevelGroup_;
57  FinalStockGroup finalStockGroup_;
58 };
Definition: AreaHydroLevelGroup.h:27
Definition: BindingConstraintDayGroup.h:27
Definition: BindingConstraintWeekGroup.h:27
Definition: ConstraintBuilder.h:66
Definition: FinalStockGroup.h:28
Definition: Group1.h:31
Definition: HydraulicSmoothingGroup.h:26
Definition: HydroPowerGroup.h:27
Definition: LinearProblemMatrix.h:41
Definition: MaxPumpingGroup.h:27
Definition: MinMaxHydroPowerGroup.h:28
Definition: ProblemMatrixEssential.h:28
Definition: sim_structure_probleme_economique.h:403