3b_inputsLoop.gms 427 Bytes
Newer Older
1
2
3
4
put log 'ord tSolve: ';
put log ord(tSolve) /;

if (mSettings(mSolve, 'readForecastsInTheLoop') and ord(tSolve) >= tForecastNext(mSolve),
5
  put_utility 'gdxin' / 'input\forecasts\' tSolve.tl:0 '.gdx';
6
  execute_load ts_forecast = forecast;
7
8
  tLatestForecast(t) = no;
  tLatestForecast(t)$(ord(t) = ord(tSolve)) = yes;
9

10
11
  put_utility 'gdxin' / 'input\tertiary\' tSolve.tl:0 '.gdx';
  execute_load ts_tertiary;
12
13
14
);

putclose log;