Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
backbone
backbone
Commits
e47364de
Commit
e47364de
authored
Aug 11, 2021
by
jussi ikäheimo
Browse files
Editing investinit_temp and timeandsamples_temp
parent
5904fe32
Changes
2
Hide whitespace changes
Inline
Side-by-side
defModels/investInit_temp.gms
View file @
e47364de
...
...
@@ -94,6 +94,35 @@ if (mType('invest'),
mInterval('invest', 'stepsPerInterval', 'c000') = 1;
mInterval('invest', 'lastStepInIntervalBlock', 'c000') = 8760;
* --- z-structure for superpositioned nodes ----------------------------------
// number of candidate periods in model
// please provide this data
mSettings('invest', 'candidate_periods') = 10;
// add the candidate periods to model
// no need to touch this part
mz('invest', z) = no;
loop(z$(ord(z) <= mSettings('invest', 'candidate_periods') ),
mz('invest', z) = yes;
);
// Mapping between typical periods (=samples) and the candidate periods (z).
// Assumption is that candidate periods start from z000 and form a continuous
// sequence.
// please provide this data
zs(z,s) = no;
zs('z000','s000') = yes;
zs('z001','s000') = yes;
zs('z002','s001') = yes;
zs('z003','s001') = yes;
zs('z004','s002') = yes;
zs('z005','s003') = yes;
zs('z006','s004') = yes;
zs('z007','s002') = yes;
zs('z008','s002') = yes;
zs('z009','s004') = yes;
* =============================================================================
* --- Model Forecast Structure ------------------------------------------------
* =============================================================================
...
...
timeAndSamples_temp.inc
View file @
e47364de
...
...
@@ -21,7 +21,8 @@ $offtext
s
"Samples from historical periods"
/
s000
*
s999
/
f
"Forecasts for the short term"
/
f00
*
f99
,
scen
'long-term scenarios'
,
scen
'long-term scenarios'
,
/
t
"Model time steps"
/
t000000
*
t017568
/
scenario
"Long-term scenarios"
/
scen00
/
z
"periods for superpositioning of states (candidate periods)"
/
z000
*
z100
/
\ No newline at end of file
Niina Helistö
@nhniina
mentioned in issue
#154 (closed)
·
Sep 21, 2021
mentioned in issue
#154 (closed)
mentioned in issue #154
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment