Journal Menu
Archive
Last Edition

Vol.4, No.3, 2025: pp.164-174

Hybrid solar chp microgrid optimization: python code framework using real equipment data

Authors:

Amr Abbass1

1Department of Mechanical Engineering, Mississippi State University, Starkville, MS 39762, USA

Received: 26 July 2025
Revised: 10 September 2025
Accepted: 25 September 2025
Published: 30 September 2025

Abstract:

This paper presents a dynamic optimization methodology, developed in Python, for hybrid microgrid systems that combine Photovoltaic (PV) generation with Combined Heat and Power (CHP) engines. The proposed method, in contrast to traditional models that depend on theoretical assumptions or fixed software platforms, directly integrates manufacturer-specific data for chillers and CHP engines, thus improving precision in equipment sizing and operational planning. The methodology is supported by case studies conducted in three cities: In August, Alexandria’s maximum cooling load was 935.5 kW with 184.5 kW of excess power, while Kuwait’s cooling demand was higher at 2810.1 kW with 168.6 kW of excess energy. In January, however, 3360 kW were required to meet Calgary’s heating needs. These results demonstrate how the framework can improve system performance in a range of regional and seasonal settings. By combining real-time climate modelling with actual manufacturer data, the study fills a clear gap in the literature. It offers a more practical substitute for multi-software optimization techniques. The model’s precision and pertinence are validated through comparison with industry catalogues. The framework is advised for evaluation using other manufacturers’ datasets and should be expanded to incorporate thermal storage, demand-side management, and battery systems.

Keywords:

Solar, Wind, Heat, Python, Engine, PV, Combined Heat and Power engines

References:

[1] U. Ukaegbu, L. Tar Tibu, C. Lim, Optimization of solar-assisted CCHP systems: Enhancing efficiency and reducing emissions through Harris Hawks-based mathematical modelling. Sustainability, 16(23), 2024: 10694.
https://doi.org/10.3390/su162310694
[2] A. Abbass, Advanced optimization of CCHP microgrids: Strategies for enhanced efficiency, reliability, and sustainability. Journal of Sustainable Development Innovations, 2(2), 2025: 90–99. https://doi.org/10.61552/JSI.2025.02.005
[3] J. Ye, Q. Dong, G. Yang, Y. Qiu, P. Zhu, Y. Wang, L. Sun, Multi-objective optimal configuration of CCHP system containing hybrid electric-hydrogen energy storage system. Energy Informatics, 7, 2024: 111. https://doi.org/10.1186/s42162-024-00413-4
[4] Z. Luo, W. Gu, Z. Wu, Z. Wang, Y. Tang, A robust optimization method for energy management of CCHP microgrid. Journal of Modern Power Systems and Clean Energy, 6, 2017: 132–144. https://doi.org/10.1007/s40565-017-0290-3
[5] C. Marino, M. Marufuzzaman, M. Hu, M.D. Sarder, Developing a CCHP-microgrid operation decision model under uncertainty. Computers & Industrial Engineering, 115, 2018: 354–367. https://doi.org/10.1016/j.cie.2017.11.021
[6] S. Yang, C. Su, Z. Wang, Adaptive robust optimal dispatch of microgrid based on different robust adjustment parameters. IET Generation, Transmission & Distribution, 15(23), 2021: 3360–3371. https://doi.org/10.1049/gtd2.12270
[7] S. Yuan, Z. Wu, L. Yan, A comprehensive evaluation model for microgrid with CCHP. Journal of Physics: Conference Series, 1920, 2021: 012012. https://doi.org/10.1088/1742-6596/1920/1/012012
[8] H. Zhao, H. Lu, X. Wang, B. Li, Y. Wang, P. Liu, Z. Ma, Research on comprehensive value of electrical energy storage in CCHP microgrid with renewable energy based on robust optimization. Energies, 13(24), 2020: 6526.
https://doi.org/10.3390/en13246526
[9] G.F. Smaisim, A.M. Abed, S.K. Hadrawi, H.S. Majdi, A. Shamel, Modelling and optimization of combined heat and power system in microgrid based on renewable energy. Clean Energy, 7(4), 2023: 132–144. https://doi.org/10.1093/ce/zkad012
[10] A.V. Olympio, A.M. Pantaleo, P. Sapin, C.N. Markides, On the value of combined heat and power (CHP) systems and heat pumps in centralised and distributed heating systems. Applied Energy, 274, 2020: 115261.
https://doi.org/10.1016/j.apenergy.2020.115261
[11] NREL, National Solar Radiation Database (NSRDB). U.S. National Renewable Energy Laboratory. Available at: https://nsrdb.nrel.gov/ (Accessed: 27 January 2025).
[12] NREL, Weather Data Resources. U.S. National Renewable Energy Laboratory. Available at: https://www.nrel.gov/ (Accessed: 27 January 2025).
[13] A. Bhatia, HVAC Made Easy: A Guide to Heating & Cooling Load Estimation. PDHonline Course M196 (4 PDH). PDH Center, USA, 2020. Available at: https://pdhonline.com/courses/m196/m196content.pdf (Accessed: 27 January 2025).
[14] Viessmann, Vitobloc CHP Units. Manufacturer catalogue. Available at: https://www.viessmann.co.uk/(Accessed: 27 January 2025).
[15] Carrier, 16JL/JLR Steam/Hot Water Single-Effect Absorption Chiller. Manufacturer datasheet. Available at: https://century-refrigeration.com/products/ (Accessed: 27 January 2025).
[16] Y. Xu, Z. Fu, J. Guo, Z. Bao, W. Li, Y. Zhu, A dynamic interactive optimization model of CCHP system involving demand-side and supply-side impacts of climate change. Part I: Methodology development. Energy Conversion and Management, 252, 2022: 115112. https://doi.org/10.1016/j.enconman.2021.115112
[17] A. Khodaei, A. Arabnya, The Economics of Microgrids. Wiley-IEEE Press, Hoboken, USA, 2023.
[18] O. Shafiee, M. Naderi, H. Bevrani, Microgrids: Dynamic Modeling, Stability, and Control. John Wiley & Sons, Inc., Hoboken, USA, 2023. https://doi.org/10.1002/9781119906230
[19] H. Farhangi, G. Joos, Microgrid Planning and Design: A Concise Guide. Wiley-IEEE Press, Hoboken, USA, 2019.
[20] D.W. Gao, Energy Storage for Sustainable Microgrid. Elsevier, Amsterdam, Netherlands, 2015.
https://doi.org/10.1016/C2014-0-04144-5
[21] S.A. Roosa, Fundamentals of Microgrids: Development and Implementation. CRC Press, Boca Raton, USA, 2020.
[22] P. Zhang, Microgrids: Theory and Implementation. Wiley-IEEE Press, Hoboken, USA, 2024.
[23] S. Palanisamy, Microgrids for Commercial Systems. Wiley-Scrivener, Hoboken, USA, 2024.
[24] K.U. Hemapala, M. Perera, Smart Microgrid Systems: Advanced Technologies. CRC Press, Boca Raton, USA, 2022. https://doi.org/10.1201/9781003216292
[25] H. Fathima, N. Prabaharan, K. Palanisamy, Kalam, S. Mekhilef, J.J. Justo, Hybrid-Renewable Energy Systems in Microgrids. Elsevier, Amsterdam, Netherlands, 2018. https://doi.org/10.1016/C2017-0-01772-X
[26] E. Kabalci, Hybrid Renewable Energy Systems and Microgrids. Elsevier, Amsterdam, Netherlands, 2020.
[27] A.K. Pandey, S. Padmanaban, S.L. Tripathi, V. Patel, V. Patel, Microgrid Design, Optimization, and Applications. CRC Press, Boca Raton, USA, 2024. https://doi.org/10.1201/9781003481836

© 2025 by the author. This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)

Volume 4
Number 4
December 2025.

 

Loading

How to Cite

A. Abbass, Hybrid Solar CHP Microgrid Optimization: Python Code Framework Using Real Equipment Data. Advanced Engineering Letters, 4(3), 2025: 164-174.
https://doi.org/10.46793/adeletters.2025.4.3.5

More Citation Formats

Abbass, A. (2025). Hybrid Solar CHP Microgrid Optimization: Python Code Framework Using Real Equipment Data. Advanced Engineering Letters, 4(3), 164-174. https://doi.org/10.46793/adeletters.2025.4.3.5

Abbass, Amr. “Hybrid Solar CHP Microgrid Optimization: Python Code Framework Using Real Equipment Data.“ Advanced Engineering Letters, vol. 4, no. 3, 2025, pp. 164-174. https://doi.org/10.46793/adeletters.2025.4.3.5

Abbass, Amr. 2025. “Hybrid Solar CHP Microgrid Optimization: Python Code Framework Using Real Equipment Data.“ Advanced Engineering Letters, 4(3): 164-174. https://doi.org/10.46793/adeletters.2025.4.3.5

Abbass, A. (2025). Hybrid Solar CHP Microgrid Optimization: Python Code Framework Using Real Equipment Data. Advanced Engineering Letters, 4(3), pp. 164-174. doi: 10.46793/adeletters.2025.4.3.5.