Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
hydromaxtimeseriesreader.h
1/*
2** Copyright 2007-2023 RTE
3** Authors: Antares_Simulator Team
4**
5** This file is part of Antares_Simulator.
6**
7** Antares_Simulator is free software: you can redistribute it and/or modify
8** it under the terms of the GNU General Public License as published by
9** the Free Software Foundation, either version 3 of the License, or
10** (at your option) any later version.
11**
12** There are special exceptions to the terms and conditions of the
13** license as they are applied to this software. View the full text of
14** the exceptions in file COPYING.txt in the directory of this software
15** distribution
16**
17** Antares_Simulator is distributed in the hope that it will be useful,
18** but WITHOUT ANY WARRANTY; without even the implied warranty of
19** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20** GNU General Public License for more details.
21**
22** You should have received a copy of the GNU General Public License
23** along with Antares_Simulator. If not, see <http://www.gnu.org/licenses/>.
24**
25** SPDX-License-Identifier: licenceRef-GPL3_WITH_RTE-Exceptions
26*/
27
28#ifndef __ANTARES_LIBS_STUDY_PARTS_HYDRO_MAX_TIME_SERIES_READER_H__
29#define __ANTARES_LIBS_STUDY_PARTS_HYDRO_MAX_TIME_SERIES_READER_H__
30
31#include "antares/study/parts/hydro/container.h"
32
33namespace Antares::Data
34{
42{
43public:
44 HydroMaxTimeSeriesReader(PartHydro& hydro, std::string areaID, std::string areaName);
45
46 bool read(const AnyString& folder, bool usedBySolver);
47
49 {
56 // Pumping max Energy
57 pumpMaxE,
58 };
59
60private:
61 PartHydro& hydro_;
62 std::string areaID_;
63 std::string areaName_;
64
70 bool loadDailyMaxPowersAndEnergies(const AnyString& folder, bool usedBySolver);
71
77 void copyDailyMaxEnergy() const;
78 void copyDailyMaxGenerationEnergy() const;
79 void copyDailyMaxPumpingEnergy() const;
80};
81} // namespace Antares::Data
82
83#endif /*__ANTARES_LIBS_STUDY_PARTS_HYDRO_MAX_TIME_SERIES_READER_H__*/
Definition hydromaxtimeseriesreader.h:42
powerDailyE
Definition hydromaxtimeseriesreader.h:49
@ genMaxP
Generated max power.
Definition hydromaxtimeseriesreader.h:51
@ genMaxE
Generated max energy.
Definition hydromaxtimeseriesreader.h:53
@ pumpMaxP
Pumping max Power.
Definition hydromaxtimeseriesreader.h:55
Hydro for a single area.
Definition container.h:91