Antares Simulator
Power System Simulator
tsGenerationOptions.h
1 
2 #pragma once
3 
4 #include <string>
5 
6 #include <yuni/core/getopt.h>
7 
8 namespace Antares::TSGenerator
9 {
10 struct Settings
11 {
12  std::string studyFolder;
13 
15  bool allThermal = false;
17  std::string thermalListToGen = "";
18 
20  bool allLinks = false;
22  std::string linksListToGen;
23 };
24 
25 bool parseOptions(int, const char*[], Settings&);
26 std::unique_ptr<Yuni::GetOpt::Parser> createTsGeneratorParser(Settings&);
27 
28 bool checkOptions(Settings& options);
29 bool linkTSrequired(Settings& options);
30 bool thermalTSrequired(Settings& options);
31 } // namespace Antares::TSGenerator
Definition: tsGenerationOptions.h:11
bool allLinks
generate TS for all links if activated
Definition: tsGenerationOptions.h:20
bool allThermal
generate TS for all clusters if activated
Definition: tsGenerationOptions.h:15
std::string linksListToGen
generate TS for a list "area.link;area2.link2;"
Definition: tsGenerationOptions.h:22
std::string thermalListToGen
generate TS for a list "area.cluster;area2.cluster2;"
Definition: tsGenerationOptions.h:17