-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ts-generation for links [ANT-1084] #1986
Changes from 113 commits
a8bfb5b
7fd7fc7
8027c68
dddfe91
6c99233
a301927
91aae90
8b1a054
053dfef
604cde0
b0c7c35
ce3b8b3
31d73e3
ee84f58
c6975ca
4d9ec99
b7ebf65
04edcb2
b16022f
3591573
d3a0c8b
8e9ef16
71c2265
5eb633f
444a967
8068785
bd1bfd8
452fd39
7158a87
ccf0ae5
0751ed3
751ce5c
a9a8e6c
c3c5dce
18fd7ab
d8749ab
3031b81
4fa72e8
b5f545b
6dc3ea6
2c9a8f6
5f9afcb
4f943e5
3dbd091
6251f6b
b4f129a
5b0a621
5cf0319
0165980
19ed14c
f930267
0a55a49
ddc28df
0cb0919
aab9d29
6daae6b
1a0fb46
ae6d129
e1682e6
d3a61a8
2df3e28
09235de
9f6eb17
f34b6de
afb2b8d
683d2b9
0d597e4
c7ffac3
3e54378
fbe3554
cc4a8ba
9d98623
8a2d4a0
fdb7d60
98b1a08
9d9261c
3bc979c
61ddedb
4e0732f
6b7414d
e72c894
b711528
c9b34ef
cc0f30a
269769a
d7edcb6
5a5893e
b4b807d
86601ef
ba69144
f1c9caa
f2b1592
1a9dd44
213603a
865cf14
2e62287
aa3a794
bda7e78
abf50a0
2edaee1
ba0363b
6f62425
2522ca6
38a4207
bfeead9
d1620f6
ba2b84a
73b8007
3a8929e
8c5ba5c
4a4a6fa
8619ebf
bcb91f3
41fd3c8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -528,6 +528,10 @@ static bool SGDIntLoadFamily_General(Parameters& d, | |
{ | ||
return value.to<uint>(d.nbTimeSeriesSolar); | ||
} | ||
if (key == "nbtimeserieslinks") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We know generating TS for links should be fully separated from the Antares solver. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See your PR @guilpier-code |
||
{ | ||
return value.to<uint>(d.nbLinkTStoGenerate); | ||
} | ||
// Interval values | ||
if (key == "refreshintervalload") | ||
{ | ||
|
@@ -1054,6 +1058,10 @@ static bool SGDIntLoadFamily_SeedsMersenneTwister(Parameters& d, | |
{ | ||
return value.to<uint>(d.seed[seedTsGenSolar]); | ||
} | ||
if (key == "seed_links") | ||
{ | ||
return value.to<uint>(d.seed[seedTsGenLinks]); | ||
} | ||
if (key == "seed_timeseriesnumbers") | ||
{ | ||
return value.to<uint>(d.seed[seedTimeseriesNumbers]); | ||
|
@@ -1783,6 +1791,7 @@ void Parameters::saveToINI(IniFile& ini) const | |
section->add("nbTimeSeriesWind", nbTimeSeriesWind); | ||
section->add("nbTimeSeriesThermal", nbTimeSeriesThermal); | ||
section->add("nbTimeSeriesSolar", nbTimeSeriesSolar); | ||
section->add("nbtimeserieslinks", nbLinkTStoGenerate); | ||
|
||
// Refresh | ||
ParametersSaveTimeSeries(section, "refreshTimeSeries", timeSeriesToRefresh); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doc is not very clear to me, especially when opening it with a markdown reader (I use VS Code).
This is a long list of different things.
Apparently, there are 4 files concerned by the links capacities TS generation.
So it should be separated into 4 parts.