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.
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 site demand as a hard constraint, not as a trade. The hydrogen plant and the gin both sit on the microgrid, so the optimiser sums their forecasts and reserves that energy first. The optimiser trades the remainder against the market. When the battery and the forecast PV cannot meet the demand, the optimiser reports the shortfall per interval rather than choosing which load to short. That choice stays with Hiringa.
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 |
| Site energy demand, hydrogen plant and gin as named series | Hiringa, through the cloud API | 30 minutes, rolling |
| Target state of charge at the end of the demand window | Hiringa, through the cloud API | One value per demand forecast |
| 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 |
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 and 3. A Hiringa user with read and write access changes the value on the plant page of the Sundial dashboard. 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. Hiringa's cloud sends the target state of charge in the same API call as the demand forecast it qualifies. The target applies 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 | Site energy demand forecast by load, with 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 | Feasibility of each demand forecast, with any shortfall per interval | With each demand forecast |
| Sundial to Hiringa | Parameter values in force | On request |
All timestamps use UTC. All energy values use 30-minute intervals.