Status: first modelling presented; last active here July 2010
OzEA Modelling Start
Bucket Storage Model and Using Gas
[fc: 30th May 2011] This was early modelling work, exploring the dynamics of storage in a limited system (just SA)
with 50% of electricity (average) from wind. It was also a demonstration that OzEA has the skills to do modelling.
Caution: this is an abstracted exploration, and it can be a mistake to construe this work as making particular claims
about reality in SA.
ABSTRACT
We model the use of Wind Power, Gas Turbines and Storage to supply electricity as required to meet a demand curve at an hourly time resolution. For the demand curve and the wind power we use historical data from South Australia (SA) in 2009. The gas power and the storage are both idealised, the aim here being to, first, lay the groundwork for later models, and second, to examine the basic dynamics of a power system based on Wind, Gas and Storage.
INTRODUCTION
Building from the analysis of wind penetration, and simplifying as described on the models cover page, we implement a high level model of storage dynamics, and also gas turbines, such that wind, gas and storage combine to supply the demand for electricity. We consider the SA grid to be isolated except insomuch as the storage we include here abstracts the interstate connectors.
To model a desired amount of Installed Wind we simply scale up from historical data. To get the demand left after Wind Power (as in Figure WP2 from Analysis / Wind Penetration) it is straightforward to step through the historical data (hour by hour, 8760 of them per year) and subtract the wind power from the demand to give a remainder. It is this remaining demand that we need to supply using Storage and Gas Turbines.
The Bucket Storage Model: In the first instance (Results, part 1) we introduce a simple storage model such that when the wind power exceeds the demand, the excess can be stored (up to some limits) and then used later. Then (Results, part 2) we include Gas Turbines, such that demand is supplied by three components: (i) available wind power, (ii) gas power, and (iii) drawing down storage reserves. Both the wind and the gas can 'charge up' the storage.
The storage model is very simple (abstracted). We conceptualise storage as a bucket of a certain size (the Storage Capacity), and with two pipes - one for filling the bucket, one for draining the bucket. So, when the Wind Power exceeds Demand, the excess electricity goes into storage at a rate no higher than the input 'pipe' allows, and only while there is room left in the bucket. When Wind Power is less than the Demand, electricity flows to demand from the pipe at the bottom of the bucket (either dumbly, or somewhat intelligently when we include the gas turbines). In all cases the three parameters that describe the storage model remain as the total capacity, the maximum input rate, and the maximum output rate. At this stage we ignore storage losses and make the input and output pipes the same size.
We consider four cases of the Bucket Storage model:
storage Capacity pipe size
(GWh) (GW)
-----------------------------------------
No Storage 0 0
Storage 1 5 0.5
Storage 2 20 1.0
Storage 3 50 2.0
TABLE M1-1: Storage model parameterisations for the first round of modelling.
Let's contextualise these storage models: The Storage-1 model (5 GWh Capacity) can be thought of as -roughly- what is in place now, while the Storage-2 model is a step up, and Storage-3 something of an upper limit.
South Australia currently has two interconectors into the NEM: the Murraylink interconect is rated at up to 220 MW, and the Heywood interconnect 300 MW (for SA -> Vic, and 460 MW for Vic -> SA). Of course there are further complexities, but these do not concern us at this stage.
In round numbers, the average demand in the NEM states is: 1+ GW for Tasmania, 1.5 GW for SA, 6 GW for Victoria, 9 GW for NSW, and 6 GW for Queensland (i.e. SA represents ~ 6% of the NEM). Six percent of the total NEM Pumped Storage Hydro (PSH) of 20 GWh is a little over 1 GWh. It is of course simplistic to think of this 1 GWh as SAs 'share', but it does give context. Conversely, the small size of SA relative to the entire NEM (~25 GW average demand) provides significant scope for this larger system to soak up SA Wind Power when it is plentiful and to provide some roughly equivalent amount of power back into SA at other times.
Adding gas turbines to the model is more complicated that it might first seem. Let's back up a step; when using storage to capture excess wind power it is simple (as above) to add and subtract from the storage 'bucket', but with gas turbines included the role of storage is not just to capture excess wind power, but also to smooth the ups and downs to use the gas power as evenly as possible. That is, when the unmet (after wind) demand is high, we want to draw from available storage, and when the unmet demand is low we may want the gas turbines to work on charging up the storage in preparation for the next days peak demand.
Managing the use of gas turbines in a real grid is more complex than we consider here at this stage. Here we use a simple heuristic algorithm to do this (described in the methods below). While the details of this heuristic are important, and will be developed, it is recommended that readers avoid getting bogged in this before appreciating the broad view. What matters is that the results we obtain, at every hour point, have supply meeting demand (and the constraints of the storage model respected). The heuristic achieves this, and otherwise provides a suitable basis for this starting model.
Finally, note that average demand in SA 2009 was close to 1.5 GW. In part 1 (Results) we consider increasing levels of Installed Wind, and quantify how much of the overall demand can be meet with different storage cases. You can think about this in multiples of average demand; that is, 3 GW installed wind is twice average demand, 4.5 GW is thrice times, etc. In part 2 we fix on a constant value for the installed wind at 3 GW Installed Capacity, which is twice the average demand, and which has a ~30% Capacity Factor and so translates into a little over 50% penetration (depending on the storage model / amount of spill).
METHODS
The basic model is that, at every time point, Supply = Demand. In this work Supply and Demand can be broken down with the following categories and nomenclature:
Demand = Overall Demand that must be supplied.
DS = Delta_Storage; +ve when power flows into (charges up) storage, -ve when drawn down.
Spill = Spill; this is any power (usually Wind Power) that is not used
WFS = Wind Farm Supply
FFS = Gas (Fossil Fuel) Supply
With which we can write down the basic equation of this model:
Demand + DS + Spill = WFS + FFS (*)
In addition to requiring (*) to hold at every time point, the Storage model imposes constraints. There is a maximum storage capacity, and maximum values for the flows in and out of storage.
Within these requirements there are as many different 'solutions' as you care to carve out; while the WFS is defined for us, how gas power and storage are utilised to make up the remainder admits many possibilities. In a general sense some of these possibilities are better than others because we recognise the intelligent use of storage in shaving the demand peaks, and also the desirability of a smoothly varying gas power requirement. Thus (at this stage at least) we do not attempt to solve this problem in some mathematically optimal way; rather we seek to solve it in some simple and reasonable way. What follows is the simplest useful approach I could muster; it is based around a 'dumb' starting solution that is 'annealed' into a more reasonable solution.
The Dumb Starting Solution (the Bucket Storage Model)
First up we simply run the bucket model of storage, as above, using the given 'Demand' and 'WFS' curves to solve for 'DS' and Spill, which in turn allows us to solve for the required FFS. Explicitly: if the WFS is greater than the demand, then the excess power goes into storage up to the maximum rate and maximum capacity (any WFS remaining is spilt); if WFS is less than demand, then the shortfall is made up, as much as possible, from storage (with any demand remainder being supplied by FFS). In this way a valid starting solution is obtained. Note that this solution is not making smart use of the storage (not holding it in store for peak demand times), and it is not using the low demand times to 'charge up' (with FFS) the storage in preparation for the demand peaks.
The Annealed Solution
This is an iterative three step process; I simply describe the process and ask the reader to note that so long as (*) is satisfied at every time point, and so long as the final solution is useful, then there is little to argue about. If you understand how this works, and / or if you are able to suggest or provide better methods, then I am most interested to hear. If you do not understand how this works (and want to) you should read up on Simulated Annealing.
Step 1. Since our goal is to smooth out the 'remainder' curve (i.e. the FFS), we apply a simple filter (a three point moving average here) to the previous FFS curve, and call this the wished_for_FFS, or simply wFFS (and we will also have wDS).
Step 2. Since our goal is to use low demand times to charge the storage in preparation for the high demand times, we add a random component to each wFFS value that preferentially moves it towards the mean FFS value. This random component is applied in the style of a simulated annealing algorithm in that: (i) for early rounds, the random components are larger (up to 10% of the mean FFS) and these are only mildly biased towards the centre; (ii) as the annealing progresses, the application of a 'cooling schedule' means that at each iteration the random components are (on average) a little smaller than previously.
Step 3. Run 'the enforcer' to ensure that (*) and the storage constraints are respected. At each time point take the Demand, the WFS and the (wished for) wFFS (i.e. the FFS result for that time point from the previous steps) and calculates the 'the remainder' (i.e. Demand - WFS - wFFS); if this remainder can be supplied (absorbed) by the storage then the wFFS value is accepted (and the DS and any spill is calculated). Otherwise, wFFS is adjusted back to the nearest value that allows a legal solution to (*).
The above steps are iterated a large number of times (1000 at the moment) to give the FFS and storage curves seen in this work.
Here is the Perl script, OzEA_model_1.pl, that implements these methods.
RESULTS
Part 1. The Basic Dynamics of Storage and Wind Penetration
In the basic implementation of the Bucket Storage Model, excess wind power is stored (up to the capacities of both the bucket and the input 'pipe'), and this stored power flows to demand when wind power is less than demand (conceptualised as flowing to demand from the 'pipe' at the bottom of the bucket).
As previously, we are using the SA 2009 historical data, for which the average demand is close to 1.5 GW, and where the Wind Farm data has a Capacity Factor of close to 30%. The Wind Penetration (i.e. the overall percentage of demand provided for by Wind Power) is considered at increasing levels of installed capacity, modelled by scaling up historical Wind Farm output data. In Figure M1-1 we see how the different storage models allow the Wind Penetration to obtain higher values before the diminishing return of significant lost (spilt) power kicks in.
|
Figure M1-1: Wind Penetration with Storage. The percentage of demand met for increasing levels of installed wind power under the various storage cases. Based on SA demand and Wind Farm data, 2009. |
We now perform a simple sensitivity analysis. Treating No-Storage and Storage-3 as bounding cases, we examine how the Storage-1 and Storage-2 cases respond to changes in, first, the overall Storage Capacity (while holding the Pipe Sizes constant), and then examine changing the Pipe Sizes (while holding the total Storage Capacity constant), as shown in (Figure M1-2). In all cases the variable being examined is halved and doubled in order to define the shaded regions shown.
|
|
Figure M1-2: Sensitivity Analysis (for the Storage-1 and Storage-2 curves from Figure M1-1). In the left panel the pipe sizes are held constant and sensitivity of the penetration value to changes in the maximum storage capacity from one half to double the value in Table M1-1 is shown shaded. Similarly for the right panel but with the maximum storage capacity held constant, and a half to double range applied to the Pipe size.
It is not surprising to observe sensitivity to a doubling or halving of the total Storage Capacity (left panel); what is noteworthy is the lack of sensitivity to the Pipe Size (right panel). For both the Storage-1 case (5 GWh Capacity, 500 MW pipes) and the Storage-2 case (20 GWh, 1 GW), doubling the pipe sizes does very little, and halving them not much either. It seems apparent that the lower frequency changes in the Wind power dominate the storage requirements when the concern is achieving minimal spill at high levels of installed capacity.
Please note the specificity here; this sensitivity analysis is with respect to the penetration / spill. In relation to other aspects (such as, perhaps, the required level of gas backup) it is expected that the pipe size will represent a critical sensitivity.
Part 2. Modelling the Gas Supply (first attempt)
Now we explicitly treat the use of gas turbines to provide the remaining (and controlled) power we need to balance the system. For this we work with a single value of the Installed Wind Capacity at 3 GW (this being twice the average demand of 1.5 GW, and subject to a capacity factor of ~30%), corresponding to a penetration of around 50-60% (depending on the storage model).
We use the methods described above to (somewhat) intelligently schedule the gas power so as to utilise the storage for peak shaving (i.e. at low demand times, more power than needed is produced and the excess is used to 'charge up' the storage for drawing down at times of high demand). This is shown for the Storage-1 and Storage-2 cases, and for a Jan 2009 (first month) slice of the data, in Figure M1-3 (A and B respectively) below; the full results, for the whole year, are here given for Storage-0, Storage-1, Storage-2, and Storage-3. A few minutes looking at these numbers can help reveal the complexities involved in cleverly scheduling the gas turbines; but the reader is also cautioned against getting stuck on this aspect (i.e. fixating on trees without taking time to appreciate the forest).
A. Storage-1 (5 GWh max Capacity; 500 MW 'Pipes')
B. Storage-2 (20 GWh max Capacity; 1 GW 'Pipes')
Figure M1-3: Scheduling Gas Power with Storage. Model results (shown for Jan 2009) for the Storage-1 case (top panel A), and the Storage-2 case (bottom panel B). Based on SA demand and Wind Farm data (scaled up to 3 GW Installed Capacity). NOTE that the 'Demand' axis has been scaled so the mean SA demand (1538 MW) = 1. Also, the storage curve (green) is scaled from 0 to 1 covering empty to the Maximun Capacity as given by the storage model.
An aspect that is of particular interest is the amount (total capacity) of 'Gas' infrastructure that is needed to meet the demand left after wind, and what percentage of the time this infrastructure would be utilised. The above FFS curves give this information: by counting up the percentage of the time that the 'Gas Power' requirement exceeds a particular capacity we generate Figure 4. The blue demand curve shows the case of no wind power at all; the other 4 curves (following the model) show the storage cases as per Table 1.
![]() |
![]() |
Figure M1-4 Dispatchable Power requirements. For the considered data (SA, 2009), and in the context of the simplified model, the percentage of the time that the 'Gas' (FFS) power requirement exceeds the x-axis value is plotted. The right panel expands the tails on a semilog plot.
The tails of the above Gas Requirement curves are limited by the datasets (one year of data in hourly increments); in the right hand panel the tails end when the next data point is 0% (minus infinity on the log scale). Supposing a degree of smoothness we can read off the total 'Gas' capacity required under each case considered. For the total demand (i.e. no wind power) the requirement is 3320 MW, this being the peak demand in the data set (SA, 2009). For the various storage cases, and with 3 GW of Installed Wind, this requirement drops only 10% to around 3000 MW in the absence of any storage, and then drops to ~2800 MW, ~2250 MW and to ~1750 MW for the cases of increasing storage. From this it is hopefully clear that the whole concept of Capacity Credit is thoroughly dependent on 'storage' dynamics ('storage' representing any and all mechanisms that allow either demand or supply to be shifted in time).
(Opening) DISCUSSION
This is mission accomplished for here and now - to run a simplified model of supply meeting demand.
The OzEA work-plan is to establish breadth first, then depth. There are two apparent ways to proceed from here: (i) to look specifically at the problem of scheduling combined cycle and open cycle (peaking) gas turbines to meet a demand curve; and (ii) to examine 'The Bucket' in more detail; specifically, to look at the NEM states collectively (as individual units piped together). It is our plan to proceed with (i) first and to return to (ii) at a later date.
Now, some comments on the modelling above.
First, let's reflect on what this abstracted modelling work tells us about the Wind-Storage nexus.
In Part 1. The Basic Dynamics of Storage and Wind Penetration (above) we ignore the need to 'fill in' the supply with gas or other sources when Wind Power (immediate and stored) is not available. Given this, we see (Figure 1) that the Installed Capacity of wind can surpass the average demand before there is significant spill. That is, for an Installed Capacity of 1.5 GW (the average demand in SA) there is no appreciable spill because (i) the actual generation from wind at any time is usually much less than what is possible at peak generation (the Capacity Factor is ~30%), and (ii) the Demand itself is mostly above 1 GW (2/3 of the average). For the Installed Capacity of wind power rising to double the average demand, the dynamics of Storage become increasingly important. It is seen (Figure 1) that it is the 40-60% penetration band where things start to get interesting, and so we focus attention onto this region. The job will be examining the practical (OCGT to CCGT mix / ramp rates etc) and economic (cost) issues involved in providing the 'other half' of the supply. If need be we will pull-back to 40% and lower; if possible we will, in time, push-up and consider what happens above 60% penetration.
Proceeding to Part 2. Modelling the Gas Supply (first attempt) with a model of Installed Wind at double average demand (3 GW Installed Wind for a state with 1.5 GW average demand - keeping in mind that we only see on average ~30% of the power that could be produced if the wind blew hard all the time) we start to look at the dynamics of scheduling Gas-turbines to provide the supply that is needed to meet demand in conjunction with Wind and Storage. We make some particular simplifications as stated on the Models cover page.
In this discussion we elide the methods used to produce the power schedules shown in Figure 3 for each of the Storage-1 and Storage-2 cases -- here and now the proof of the pudding is in the eating. You are invited to spend a little time examining and digesting this figure. The comparison between the two storage models is of immediate note; Storage-1 provides only limited smoothing, with the Power required from Gas being close to the total demand at times (especially the heat wave days at the end of Jan). Whereas, Storage-2 provides significant peak shaving, due both to the overall storage capacity and the larger pipe size. Note also that over these heat-wave days there is precious little Wind Power during the day but there is significant wind power into the evening (presumably sea breezes as the land cools).
Second, some comments on what comes next.
As noted at the start there are some choices as to how this work proceeds. We have chosen to continue to focus on SA and to continue with the highly abstracted Bucket Storage model (and with an understanding that this model incorporates smoothing and hydro displacement as well as out-and-out PSH). The focus now becomes developing the gas schedule and arriving at the first rudimentary costing comparisons. These first costings will themselves be too far removed from reality to be taken as real dollar values; however, the functionality and sensitivities may be informative (in addition, of course, to getting a start along the road to useful costings).
To develop a gas schedule we need to examine and choose the amount and mix of gas-turbine infrastructure. That is, we need to intelligently model the mix of less efficient (but cheaper) peaking open-cycle turbines with the more efficient, more expensive, and more-slowly variable combined-cycle turbines. It is expected that several months will be needed to boil these issues down into a simple and comprehensible model. We aim to get a first pass of this work up for discussion in the coming weeks.





Post Comment: