Company Optimisation in EMarket

From EMK Wiki
Jump to navigation Jump to search

Introduction

This technical bulletin is intended to provide users and interested parties with a detailed explanation of how EMarket’s company optimisation feature works.

This paper includes a brief overview of other features in EMarket and a note on enhancements planned in the short to medium term.

Other Documents

This bulletin is one of a series of technical bulletins relating to Energy Link’s EMarket model. Taken together, the bulletins replace the old EMarket User Guide. The full series of bulletins covers an overview of the EMarket model, the details of the four major New Zealand hydro systems modelled in EMarket, water values and hydro offers, power flows, dispatch and nodal pricing, short term river chain optimisation and company optimisation.

Company Optimisation

EMarket is designed to produce stable offering schemes for generation that are, in principle, based on static short or long run marginal costs for each generator. However, when a company owning a generation, retail and hedge portfolio is considered then the optimal offering behaviour for that company as a whole will affect the value of each generation offer. EMarket can now adjust offers to simulate this behaviour, which is called Company Optimisation (CO).

Market Sensitivity

Market sensitivity is loosely defined as the change in price that can be affected by removing or adding generation to the available supply. On an incremental basis, given a supply curve P(s), where P(s) is the price at which a supply of generation s is available, then market sensitivity can be defined as

Dpds.jpg or the negative derivative of the supply curve.

In practice the supply curve is a lumpy, non-differentiable curve and is not all that useful. In the following analysis we look for more general and approximate relationships between supply and price.

The Supply Curve

Figure 1 - Average Market Sensitivity VS Price 26/9/00 - 03/10/00

Figure 1 is taken from supply curve data over the period of a week from the New Zealand market. For a given price market sensitivity is estimated by first finding the generation available at that price and then finding the price at which 100 MW less generation is available. This shows the average market sensitivity for a range of prices. The average standard deviation is shown by the dotted lines.

This particular week's data indicates that it is possible to estimate market sensitivity (MS) as a linear function of price:

MS = - dP(s) / ds ≈α p

In this case α = 0.005.

The analytical solution to Dpdsp.jpg is P = e-ãs so an exponential fit to the supply curve is indicated.

Company Optimisation Calculators

In the following analysis, location factors are ignored. The problem of optimisation taking location factors into account is considerably more complicated and most of the benefits can be achieved without taking them into consideration, at least for longer term modelling (Optimisation on a short term basis, eg period-by period, is recommended using our EMarketOffer model with its optional Offer Optimiser). The effect of reserve offers is also ignored.

Gross Profit

The gross profit including generation costs for a company in one period (reserve revenue aside) is given by:

π = PEg - μg - PEL + PSL + (PR - PE)*Q

where π is gross profit, g is total generation, PE is the energy price, μ is the costs for generation, L is the retail load and PS is the retail price, Q and PR are the hedge quantity and reference price respectively.

Optimum Gross Profit

With respect to generation, and treating PE as a function of g to account for market sensitivity, the optimum gross profit is given by:

∂π/∂g = 0 =>

dPE / dg * (g - (L + Q)) + PE - μ = 0

Optimum Price/Generation Relationships

CO Figure 2.jpg

Using the Optimum Gross Profit equation, where s0 is the supply without any generation from the company in question.

PE = Exp(α(s0 + g))

dPE/dg = α Exp(s0 + g) = -αPE

which becomes

-αPE * (g - (L + Q)) + PE - μ = 0 or

PE = μ / (1 + α((L + Q) - g))

This gives a relationship between price and total generation for optimal solutions, given the marginal cost of generation. Figure 2 shows an example of the optimum price generation relationships for a company with 500 MWh load plus hedges, with a marginal cost of generation at $20/ MWh, $40/ MWh and $45/ MWh. Note that where generation equals load plus hedges, the optimum price is equal to the marginal cost.

CO Figure 3.jpg

Figure 3 illustrates how the price-marginal cost relationship determines optimal offering. The figure show the optimal offering profile if the company has 300 MWh of generation with a marginal cost of $20/ MWh, 200 MWh at a marginal cost of $40/ MWh and 200 MWh at a marginal cost of $45/ MWh.

This shows that each block of generation will have an offer or offers determined by its marginal cost and the amount of generation with a lower marginal cost. The optimal offer curve for each generation has to be approximated by a number of discreet offers and some compromise between optimality and complexity must be made. For example, to make the simplest possible offers for the generators in figure 3, Gen 1 might be offered at $8/ MWh, Gen 2 at $35/ MWh and Gen 3 at $55/ MWh.

Implementation in EMarket

The implementation of company optimisation in EMarket is based on a variety of modules.

The Supply Curve

At each tick, EMarket determines the market sensitivity by fitting an exponential curve to the supply stack. This is done by running a log-linear regression on the points in the supply curve. Because zero price offers are unable to be fitted to a log linear regression, the regression is not based on 0. Instead the price of all points is first raised by a small base figure.

The log-linear regression provides an expected figure for α for each period of the week. When a run is started α is initialised to 0.0005.

Retail Load and Hedges

These are entered by the user for each company. Hedges follow a schedule and retail load is defined as a proportion of nodal demand for a set of chosen nodes.

Offers

When offers are made for a company using CO, they should be based on marginal cost for all generators. Major hydro systems already offer in on this basis. Once all offers are collected, each company that is using CO is called to adjust its offers. The offers that are made are then adjusted to the optimal offer price for the mid point of the offer. So if μ is the initial price on an offer, g is the quantity of generation offered by the company for less than μ, and g' is the size of the offer then the adjusted offer price is given by:

adjusted offer price = μ / (1 + α((L + Q) - (g + 0.5g')))

The adjusted offers are then entered into the pricing and dispatch process for EMarket.

Size of Offers

Offers are not split and the size of offers is not adjusted by the company optimisation adjustment. This means that large offers may not be brought as close to optimality as smaller offers. The user might consider splitting some of the larger offers made when using CO.

Soft Company Optimisation Option

It has been found that a company who is a large generator with a smaller proportion of retail load and hedging can be put into a situation where the optimal gross profit is achieved by forcing the energy price to an arbitrarily high figure. Other pressures, including the threat of political interference, may apply to this situation. Because some such decision criteria are difficult to quantify, a solid basis for optimisation is not easy to establish. In order to achieve some optimisation without raising prices to unacceptable levels a 'softer' company optimisation option has been included. When using this option, the offers for a company will not be adjusted as much from the initial offers.

The formula used to make the 'soft' adjustment is:

adjusted offer price = μ(1 + α(g + 0.5g')) / (1 + α(L + Q))

This is a somewhat arbitrary formula, based on a linear projection of market sensitivity. It does however achieve a more moderate use of market power.

Summary

Using the methods detailed above, EMarket can model company wide offers optimisation simply and quickly. In the future, adjustments to the optimisation to account for location factors might be made, although most of the benefits of CO are probably captured without this consideration.

Accurate data is required for both controlled inflows into hydro reservoirs and uncontrolled tributary flows. Provision of this data is the responsibility of the user as is the construction of composite lines for Grids (Energy Link provides certain Grids with EMarket but the user must make their own checks of these).

Inflows must be entered into EMarket as average cumecs (A cumec is a cubic meter per second (m3/s). for each of the 52 weeks in each year. EMarket converts cubic metres of water and cumecs into equivalent potential energy values internally.

Aggregate demand data forecasts are available from a number of sources. However, the derivation of demand data has become easier with the advent of the SCADA demand data on TPIX and the GXP data available from the NRM.

Thermal offers are often the most difficult input to obtain or estimate. They are also by far the most important because they are the "prime movers" of water values along with inflows. Offers can be estimated surprisingly accurately either from NZEM's aggregate supply curves or by reference to the nodal prices for existing generators when these generators are on the margin and not setting their island's reserve risk.

More difficult however, is to estimate future thermal offers because these will depend to a greater or lesser extent on fuel prices, efficiency of plant, the balance of supply and demand, competitive pressures, how far offers into the spot market tend toward being based on marginal costs and perhaps also on whether or not a market for capacity develops in the longer term, to name a few factors.

It is unlikely that any user will be able to accurately forecast future thermal offers but EMarket is designed to allow many market scenarios to be run quickly and efficiently, thus allowing for many offer strategies to be tested and assessed.


Back to Technical Bulletins