Commit fef6ee1a authored by Topi Rasku's avatar Topi Rasku
Browse files

Adding an option for linear improvement of the central forecast toward the...

Adding an option for linear improvement of the central forecast toward the realization, controlled by 'mSettings(mType, 't_improveForecast)' instead of the old 'f_improve' parameter. Also added readiness for updating only existing values when updating forecasts (currently commented out), as well as removed some old unused code.
parent 8a2af047
......@@ -84,6 +84,7 @@ if (mType('schedule'),
mSettings('schedule', 't_forecastLengthUnchanging') = 36; // Length of forecasts in time steps - this does not decrease when the solve moves forward (requires forecast data that is longer than the horizon at first)
mSettings('schedule', 't_forecastLengthDecreasesFrom') = 168; // Length of forecasts in time steps - this decreases when the solve moves forward until the new forecast data is read (then extends back to full length)
mSettings('schedule', 't_forecastJump') = 24; // How many time steps before new forecast is available
mSettings('schedule', 't_improveForecast') = 0; // Number of time steps ahead of time that the forecast is improved on each solve.
mTimeseries_loop_read('schedule', 'ts_reserveDemand') = no;
mTimeseries_loop_read('schedule', 'ts_unit') = no;
......
......@@ -49,6 +49,7 @@ Sets
t_forecastLengthDecreasesFrom, // Length of forecasts in time steps - this decreases when the solve moves forward until the new forecast data is read (then extends back to full length)
t_forecastStart, // Time step for first reading the forecasts (not necessarily t_start)
t_forecastJump, // Number of time steps between each update of the forecasts
t_improveForecast "Number of time steps ahead of time on which the forecast is improved on each solve"
sampleLength "Length of sample in time steps for creating stocahstic scenarios from time series data"
// Features
......
......@@ -38,7 +38,6 @@ Scalars
tmp_op "Temporary parameter for operating point"
tmp_count_op "Counting the number of valid operating points in the unit data"
tmp_offset "Offset of sample in time steps"
f_improve / 12 /
tRealizedLast "counter (ord) for the last realized t in the solve"
firstResultsOutputSolve /1/;
;
......@@ -119,8 +118,8 @@ Parameters
// Temporary displacement arrays
ddt(t) "Temporary time displacement array"
ddf(f, t) "Temporary forecast displacement array"
ddf_(f, t) "Temporary forecast displacement array"
ddf(f) "Temporary forecast displacement array"
ddf_(f) "Temporary forecast displacement array"
// Other
p_slackDirection(slack) "+1 for upward slacks and -1 for downward slacks"
......
......@@ -113,10 +113,6 @@ $iftheni.debug NOT '%debug%' == 'yes'
* --- Temporary Time Series ---------------------------------------------------
// Forecast Related Time Series
* Option clear = ts_forecast; // NOTE! Forecast Related Time Series have changed, Juha needs to check these
* Option clear = ts_tertiary; // NOTE! Forecast Related Time Series have changed, Juha needs to check these
// Initialize temporary time series
Option clear = ts_influx_;
Option clear = ts_cf_;
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment