Skip to content

GEGHA optimisation model and configurable parameters

This document describes what the Sundial optimiser does at GEGHA, the parameters Hiringa can set, and how Hiringa updates each one. Revision 3 matches revision 3 of the cloud API specification. The demand is now a soft constraint with a shortfall cost. The gin stays on the dashboard control from Stage 1.

1. What the optimiser does

The optimiser plans every 5-minute interval in a rolling window. For each interval it decides how much the battery charges or discharges and how much the plant exports. It re-solves every 5 minutes as new market data arrives.

Its objective is to maximise net revenue over the window. Net revenue is energy revenue plus large-scale generation certificate revenue, minus the cost of battery ageing. The ageing cost is a price per megawatt-hour cycled, so the optimiser only cycles the battery when the price spread pays for the wear.

The optimiser treats the hydrogen plant demand as a soft constraint with a price. Hiringa sends a shortfall cost in AUD per MWh with each demand forecast. The optimiser charges itself that cost for every MWh the plant asked for and does not receive. It meets the demand unless the market value of the energy in an interval exceeds the shortfall cost. A high cost makes the demand firm. A low cost lets the optimiser export into high prices instead. With each demand forecast the optimiser reports every interval it plans to deliver short, with a reason. The reason is capacity when the battery and the forecast PV cannot supply the energy. The reason is price when the optimiser chose to export.

The gin sits on the same microgrid but stays outside the cloud API for now. The site operator sets the ginning season and the daily windows on the Sundial dashboard, as at Stage 1. The optimiser reserves the gin load inside those windows before anything else. When Hiringa receives the gin operator's schedule in its own systems, the gin will join the API as a second named load.

Inputs

Input Source Resolution
Current dispatch price and recent price history AEMO 5 minutes
Price forecast Sundial price forecast 5 minutes, up to 48 hours ahead
PV production forecast, per inverter station Sundial PV forecast 5 minutes, up to 14 days ahead
Hydrogen plant energy demand, as a named series Hiringa, through the cloud API 30 minutes, rolling
Shortfall cost for the hydrogen plant demand Hiringa, through the cloud API One value per demand forecast
Target state of charge at the end of the demand window Hiringa, through the cloud API One value per demand forecast
Gin load, season and daily windows Site operator, on the Sundial dashboard Set per season
Battery state of charge Site telemetry Live
Certificate price Market data Daily

Constraints

  • The state of charge stays inside the configured minimum and maximum.
  • Battery power, grid export, and grid import stay inside the configured limits.
  • Export changes no faster than the configured ramp rate.
  • Energy through the battery loses the configured round-trip efficiency.

Outputs

The optimiser produces a charge target curve for the window. The on-site Sundial devices follow the curve. Hiringa can read the forecasts and the parameter values in force through the cloud API.

2. Configurable parameters

# Parameter Unit What it does Update channel
1 Battery degradation cost AUD per MWh cycled The cost the optimiser charges itself for each MWh through the battery. A higher value means fewer cycles and longer battery life. A lower value means more trading. B
2 Minimum state of charge % The floor of the operating band. The optimiser never plans below it. It also acts as the standing energy reserve for the hydrogen plant. B
3 Maximum state of charge % The ceiling of the operating band. B
4 Target state of charge at end of window % The charge level the battery must hold when the demand forecast window ends. C
5 Round-trip efficiency fraction The share of energy that returns from the battery after a full charge and discharge cycle. A
6 Ramp rate limit MW per minute The fastest rate at which export may change. A
7 Grid import limit MW The most power the battery may draw from the grid. Zero means the battery charges from solar only. A
8 Export limit at the connection point MW The most power the plant may export, as set by the connection agreement. A
9 Gin load, season and daily windows kW, dates, times The constant load the optimiser reserves for the gin, and when the gin runs. Carried over from Stage 1. B

3. Update channels

Each parameter has one update channel. The channel matches how often the value changes.

Channel A: written request to Sundial

For site facts that change only with equipment or agreements: parameters 5, 6, 7 and 8. Hiringa emails Sundial the new value and its source, such as a commissioning test result or the connection agreement. Sundial sets the value and confirms by return. Sundial checks every value from the other channels against these limits.

Channel B: Sundial dashboard control

For policy choices that change a few times a year: parameters 1, 2, 3 and 9. A Hiringa user with read and write access changes the value on the plant page of the Sundial dashboard. The site operator sets parameter 9, as at Stage 1. The next optimiser run, within 5 minutes, uses the new value. The dashboard logs every change with the user and the time.

Channel C: Sundial cloud API

For values that change with every demand window: parameter 4 and the shortfall cost. Hiringa's cloud sends both in the same API call as the demand forecast they qualify. They apply to that forecast's window. The API returns the values in force so Hiringa can confirm what the optimiser will use.

4. Data exchange through the cloud API

All optimiser data exchange between Hiringa and Sundial occurs through the cloud API.

Direction Content Cadence
Hiringa to Sundial Hydrogen plant demand forecast, with its shortfall cost and the target state of charge for the window Every 30 minutes, rolling
Sundial to Hiringa PV production forecast per inverter station Every 30 minutes, up to 14 days ahead
Sundial to Hiringa Price forecast Every 30 minutes, up to 24 hours ahead
Sundial to Hiringa Plan assessment of each demand forecast, with any planned shortfall per interval and its reason With each demand forecast
Sundial to Hiringa Parameter values in force On request

All timestamps use UTC. All energy values use 30-minute intervals.