Optimizing Power Sharing and Demand Reduction in Distributed Energy Resources for Apartments Through Tenant Incentivization
Abstract
1. Introduction
2. Problem Statement
- Minimize the total operating cost.
- Maximize the self-consumption of renewable energy.
- Reduce the impact on the main grid by mitigating peak load demands.
- Maintain acceptable power quality, particularly with respect to voltage balance and transformer loading.
2.1. Equations Used in MATLAB Simulink
2.1.1. PV Generation Model
- = instantaneous PV power output (kW);
- = PV module efficiency;
- = total PV array area (m2);
- = solar irradiance at time t (kW/m2).
2.1.2. Battery Storage Model
- = battery state of charge at time t;
- = charging power (kW);
- = discharging power (kW);
- = charging/discharging efficiencies;
- = nominal battery capacity (kWh);
- = time step (hours).
2.1.3. Load Demand Model
2.1.4. Grid Import/Export Model
2.1.5. Economic Model
- The cost of electricity imported from the grid.
- The revenue earned from exporting surplus electricity to the grid.
- = cost of electricity purchased from the grid (A$/kWh).
- = revenue from electricity exported to the grid (A$/kWh).
2.2. Optimization Function and Constraints
- Battery SOC limits:
- Battery charging/discharging power limits:
- Power balance constraint:
- Grid import/export limits (per transformer rating):
3. Proposed Algorithm
3.1. Algorithm Overview
- Data Acquisition: Load profiles, solar irradiance data, system specifications, and grid tariff structures are imported.
- PV Generation Modelling: Available PV generation is calculated at each time step using standard irradiance-to-power conversion equations.
- Net Load Estimation: Net load demand is computed after accounting for PV generation.
- Battery State-of-Charge (SOC) Dynamics: SOC evolution is modelled based on charging/discharging decisions and efficiency considerations.
- Optimization Module: The techno-economic optimization problem is formulated and solved at each time step to minimize the total operational cost.
- Grid Power Flow Calculation: The required grid import/export is determined to balance the microgrid energy flows.
- Cost Analysis: Total operational costs are aggregated based on grid tariffs and potential feed-in remuneration.
- Performance Assessment: Key performance indicators are evaluated, including total cost, peak load reduction, and transformer loading.
3.2. Mathematical Formulation
3.2.1. Photovoltaic Generation Model
- is the PV conversion efficiency;
- is the PV system area;
- is the solar irradiance at time t.
3.2.2. Net Load Demand
3.2.3. Battery SOC Dynamics
- and are the battery charging and discharging power;
- and are the charging and discharging efficiencies;
- is the rated energy capacity of the battery;
- is the time step interval.
3.2.4. Grid Power Flow
3.3. Optimization Algorithm
3.3.1. Active and Reactive Power Function
3.3.2. Optimization Function
- Battery SOC constraints:
- Battery charging/discharging limits:
- Power balance:
- Grid exchange limits:
4. Methodology
4.1. System Configuration
- A 25 kW solar PV array supplying renewable energy to the local load and/or battery.
- A 21 kWh BESS for storing excess renewable energy and dispatching during peak demand or high tariff periods.
- A grid connection that allows for energy import during deficit periods and export of surplus energy when economically viable.
4.2. Data Acquisition and Input Parameters
- Hourly solar irradiance data for the geographic location.
- Historical load profiles for the townhouses.
- Technical specifications of the PV system and BESS (e.g., efficiency, capacity, charge/discharge rates).
- Grid tariff structures, including import and export rates.
4.3. Mathematical Modelling
- A PV generation model based on solar irradiance and PV efficiency.
- A load demand model reflecting aggregated residential consumption.
- Battery SOC dynamics using charging/discharging power and efficiencies.
- Power balance equations to ensure supply–demand matching at every time step.
4.4. Optimization Framework
- Initialization with feasible solutions from prior simulation data.
- Constraint handling through a penalty-based approach.
- Adaptive mutation rate based on convergence speed.
- Integration with MATLAB’s fmincon for local optimization.
- Battery charging power ().
- Battery discharging power ().
- Battery SOC limits ().
- Maximum charge/discharge power limits.
- Grid import/export limits.
- Power balance constraints ensuring that the load is always met.
4.5. Simulation Procedure
- The PV generation is calculated from irradiance data.
- The net load is determined by subtracting PV output from the aggregated load demand.
- The optimization problem is solved to determine the optimal battery operation and grid interaction.
- The battery SOC is updated using the charging/discharging power determined by the optimizer.
- Grid import or export is calculated to meet any remaining demand or export surplus energy.
- The operational cost for the time step is recorded based on the grid tariff structure.
4.6. Performance Metrics
- Total operational cost: This is the sum of all grid import costs minus any export revenue.
- Battery utilization: This quantifies the extent of battery cycling and SOC dynamics.
- Grid dependency: This measures the proportion of energy drawn from the grid.
- Peak load reduction: This assesses the effectiveness of the microgrid in mitigating grid stress during peak demand periods.
- Transformer loading profile: This evaluates potential overloading scenarios under different operational strategies.
4.7. Validation and Sensitivity Analysis
5. Numerical Results and Discussions
5.1. PV Generation and Load Profiles
5.2. Battery Operation and State of Charge (SOC)
5.3. Grid Import and Export
5.4. Cost Analysis
5.5. Peak Load and Transformer Loading
5.6. Sensitivity Analysis for Key Parameters
5.7. Discussions
5.7.1. Operational Cost Reduction
5.7.2. Peak Load Reduction and Transformer Stress Mitigation
5.7.3. Battery Utilization and Cycling Impacts
5.7.4. Grid Import and Export Dynamics
5.7.5. Sensitivity to Key Parameters
5.7.6. Comparative Analysis with Existing Studies
5.7.7. Limitations and Future Work
- The model assumes perfect foresight of load and solar generation, which may not reflect real-world forecasting uncertainties.
- The study adopts a simplified battery model that does not account for degradation or thermal constraints, which can impact long-term economic and technical performance.
- The analysis focuses on a single 24 h simulation horizon; extending the simulation to seasonal or annual profiles would capture a more comprehensive range of operating conditions.
- The impact of dynamic grid conditions, such as voltage fluctuations and fault scenarios, is not addressed in the current analysis.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
MG | Microgrid |
SOC | State of Charge |
DNSP | Distribution Network Service Provider |
EMS | Energy Management System |
PV | Photovoltaic Cells |
BESS | Battery Energy Storage System |
References
- Mears, A. Managing Distributed Energy Resources on Low-Voltage Networks; Australian PV Institute: Newcastle West, Australia, 2021; p. 3. [Google Scholar]
- Clean Energy Council. Rooftop Solar and Storage Biannual Report; Clean Energy Council: Melbourne, Australia, 2024; p. 19. Available online: https://cleanenergycouncil.org.au/news-resources/rooftop-solar-and-storage-report-july-to-december-2024 (accessed on 20 June 2025).
- White, A. Network Wide HV & LV Scenario Based Hosting Capacity Analysis. Hosting Capacity Study; Australian Energy Regulator; 2022; p. 70. Available online: https://www.aer.gov.au/system/files/Essential%20Energy%20-%207.01.01%20Hosting%20Capacity%20Study%20-%20Zepben%20-%20Apr22%20-%20Public.pdf (accessed on 20 June 2025).
- Stringer, N.; Bruce, A.; MacGill, I. Data Driven Exploration of Voltage Conditions in the Low Voltage Network for Sites with Distributed Solar PV; Australian PV Institute: Newcastle West, Australia, 2018; p. 13. [Google Scholar]
- Abdelkader, S.; Amissah, J.; Abdel-Rahim, O. Virtual Power Plants: An in-Depth Analysis of Their Advancements and Importance as Crucial Players in Modern Power Systems. Energy Sustain. Soc. 2024, 14, 52. [Google Scholar] [CrossRef]
- Seven, S.; Yao, G.; Soran, A.; Onen, A.; Muyeen, S.M. Peer-to-Peer Energy Trading in Virtual Power Plant Based on Blockchain Smart Contracts. IEEE Access 2020, 8, 175713–175726. [Google Scholar] [CrossRef]
- Lee, Y. Energy Management System with Power Offering Strategy for a Microgrid Integrated VPP. Comput. Mater. Contin. 2023, 75, 2313–2329. [Google Scholar] [CrossRef]
- Kaiss, M.; Wan, Y.; Gebbran, D.; Vila, C.U.; Dragičević, T. Review on Virtual Power Plants/Virtual Aggregators: Concepts, Applications, Prospects and Operation Strategies. Renew. Sustain. Energy Rev. 2025, 211, 115242. [Google Scholar] [CrossRef]
- Bedi, A.; Ramprabhakar, J.; Anand, R.; Meena, V.P.; Hameed, I.A. Empowering Net Zero Energy Grids: A Comprehensive Review of Virtual Power Plants, Challenges, Applications, and Blockchain Integration. Discov. Appl. Sci. 2025, 7, 252. [Google Scholar] [CrossRef]
- Minai, A.F.; Khan, A.A.; Kitmo; Ndiaye, M.F.; Alam, T.; Khargotra, R.; Singh, T. Evolution and Role of Virtual Power Plants: Market Strategy with Integration of Renewable Based Microgrids. Energy Strategy Rev. 2024, 53, 101390. [Google Scholar] [CrossRef]
- Arena-Annual-Report-21-22. Available online: https://arena.gov.au/assets/2022/10/arena-annual-report-21-22.pdf (accessed on 20 June 2025).
- Watt, G. Integrating Distributed Energy Resources in the Electricity Grid. Available online: https://www.engineersaustralia.org.au/sites/default/files/2022-08/Integrating-DER-in-the-grid-Discussion-Paper_0.pdf (accessed on 20 June 2025).
- Saleem, M.I.; Saha, S.; Izhar, U.; Ang, L. Optimized Energy Management of a Solar Battery Microgrid: An Economic Approach towards Voltage Stability. J. Energy Storage 2024, 90, 111876. [Google Scholar] [CrossRef]
- Zhang, Y.; Ma, T.; Elia Campana, P.; Yamaguchi, Y.; Dai, Y. A Techno-Economic Sizing Method for Grid-Connected Household Photovoltaic Battery Systems. Appl. Energy 2020, 269, 115106. [Google Scholar] [CrossRef]
- Ud-Din Khan, S.; Wazeer, I.; Almutairi, Z.; Alanazi, M. Techno-Economic Analysis of Solar Photovoltaic Powered Electrical Energy Storage (EES) System. Alex. Eng. J. 2022, 61, 6739–6753. [Google Scholar] [CrossRef]
- Najafi Ashtiani, M.; Toopshekan, A.; Razi Astaraei, F.; Yousefi, H.; Maleki, A. Techno-Economic Analysis of a Grid-Connected PV/Battery System Using the Teaching-Learning-Based Optimization Algorithm. Sol. Energy 2020, 203, 69–82. [Google Scholar] [CrossRef]
- Ferahtia, S.; Rezk, H.; Olabi, A.G.; Alhumade, H.; Bamufleh, H.S.; Doranehgard, M.H.; Abdelkareem, M.A. Optimal Techno-Economic Multi-Level Energy Management of Renewable-Based DC Microgrid for Commercial Buildings Applications. Appl. Energy 2022, 327, 120022. [Google Scholar] [CrossRef]
- Montano, J.; González-Montoya, D.; Candelo-Becerra, J.E.; Herrera-Jaramillo, D.A. Optimal Energy Management System and Techno-Economic Assessment in Urban and Rural AC Microgrids. J. Energy Storage 2025, 114, 115836. [Google Scholar] [CrossRef]
- Allwyn, R.G.; Al-Hinai, A.; Al-Abri, R.; Malik, A. Optimization and Techno-Economic Analysis of PV/Battery System for Street Lighting Using Genetic Algorithm–A Case Study in Oman. Clean. Eng. Technol. 2022, 8, 100475. [Google Scholar] [CrossRef]
- Elloumi, M.; Kallel, R.; Boukettaya, G. Contribution to a Techno-Economic Optimization for the Optimal Sizing and Management of a Secured Residential PV/Battery System. Smart Grids Sustain. Energy 2023, 8, 12. [Google Scholar] [CrossRef]
- Chen, X.; Liu, Z.; Wang, P.; Li, B.; Liu, R.; Zhang, L.; Zhao, C.; Luo, S. Multi-Objective Optimization of Battery Capacity of Grid-Connected PV-BESS System in Hybrid Building Energy Sharing Community Considering Time-of-Use Tariff. Appl. Energy 2023, 350, 121727. [Google Scholar] [CrossRef]
- Shabani, M.; Wallin, F.; Dahlquist, E.; Yan, J. Techno-Economic Assessment of Battery Storage Integrated into a Grid-Connected and Solar-Powered Residential Building under Different Battery Ageing Models. Appl. Energy 2022, 318, 119166. [Google Scholar] [CrossRef]
- Koubar, M.; Lindberg, O.; Lingfors, D.; Huang, P.; Berg, M.; Munkhammar, J. Techno-Economical Assessment of Battery Storage Combined with Large-Scale Photovoltaic Power Plants Operating on Energy and Ancillary Service Markets. Appl. Energy 2025, 382, 125200. [Google Scholar] [CrossRef]
- Grid Connection of Energy Systems via Inverters, Part 2: Inverter Requirements. Available online: https://aemo.com.au/initiatives/major-programs/nem-distributed-energy-resources-der-program/standards-and-connections/as-nzs-4777-2-inverter-requirements-standard (accessed on 20 June 2025).
- AS/NZS 5139:2019; Electrical Installations–Safety of Battery Systems for Use with Power Conversion Equipment. Standards Australia: Sydney, Australia, 2019. Available online: https://www.standards.org.au/standards-catalogue/standard-details?designation=as-nzs-5139-2019 (accessed on 20 June 2025).
- Standards Australia. Electrical Installations (Known as the Australian/New Zealand Wiring Rules). Available online: https://www.standards.org.au/flagship-projects/wiring-rules (accessed on 20 June 2025).
Parameter | Value | Unit |
---|---|---|
PV Capacity | 31.54 | kWp |
PV Module Efficiency | 21.3 | % |
Battery Capacity | 21 | kWh |
Battery Rating | 5 | kVA |
Battery Round-Trip Efficiency | 95 | % |
Inverter Rating | 25 | kVA |
Time Step | 1 | Hour |
Grid Import Tariff | 0.25 | A$/kWh |
Grid Export Tariff | 0.1 | A$/kWh |
Simulation Horizon | 24 | Hour |
Study | System Configuration | Reported Cost Reduction | Reported Peak Load Reduction | Key Notes |
---|---|---|---|---|
[22] | Residential PV + battery under TOU tariffs | 25–35% | 20% | Focus on battery dispatch strategies and tariff sensitivity |
[21] | Hybrid PV–battery with demand response | 30% | 20% | Integrated DR and storage optimization to reduce grid import. |
This Study | 25 kW PV + 21 kWh battery for 6 townhouses | 40% | 25% | Optimized considering transformer serviceability |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Nambiar, J.; Yu, S.; Makam, J.; Trinh, H. Optimizing Power Sharing and Demand Reduction in Distributed Energy Resources for Apartments Through Tenant Incentivization. Energies 2025, 18, 4073. https://doi.org/10.3390/en18154073
Nambiar J, Yu S, Makam J, Trinh H. Optimizing Power Sharing and Demand Reduction in Distributed Energy Resources for Apartments Through Tenant Incentivization. Energies. 2025; 18(15):4073. https://doi.org/10.3390/en18154073
Chicago/Turabian StyleNambiar, Janak, Samson Yu, Jag Makam, and Hieu Trinh. 2025. "Optimizing Power Sharing and Demand Reduction in Distributed Energy Resources for Apartments Through Tenant Incentivization" Energies 18, no. 15: 4073. https://doi.org/10.3390/en18154073
APA StyleNambiar, J., Yu, S., Makam, J., & Trinh, H. (2025). Optimizing Power Sharing and Demand Reduction in Distributed Energy Resources for Apartments Through Tenant Incentivization. Energies, 18(15), 4073. https://doi.org/10.3390/en18154073