Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
post_process_commands.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#pragma once
22
23#include "antares/solver/simulation/base_post_process.h"
24
25namespace Antares::Solver::Simulation
26{
28{
29public:
31 unsigned int numSpace,
32 AreaList& areas);
33 void execute(const optRuntimeData& opt_runtime_data) override;
34
35private:
36 unsigned int numSpace_ = 0;
37 const AreaList& area_list_;
38};
39
41{
42public:
44 AreaList& areas,
45 SheddingPolicy sheddingPolicy,
46 SimplexOptimization simplexOptimization,
47 unsigned int numSpace);
48 void execute(const optRuntimeData& opt_runtime_data) override;
49
50private:
51 const AreaList& area_list_;
52 unsigned int numSpace_ = 0;
53 SheddingPolicy shedding_policy_;
54 SimplexOptimization splx_optimization_;
55};
56
58{
59public:
61 AreaList& areas,
62 unsigned int numSpace);
63 void execute(const optRuntimeData&) override;
64
65private:
66 const AreaList& area_list_;
67 unsigned int numSpace_ = 0;
68};
69
71{
72public:
73 DTGnettingAfterCSRcmd(PROBLEME_HEBDO* problemeHebdo, AreaList& areas, unsigned int numSpace);
74 void execute(const optRuntimeData&) override;
75
76private:
77 const AreaList& area_list_;
78 unsigned int numSpace_ = 0;
79};
80
82{
83public:
85 AreaList& areas,
86 const Date::Calendar& calendar);
87
88 void execute(const optRuntimeData& opt_runtime_data) override;
89
90private:
91 const AreaList& area_list_;
92 const Date::Calendar& calendar_;
93};
94
96{
97public:
99
100 void execute(const optRuntimeData& opt_runtime_data) override;
101
102private:
103 const AreaList& area_list_;
104};
105
107{
108public:
110 PROBLEME_HEBDO* problemeHebdo,
111 AreaList& areas,
112 unsigned int numSpace);
113
114 void execute(const optRuntimeData& opt_runtime_data) override;
115
116private:
117 double calculateDensNewAndTotalLmrViolation();
118 std::vector<double> calculateENSoverAllAreasForEachHour() const;
119 std::set<int> identifyHoursForCurtailmentSharing(const std::vector<double>& sumENS) const;
120 std::set<int> getHoursRequiringCurtailmentSharing() const;
121
123 const AreaList& area_list_;
124 const AdqPatchParams& adqPatchParams_;
125 unsigned int numSpace_ = 0;
126};
127
128} // namespace Antares::Solver::Simulation
A list of areas.
Definition area.h:366
Definition date.h:180
Definition post_process_commands.h:71
Definition post_process_commands.h:41
Definition post_process_commands.h:58
Definition adq-patch-params.h:91
Definition base_post_process.h:36
Definition sim_structure_probleme_economique.h:403