electricity grid and forecasts
Posted: Thu Oct 30, 2008 2:36 pm
Dear all,
I'm trying to model some aspects of an energy distribution grid, especially the interaction between prognoses and real time usage of the grid.
As an Introduction:
In the german grid people announce their schedules a day in advance. To do this they need a forecast. The real time consumption differs - of course. The anounced schedule has to be scheduled with the power generators, or with the Transmission System Operator.
This gives me the following modeling problem:
I've got a model with an hourly time setting.
I've got an hourly standard profile, which I have to multiply with the number of households and an average consumption factor to get the expected load from this household. This profile is stored in a .dat file, and imported.
Now I want to schedule this forecast every day for the next day. 24 hours with a value for each hour. I do this in two steps: I make a forecast, and then I make a schedule . (These two will differ in a future version of the model.) Forecast and schedule have a lookup like structure.
In time, I have these actions:
day 1 11:00 I make my forecast (variable 1) for day 2.
day 1 14:00 I make my schedule (variable 2) for day 2 from my forecast (variable 1).
day 2 00:00 I make the forecast (variable 2) to 'todays_forecast' (variable 5).
day 2 01:00 I have an actual usage (variable 3) and want to calculate the difference (variable 4) to the first value of the forecast (variable 5).
day 2 02:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the second value of the forecast (variable 4).
.
.
.
day 2 11:00 I have an actual usage (variable 3) and want to calculate the difference (variable 4) to the eleventh value of the forecast (variable 5).
day 2 11:00 I make my forecast (variable 1) for day 3.
.
.
day 2 14:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the fourteenth value of the forecast (variable 5).
day 2 14:00 I make my schedule (variable 2) for day 3 from my forecast (variable 1).
.
.
day 2 24:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the 24th value of the forecast (variable 5).
Now I am thinking how I can realize this? How do I declare and use especialy variables 1, 2 and 5? (A simpler version of the model without these 'batchlike' schedules works) I guess I have to use some table-like data structure. A lookup would be fine but I am not so sure how to adapt the lookup dynamically and time based.
Lots of thanks in advance,
Joahn Steunenberg
I'm trying to model some aspects of an energy distribution grid, especially the interaction between prognoses and real time usage of the grid.
As an Introduction:
In the german grid people announce their schedules a day in advance. To do this they need a forecast. The real time consumption differs - of course. The anounced schedule has to be scheduled with the power generators, or with the Transmission System Operator.
This gives me the following modeling problem:
I've got a model with an hourly time setting.
I've got an hourly standard profile, which I have to multiply with the number of households and an average consumption factor to get the expected load from this household. This profile is stored in a .dat file, and imported.
Now I want to schedule this forecast every day for the next day. 24 hours with a value for each hour. I do this in two steps: I make a forecast, and then I make a schedule . (These two will differ in a future version of the model.) Forecast and schedule have a lookup like structure.
In time, I have these actions:
day 1 11:00 I make my forecast (variable 1) for day 2.
day 1 14:00 I make my schedule (variable 2) for day 2 from my forecast (variable 1).
day 2 00:00 I make the forecast (variable 2) to 'todays_forecast' (variable 5).
day 2 01:00 I have an actual usage (variable 3) and want to calculate the difference (variable 4) to the first value of the forecast (variable 5).
day 2 02:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the second value of the forecast (variable 4).
.
.
.
day 2 11:00 I have an actual usage (variable 3) and want to calculate the difference (variable 4) to the eleventh value of the forecast (variable 5).
day 2 11:00 I make my forecast (variable 1) for day 3.
.
.
day 2 14:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the fourteenth value of the forecast (variable 5).
day 2 14:00 I make my schedule (variable 2) for day 3 from my forecast (variable 1).
.
.
day 2 24:00 I have an actual usage (variable 3) and want to calculate the difference(variable 4) to the 24th value of the forecast (variable 5).
Now I am thinking how I can realize this? How do I declare and use especialy variables 1, 2 and 5? (A simpler version of the model without these 'batchlike' schedules works) I guess I have to use some table-like data structure. A lookup would be fine but I am not so sure how to adapt the lookup dynamically and time based.
Lots of thanks in advance,
Joahn Steunenberg