21#ifndef __ANTARES_SOLVER_timeSeries_GENERATOR_H__
22#define __ANTARES_SOLVER_timeSeries_GENERATOR_H__
26#include <antares/series/series.h>
27#include <antares/study/fwd.h>
28#include <antares/study/parameters.h>
29#include <antares/study/parts/thermal/cluster.h>
30#include <antares/study/study.h>
32#include "xcast/xcast.h"
34namespace fs = std::filesystem;
35using LinkPair = std::pair<std::string, std::string>;
36using LinkPairs = std::vector<LinkPair>;
38namespace Antares::TSGenerator
43 unsigned int nbLinkTStoGenerate = 1;
54 unsigned unitCount = 1;
55 double nominalCapacity = 0;
57 double forcedVolatility = 0.;
58 double plannedVolatility = 0.;
60 Data::StatisticalLaw forcedLaw = Data::LawUniform;
61 Data::StatisticalLaw plannedLaw = Data::LawUniform;
63 std::unique_ptr<Data::PreproAvailability> prepro;
68 bool forceNoGeneration =
false;
69 bool hasValidData =
true;
79 const std::string& name);
81 const unsigned& unitCount;
82 const double& nominalCapacity;
84 const double& forcedVolatility;
85 const double& plannedVolatility;
87 Data::StatisticalLaw& forcedLaw;
88 Data::StatisticalLaw& plannedLaw;
94 const std::string& name;
97using listOfLinks = std::vector<Data::AreaLink*>;
104template<enum Data::TimeSeriesType T>
108 const std::vector<Data::ThermalCluster*>& clusters,
111void writeThermalTimeSeries(
const std::vector<Data::ThermalCluster*>& clusters,
112 const fs::path& savePath);
114bool generateLinkTimeSeries(std::vector<LinkTSgenerationParams>& links,
116 const fs::path& savePath);
118std::vector<Data::ThermalCluster*> getAllClustersToGen(
const Data::AreaList& areas,
119 bool globalThermalTSgeneration);
129template<enum Data::TimeSeriesType T>
134#include "generator.hxx"
A list of areas.
Definition area.h:366
General data for a study.
Definition parameters.h:51
Thermal.
Definition prepro.h:37
A single thermal cluster.
Definition cluster.h:78
A n-by-n matrix.
Definition jit.h:30
typename Antares::Memory::Stored< T >::Type ColumnType
Column type.
Definition matrix.h:62
MersenneTwister Pseudo random number generator.
Definition mersenne-twister.h:41
Definition generator.h:73
Definition generator.h:51
Definition generator.h:42