3.1. Battery State Estimation Results Based on the UKF
Before analysing the dispatch results, the performance of the UKF-based state estimation is first examined. In the proposed framework, the UKF updates the internal SPM states using terminal voltage measurements and provides SOC- and SOH-related information for the NMPC controller. The SOC result is used to evaluate the short-term tracking behaviour, while the SOH-related result is interpreted as a lithium-inventory-based health proxy rather than an independently validated ageing measurement. The following analysis presents the SOC tracking performance and SOH-oriented state evolution under dynamic charge–discharge operation.
3.1.1. SPM Parameterisation and Model Configuration
Table 1 summarises the key parameters used in the control-oriented SPM adopted in this study. These parameters define the electrochemical characteristics of the battery cell and its aggregation into a 1 MW/4 MWh community-scale battery energy storage system.
The symbols denote maximum solid concentration , particle radius , active surface area , solid diffusion coefficient , initial solid concentration , reaction-rate constant ki, gas constant R, Faraday constant F, temperature T, and electrolyte concentration c.
In addition to the SPM parameters listed in
Table 1, the UKF configuration is specified to improve the reproducibility of the state-estimation results. The estimator uses a five-dimensional augmented-state vector, including four reduced electrochemical states and one lithium-inventory-related state. The terminal voltage is used as the measurement output, and additive voltage measurement noise is assumed. The main UKF covariance and noise settings are summarised in
Table 2.
The battery cell considered here is a 35.4 Ah LFP/graphite cell operating at 25 °C, with a nominal voltage of about 3.2 V. Fixed electrochemical parameters are kept constant, whereas lithium-inventory- and capacity-related variables are updated online through the UKF framework. In particular, those variables related to lithium inventory and effective capacity are allowed to vary slowly over time, so that the model can reflect the gradual degradation that occurs during operation.
3.1.2. State-of-Charge (SOC) Estimation Results
Figure 2 compares the UKF-estimated SOC with the simulated SPM reference SOC under the dynamic charge–discharge profile. The estimated SOC follows the main variation trend of the reference trajectory over the simulation period. A small deviation can be observed during transient changes, but the estimator remains stable and does not show divergence.
The SOC estimation error is further quantified using the root mean square error (RMSE). The obtained SOC RMSE is 0.0114 in absolute fraction, corresponding to approximately 1.14%. This result indicates that the UKF provides a reasonable SOC estimate for the subsequent NMPC dispatch calculation under the tested simulation condition.
It should be noted that the reference SOC is generated from the SPM-based simulation environment. Therefore, this comparison is interpreted as a model-based consistency check rather than an experimental validation using measured battery ageing data.
3.1.3. State-of-Health (SOH) Estimation Results
Figure 3 presents the evolution of the SOH-related state during the same dynamic operating condition. In this study, the SOH result is derived from the lithium-inventory-related state in the augmented SPM–UKF framework. Therefore, it should be interpreted as a model-consistent health-state proxy rather than an independently validated measurement of battery ageing.
The SOH-related trajectory changes gradually over the simulated operating period, which is consistent with the slow timescale of battery degradation compared with SOC dynamics. Unlike the SOC, which responds directly to charge and discharge current, the SOH-oriented state mainly reflects the accumulated effect of battery utilisation within the simplified degradation representation. The smooth evolution of this state suggests that the estimator can provide a stable internal health indicator for the degradation-aware NMPC controller.
However, because the simulation window is relatively short and no external ageing dataset is used for validation, the SOH result is not intended to demonstrate absolute ageing estimation accuracy. Instead, it is used to support the closed-loop control framework by providing a consistent internal health-state signal for comparing different dispatch strategies. Therefore, the quantitative assessment of degradation exposure in this study is mainly based on throughput, EFC, and degradation cost reported in
Table 3,
Table 4 and
Table 5, while the SOH trajectory is used as a model-consistent internal health indicator.
3.2. Economic Dispatch Results Based on NMPC
We use the UKF-based state estimation results to evaluate the economic dispatch performance under the NMPC framework, where the estimated SOC and SOH are fed into the controller to determine the charging and discharging actions.
The analysis is organised into seven parts: (i) intraday dispatch behaviour in NSW under an 8 h horizon, (ii) cross-regional comparison, (iii) the impact of prediction horizon length, (iv) degradation-penalty sensitivity, (v) forecast-error sensitivity, (vi) comparison with a rule-based baseline strategy, and (vii) computational performance under the five-minute dispatch interval.
It should be noted that the price inputs used in this study are historical five-minute NEM RRP data rather than forecasted prices. Therefore, the dispatch results are interpreted as a perfect-foresight simulation benchmark for evaluating the proposed control framework, rather than as a fully forecast-driven real-time operation result. In this sense, the reported arbitrage values should be regarded as an upper-bound assessment of the proposed NMPC structure under the selected price profiles.
Figure 4 shows the electricity price curves for the selected representative day in the four states. Price variation in NSW is relatively smooth, whereas the other three states exhibit extreme price spikes. VIC, for example, includes not only extreme events but also sustained high-price periods at the level of several thousand dollars, which create a strong incentive for arbitrage. Negative electricity prices occur in both the NSW and SA markets. The presence of these differences allows our analysis to cover a range of different market conditions.
3.2.1. Intraday Dispatch Behaviour in NSW Under an 8 h Prediction Horizon
The NSW case is simulated for 24 h using five-minute settlement data. At each time step, the UKF-based digital twin provides an estimated augmented state for NMPC initialization, and this state includes the fast-varying state variables related to the SOC as well as the SOH. Then, NMPC solves the nonlinear optimisation problem over an eight-hour prediction horizon in order to determine the final control action.
The objective maximises arbitrage value while regularising degradation and control smoothness: a throughput-based degradation penalty with and a ramp penalty with A terminal SOC soft constraint is enabled to steer the negative-electrode SOC toward , with an adaptive terminal weight scaled by the maximum |price| within the prediction window. Operational constraints include electrode SOC bounds [0.03, 0.97], cell-voltage limits (2.70–4.20 V), and a pack power limit. SOH feedback is enabled such that the effective energy capacity and power limit are scaled proportionally with the SOH, reflecting degradation-aware operational capability.
Figure 5 presents the electricity price, battery voltage, and SOC trajectories for the NSW case under the 8 h prediction horizon. Overall, the SOC variation is broadly consistent with the arbitrage logic of charging during low-price periods and discharging during higher-price periods. In the early hours, the electricity price remains positive and changes only moderately. The SOC first stays at a relatively high level and then decreases between approximately 5 h and 9 h, indicating that the battery releases energy when the price is still favourable compared with the later low-price period.
A more obvious charging response occurs around the middle of the day. When the electricity price drops to a low or negative level, the SOC increases rapidly from a low value to a high value. This indicates that the controller charges the battery when electricity is economically favourable. Such behaviour is consistent with the purpose of price arbitrage, because storing energy during negative- or low-price intervals can create value for later discharge.
Later in the day, the electricity price rises again and reaches a higher level in the evening. During this period, the SOC decreases sharply, showing that the stored energy is discharged during the high-price interval. Therefore, the NSW result generally follows the expected economic dispatch pattern of charging at low prices and discharging at high prices. At the same time, the SOC trajectory also shows that the controller does not respond only to the current price. Instead, it considers the price distribution over the 8 h prediction horizon, together with SOC constraints, voltage limits, degradation-related cost, and the terminal SOC requirement.
3.2.2. Cross-Regional Comparison Under an 8 h Prediction Horizon
Table 3 summarises the economic and battery utilisation metrics for the four regional cases under the 8 h prediction horizon. The results show clear regional differences in arbitrage performance. Among the four regions, SA achieves the highest net profit, reaching A
$6265.75. This is mainly due to its much larger energy cashflow of A
$6593.95, which reflects the presence of strong price spreads within the selected day. VIC also shows a high net profit of A
$3326.61, indicating that its price profile provides substantial arbitrage opportunities, although the total revenue is lower than that of SA.
In contrast, NSW and QLD show much lower net profits, with A$399.70 and A$437.65, respectively. Their energy cashflows are also close, both around A$660. However, QLD obtains a slightly higher net profit than NSW because its degradation cost is lower. This suggests that similar revenue levels can lead to different final profits once battery utilisation and degradation-related cost are considered.
The battery utilisation metrics further show that higher profit does not depend only on the maximum electricity price. VIC has the highest throughput and EFC, reaching 9521.7 kWh and 1.22 EFC, respectively. This indicates more intensive battery cycling and also explains why VIC has the highest degradation cost among the four cases. SA, although having the highest net profit, does not have the highest throughput or degradation cost. This implies that its profit is mainly driven by more favourable price spreads rather than simply by heavier battery usage.
Overall, the cross-regional comparison demonstrates the trade-off between arbitrage revenue and battery wear. Regions with larger price spreads can generate higher energy cashflow, but the final profit is also affected by degradation cost, ramping cost, terminal penalty, and the amount of battery throughput. Therefore, the dispatch performance cannot be explained by electricity price peaks alone. It depends on how profitable price events are distributed over time and how much battery utilisation is required to capture them.
3.2.3. Comparison Between 4 h and 8 h Prediction Horizons Across Regions
Table 4 shows that increasing the prediction horizon from 4 h to 8 h does not consistently improve the daily net profit. In NSW, the 8 h horizon gives a slightly higher net profit, increasing from A
$387.01 to A
$399.70. However, this improvement is obtained with higher throughput and degradation cost, indicating that the additional profit comes with more intensive battery use. In QLD, SA, and VIC, the 8 h horizon reduces the degradation cost, but the penalised net profit is also slightly lower than that of the 4 h case. This suggests that a longer horizon changes the trade-off between arbitrage revenue and battery utilisation, rather than simply improving all performance indicators.
Figure 6 further illustrates the difference between the two horizons using the VIC case, where the change in SOC behaviour is more visible. Under the 4 h horizon, the SOC changes more actively in response to short-term price variations, which leads to higher throughput and a higher EFC. This is consistent with the numerical results in
Table 4, where the 4 h case reaches 11,737.1 kWh throughput and 1.50 EFC. Under the 8 h horizon, the SOC trajectory is less aggressive, and the battery is used more conservatively over the same price profile. As a result, the throughput decreases to 9521.7 kWh and the EFC decreases to 1.22.
In the VIC case, the 4 h horizon achieves a slightly higher net profit of A$3407.03, while the 8 h horizon gives A$3326.61. However, the 8 h horizon reduces the degradation cost from A$293.43 to A$238.04. Therefore, the 8 h horizon does not maximise the one-day profit in this case, but it reduces battery cycling intensity and degradation-related cost. This comparison indicates that the prediction horizon affects not only the economic return, but also how intensively the battery is used. The horizon length should therefore be understood as a trade-off between short-term arbitrage revenue and degradation-aware operation, rather than as a parameter that is always better when made longer.
3.2.4. Degradation-Penalty Sensitivity Analysis
To examine the influence of the degradation penalty in the NMPC objective, an additional sensitivity case is conducted by setting = 0. In the original degradation-aware case, is set to 0.025 A$/kWh. The comparison is performed under the 4 h prediction horizon for all four regions. The = 0 case removes the degradation penalty from the optimisation objective, so the controller becomes more focused on short-term arbitrage revenue. Therefore, this case serves as a degradation-agnostic NMPC ablation for evaluating the behavioural effect of the degradation-aware term.
Table 5 shows that removing the degradation penalty generally increases battery utilisation. In all four regions, the
case produces higher throughput and EFC than the original degradation-aware case. This effect is especially clear in QLD and SA, where EFC increases from 0.93 to 1.53 and from 1.12 to 2.03, respectively. This indicates that, without the degradation penalty, the controller is more willing to use the battery intensively to capture price differences.
The change in energy cashflow is not uniform across regions. In SA, removing the degradation penalty slightly increases the energy cashflow, while in NSW, QLD, and VIC it does not. This suggests that higher cycling does not always lead to higher arbitrage revenue. Some additional charge–discharge actions increase throughput but do not necessarily provide sufficient economic benefit.
The reported net value of the case is higher because the degradation penalty is excluded from the objective. Therefore, it should not be interpreted as a degradation-inclusive profit. The main purpose of this comparison is to show how the degradation penalty changes the dispatch behaviour. Overall, the results confirm that including helps limit unnecessary battery cycling and supports a more degradation-aware operating strategy.
3.2.5. Forecast-Error Sensitivity Analysis
The previous dispatch results are based on a perfect-foresight price benchmark, where the historical RRP trajectory is used inside the NMPC prediction horizon. To examine the effect of imperfect price information, a forecast-error sensitivity test is further conducted under the 4 h prediction horizon. In this test, uniform random errors of ±5% and ±10% are added only to the predicted future prices used by the NMPC. The realised economic performance is still evaluated using the original historical RRP data. Forecast errors were introduced as multiplicative uniform perturbations to the future prices used inside the NMPC prediction horizon. Specifically,
, where
, with
= 0.05 or 0.10. The current dispatch price was not perturbed, and the realised economic performance was evaluated using the original historical RRP. A fixed random seed was used for reproducibility, so
Table 6 reports one reproducible random realisation rather than a Monte Carlo average. Therefore, this test does not represent a new electricity price scenario, but a robustness check of the controller under imperfect price forecasts.
The percentage change in net profit is calculated relative to the perfect-foresight case as:
where
is the net profit obtained using the original historical RRP trajectory in the prediction horizon, and
is the net profit obtained when forecast errors are added to the predicted future prices.
Table 6 shows that the influence of forecast error is region-dependent. In NSW, the perturbed forecast cases lead to higher net profit than the perfect-foresight case. This does not mean that forecast errors are beneficial in general. Rather, it shows that the random perturbation can slightly change the timing of charge and discharge actions, and in this particular daily profile the resulting schedule gives a higher realised value.
In QLD, the forecast-error cases reduce the net profit by about 5.69% to 8.04%. This suggests that the QLD case is more sensitive to price prediction errors, likely because the value of dispatch is strongly affected by short-duration price events. In contrast, SA and VIC show very small changes in net profit. For SA, the variation is less than 0.1%, while for VIC it is also close to zero. This indicates that the dispatch results in these two cases are relatively stable under the tested ±5% and ±10% forecast perturbations.
The battery utilisation metrics also show that forecast errors can change the cycling pattern. For example, VIC has lower throughput and EFC under the perturbed forecasts than under the perfect case, while QLD shows a slight increase in throughput and EFC. Overall, the sensitivity test indicates that moderate forecast errors do not fundamentally change the main conclusions of the dispatch analysis.
3.2.6. Comparison with the Rule-Based Baseline Strategy
To provide a benchmark for the proposed NMPC strategy, a causal rolling-quantile rule-based baseline is used for comparison. Unlike the NMPC case, this baseline does not use the future price trajectory within a prediction horizon. At each five-minute step, it updates the charging and discharging thresholds using only the previously observed RRP values. After a two-hour warm-up period, the battery is charged when the current price is below the historical 25th percentile and discharged when the current price is above the historical 75th percentile. SOC reserve limits are also imposed to avoid over-charging or over-discharging. In the final four hours, a terminal recovery mode is applied to guide the SOC back towards the target value. The same degradation cost, ramping cost, and terminal penalty formulations are then used to evaluate both strategies.
Table 7 compares the penalised net profit and degradation cost of the proposed NMPC and the rule-based baseline under the 8 h prediction horizon. The results show that the proposed NMPC achieves higher net profit than the baseline in QLD, SA, and VIC. The improvement is especially clear in QLD, where the baseline produces a negative net value, while the proposed NMPC achieves a positive net profit of A
$437.65. In SA and VIC, the NMPC also improves the net profit by A
$186.86 and A
$516.07, respectively.
The NSW case shows a different result. The rule-based baseline obtains a slightly higher net profit than the NMPC, with A$427.43 compared with A$399.70. However, this higher return is accompanied by a larger degradation cost. The baseline degradation cost in NSW is A$280.45, while the NMPC degradation cost is A$230.16. Similar patterns can also be observed in the other regions, where the NMPC consistently results in a lower degradation cost than the baseline.
This comparison indicates that the proposed NMPC does not simply maximise short-term arbitrage revenue. Instead, it balances energy cashflow with degradation-related cost and other penalty terms. As a result, the NMPC can reduce battery wear in all four cases, while still improving or maintaining competitive net profit in most regions. The baseline comparison therefore supports the degradation-aware nature of the proposed dispatch strategy.
Since the NMPC uses the historical price trajectory within the prediction horizon as a perfect-foresight benchmark, this comparison should not be interpreted as a fully realistic real-time forecasting test. Rather, it quantifies the potential value of predictive optimisation compared with a simple causal rule-based strategy under the selected simulation setting.
3.2.7. Computational Performance Under the Five-Minute Dispatch Interval
To evaluate the computational performance of the proposed NMPC implementation, the solver time of each five-minute dispatch step is recorded.
Table 8 summarises the mean, maximum, and 95th percentile solve times for the four regional cases under the 4 h and 8 h prediction horizons.
The results show that all tested cases complete each optimisation step within the five-minute dispatch interval of 300 s. For the 4 h horizon, the mean solve time remains below 5 s in all regions, and the maximum solve time is no more than 34.90 s. When the prediction horizon is extended to 8 h, the computational burden increases, with the mean solve time rising to about 16–20 s and the maximum solve time reaching 128.10 s in the NSW case. However, these values are still below the 300 s scheduling interval.
The increase in computation time is expected because the 8 h horizon contains more decision variables and constraints than the 4 h horizon. This indicates a clear trade-off between longer look-ahead capability and computational complexity. In addition to solver time, the closed-loop SOC, voltage, and power trajectories were checked against the imposed hard constraints, and no hard-constraint violations were observed in the reported simulation cases. Although the time requirement is satisfied in all cases, some optimisation steps are marked as failed or unfinished, especially under the 8 h horizon. Therefore, the results suggest that the current MATLAB implementation is time-compatible with five-minute dispatch in the tested simulations, but further solver tuning and convergence robustness improvement would be required before real-time field deployment.