ree&pqj2

 
A MILP Approach to Optimising Energy Storage in a Commercial Building

Tomás Barosa Santos, Filipe Tadeu Oliveira and Hermano Bernardo

Centre for Power and Energy Systems, INESC TEC, Porto, Portugal

ftf

2026-02-15

im5

Abstract

To achieve carbon neutrality by 2050, commercialbuildings have installed photovoltaic systems to reduce carbon emissions and operational costs. Nevertheless, PV generation does not always match the building’s energy demand profile, therefore storage systems are needed to store excess energy and supply it when necessary. This paper presents a Mixed Integer Linear Programming optimisation algorithm designed to schedule the operation of the electric storage system, aiming to minimise the building’s energy-related costs. An annual hourly simulation of the optimised system was performed to assess the cost reduction. To prevent excessive operation of the electric storage system, an approach to penalise low energy charging was studied, with results showing a significant increase in the system’s lifespan.

Key words: MILP, optimisation, renewable energy, energy storage system, commercial building.

Published in: Renewable Energies, Environment & Power Quality Journal (REE&PQJ)
ISSUE: Vol. 25. No. 4 Pages: 447-451
E-ISSN: 3020-531 X Date of Current Version: 2026-02-01
REF: 578 Issue Date: 2026-02-15
DOI:10.24084/reepqj25-578 Publisher: AEDERMACP/ EA4EPQ

References

[1] Directive (EU) 2024/1275 of the European Parliament and of the Council of 24 April 2024 on the energy performance of buildings (recast) (Text with EEA relevance). 2024. Accessed: Jan. 31, 2025. Available: http://data.europa.eu/eli/dir/2024/1275/oj/eng

[2] ‘MILP Optimized Management of Domestic PV-Battery Using Two Days-Ahead Forecasts | IEEE Journals & Magazine | IEEE Xplore’. Accessed: Jan. 13, 2025. [Online]. Available: https://ieeexplore.ieee.org/document/9732432

[3] R. Martins, P. Musilek, and H. C. Hesse, ‘Optimization of photovoltaic power self-consumption using linear programming’, in 2016 IEEE 16th International Conference on Environment and Electrical Engineering (EEEIC), Jun. 2016, pp. 1–5. doi: 10.1109/EEEIC.2016.7555581.

[4] F. Lucchetta and A. Corsini, ‘A Mixed-Integer Linear Programming approach for the Optimization of Residential PV-Battery Energy Storage System’.

[5] G. Warkozek, S. Ploix, F. Wurtz, M. Jacomino, and B. Delinchant, ‘Problem Formulation And analysis for optimal energy management in multisources Systems: W effect’, COMPEL: The International Journal for Computation and Mathematics in Electrical and Electronic Engineering, vol. 31, pp. 904–919, May 2012, doi: 10.1108/03321641211209799.

[6] ‘Pyomo’, Pyomo. Accessed: May 22, 2024. [Online]. Available: http://www.pyomo.org

[7] ‘IBM ILOG CPLEX Optimization Studio’. Accessed: Feb. 21, 2025. Available: https://www.ibm.com/products/ilog-cplex-optimization-studio

[8] ‘Additive tariffs in the electricity sector | IEEE Conference Publication | IEEE Xplore’. Accessed: Jan. 23, 2025. [Online]. Available: https://ieeexplore.ieee.org/document/1709499

[9] O. Schmidt, S. Melchior, A. Hawkes, and I. Staffell, ‘Projecting the Future Levelized Cost of Electricity Storage Technologies’, Joule, vol. 3, no. 1, pp. 81–100, Jan. 2019, doi: 10.1016/j.joule.2018.12.008.

 
logos0
 
br

| Main | Articles | Publication-Regulations | Committees | Publication-Ethics | Open-Access | Fees | Background |

REE&PQJ is edited by:

European Association for the Development of Renewable Energies, Environment and Power Quality (EA4EPQ/AEDERMACP)

ICREPQ

Copyright © 2025 EA4EPQ All rights are reserved