Submitted:
18 May 2024
Posted:
20 May 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Defining the Technological Part of the Model
- Record processing according to technical documentation (manufacturer's documentation, implementation project, operating regulations)
- Analysis of measured data (manually recorded data from electricity meters and heat meters, data export of available control systems.)
-
Autonomous production of heat, e.g.
- ■
- Steam boiler K
- -
- P2 - Output – Fuel – Natural gas
- -
- P3 - Output – Fuel – Chips
- -
- T2 - Input – Heat – High pressure steam
- -
- O5 - Output – Emissions, Motohours
- ■
- Hot-water boiler 1
- -
- P1 - Output – Fuel – Natural gas
- -
- T1 - Input – Heat – Hot water
- -
- O1 - Output – Emissions, Motohours
- ■
- Hot-water boiler 2
- -
- P2 - Output – Fuel – Natural gas
- -
- T2 - Input – Heat – Hot water
- -
- O2 - Output – Emissions, Motohours
- ■
- Hot-water boiler 3
- -
- P3 - Output – Fuel – Natural gas
- -
- T3 - Input – Heat – Hot water
- -
- O3 - Output – Emissions, Motohours
- ■
- Hot-water boiler 4
- -
- P4 - Output – Fuel – Natural gas
- -
- T4 - Input – Heat – Hot water
- -
- O4 - Output – Emissions, Motohours
-
Electricity production
- ■
- Turbo generator
- -
- T5 - Output – Heat – Para
- -
- E1 - Output – Electricity
- -
- T8 - Input – Heat – Para / Hot water
- -
- O5 - Output – Motohours
- Heat production and electricity production
-
Cogeneration unit 1
- -
- P7 - Output – Fuel – Natural gas
- -
- E2 - Output – Electricity
- -
- T9 - Input – Heat – Hot water
- -
- T13 - Output – Heat – Combustion gasses
- -
- O6 - Output – Emissions, Motohours
-
Cogeneration unit 2
- -
- P8 - Output – Fuel – Natural gas
- -
- E3 - Output – Electricity
- -
- T10 - Input – Heat – Hot water
- -
- T14 - Output – Heat – Combustion gasses
- -
- O7 - Output – Emissions, Motohours
-
Cogeneration unit 3
- -
- P9 - Output – Fuel – Natural gas
- -
- E4 - Output – Electricity
- -
- T11 - Input – Heat – Hot water
- -
- T15 - Output – Heat – Combustion gasses
- -
- O8 - Output – Emissions, Motohours
-
Heat consumption
- -
- T16 – Hot-water grid 1 – Input
- -
- T17 – Hot-water grid 2 – Input
- -
- T7- Technological heat consumption– Output – Para
- -
- T6 – Internal heat consumption – Input – Hot water
-
Electricity consumption
- -
- E4 – Technological electricity consumption– Output – Electricity
- -
- E5 – Internal electricity consumption – Input – Electricity
- Heat storage: T18 – Storage tank 1 – Input / Output – Hot water
- CHP heating mode (shown in the picture),
- power plant mode with heat suppression (heat production above the amount of economically demandable heat, including excess electricity production),
- Non-CHP mode (exclusive heat supply without electricity production – non-combined production).
2.2. Defining Market Links to Ensure the Economic Side of the Model
Electricity Market
- Day market / DayAhead (closes by 1:30 p.m. for the next day).
- Intraday market (closing 30 minutes before the trading window).
Fuel Market
Heat Market
Consumption Tax
Emissions
- solid pollutants (TZL),
- sulphur oxides expressed as sulphur dioxide (SO2),
- nitrogen oxides expressed as nitrogen dioxide (NOX),
- carbon monoxide (CO),
- ammonia (NH3),
- organic substances in the gas phase expressed as total organic carbon (TOC).
Maintenance and Other Factors
- fixed price of oil for cogeneration units (in €/Mth),
- fixed price of NOx Amid additives (in €/MWh of burned gas),
- fixed cost for equipment maintenance (in €/Mth of operated equipment),
- fees for electricity self-consumption of technological equipment,
- tariff for operating the system - TPS (v €/MWh),
- tariff for TSS system services (in €/MWh)
Defining of Limiting Conditions
-
Technological or regulatory conditions in the context of the model, these are additional conditions that do not result directly from the market environment, but are intended to ensure the fulfilment of a legislative or other technological requirements. Legislative conditions, from the regulation point of view, are the following:
- -
- compliance with primary energy saving,
- -
- achieving the minimum efficiency of heat and electricity production.
- Simulation conditions of behavior for the purposes of inducing the desired behavior of the model, conditions are used that ensure the fulfilment of logical behavior in a strictly mathematical model. These conditions prevent unwanted behavior that is correct but undesirable from the point of view of mathematical notation, such as frequent cycling of starting and stopping equipment, maximizing performance at a low margin, and the like. The simulation conditions are solved through penalties, priorities or by defining boundaries.
2.3. Solution Scheme
- OKTE module (ensures the integration of electricity market data). Communication is established within the D2000 system [24] via a native API for downloading market data published on OKTE portals.
- SEPS module (ensures the integration of market data with support services). The module provides communication to the Damas Energy system managed by SEPS. In the given system, currently valid support service contracts are downloaded to the D2000 system, including sending the daily PpS purchase and its evaluation. This module integrates the business functionality of the Damas Energy system for support services.
-
Prediction module (provides demand prediction based on meteorological data using the Keras model [12] and xgboost [13]). The resulting prediction enters Gurobi (2020) in the form of a clock vector.
- -
- Keras is a high-level, deep learning API developed by Google for implementing neural networks. It is written in Python and is used to facilitate the implementation of neural networks. This tool is compatible with libraries like JAX, TensorFlow and PyTorch [12].
- -
- xgboost is a robust machine learning algorithm that helps to understand the processed data. It supports solving both regression and classification predictive modelling problems. A parameterized model in a defined set-ting is used to search for dependencies between meteorological data and the development of heat consumption in the distribution network [13].
- Optimization model (uses the Gurobi system). Gurobi [15] is a commercial software for solving large-scale linear programming problems that falls under the category of solvers. The program supports solving integer problems. It automates and optimizes planning decisions using an easy-to-implement application-programming interface.
-
The parameterizations module of the D2000 system [24] allows you to define technological properties through:
- -
- static parameters (all device parameters),
- -
- curves (conversion curves, for example, efficiency).
- Vectors (archiving of all-time series with a step of 15 min.).
- Database (integrated PostgreSQL database).
3. Results
- summer operation (load up to 30% of power),
- operation during the transition period - beginning of the heating season (load from 30% to 60%),
- winter operation - heating season (load from 60% to 100%).
- Real Mode - Real deployment performed by the user according to defined requirements and degree of freedom (performed by an anonymized producer of heat and electricity). The parameterized model was put into real operation. In this mode, the user manually defined the requirement for the operation of the equipment, the size of the electrical diagram and the requirement for the supply of support services. In this way, the freedom of the model for finding the optimal solution was reduced to a minimum, which resulted in a significant limitation of the profit maximization function. The Real Mode generally covers the user's preference according to habits
- Max.Mode - The model's maximum degree of freedom. In this case, the model looks for the combination that achieves the highest profit.
- Max. without PpS Mode - Model high degree of freedom without providing sup-port services.
| Period | Operation Mode | HW Load | Electricity Price | PpS Provision | Other Parameters |
|---|---|---|---|---|---|
| Summer Operation | Max. | Load curve - identical input for modes (range up to 30% power) | Course of ISOT prices - identically for the mentioned modes and time periods | Model optimisation | Same setting for all time periods and modes |
| Real | User request | ||||
| Max. without PpS | Without PpS | ||||
| Transition Period | Max. | Load curve - identical input for the mentioned modes (range from 30%÷60% power) | Model optimisation | ||
| Real | User request | ||||
| Max. without PpS | Without PpS | ||||
| Winter Operation | Max. | Load cycle - identical input for the mentioned modes (range from 60%÷100% power) | Model optimisation | ||
| Real | User request | ||||
| Max. without PpS | Without PpS |
- -
- Heat delivered to heating pipes according to the load: The supply of heat de-pends on consumption prediction based on meteorological data. The prediction is performed in hourly steps in [MWh].
- -
- Course of ISOT prices: electricity prices in the daily market in [€/MWh] are published for the previous day, downloaded from OKTE. A statistical method is used to predict prices for the day ahead.
- -
- Complete sales chart the resulting deployed diagram of electricity at the threshold of the production plant in [MWh], which will be traded on the daily market and the producer undertakes to produce and deliver it.
- -
- PpS range provided: the total amount of support services in [MW/h], which consists of existing long-term contracts, including the proposal of a model for the implementation of the daily purchase of support services.
- -
- Revenue for PpS availability: calculated revenue value in € based on the volume of the provided support service and the price for the support service. The price of the contract is set in [€/MWh] by a static parameter filled in by the user based on the market development.
- -
- Total fuel consumption in [MWh] calculated on the basis of efficiency curves ac-cording to heat or electricity production for each individual device.
- -
- The resulting profit in [€] after deducting variable costs from the total revenue for the sale of electricity and heat, including support services without regulating electricity.
- -
- Qmar – wasted heat calculated and deployed heat production, which is redundant from the point of view of the predicted amount of heat. This heat cannot be placed in the accumulator and is either released into the air or the parameters of the heat-carrying medium into the hot pipe are increased.
- -
- Absolute value of accumulation it expresses the total amount of energy charged and discharged by the accumulator in MWh.
- -
- Share of heat production CGU/K+TG/HK [%] it expresses the percentage of heat produced by technological units such as combined cogeneration units, a steam boiler including a steam turbine and hot water boilers. The percentage is calculated according to the total heat supply of technological equipment to the hot water network.
- overall heat delivered to heating pipes according to the load (MWh),
- average load power of the heating pipes (MW),
- minimal load power of the heating pipes (MW),
- maximum load power of the heating pipes (MW),
- course of ISOT prices (€/MWh),
- ISOT average price (€/MWh),
- overall sale diagram by model (MWh),
- average sale diagram – power (MW),
- minimal sale diagram – power (MW),
- maximum sale diagram – power (MW),
- overall PpS scope provided (MWh),
- overall fuel consumption (MWh),
- efficiency of electricity and heat production,
- total profit (MWh),
- the overall amount of heat produced by non-combined production of heat and electricity (MWh),
- Qmar – overall wasted heat (MWh).
3.1. Time Segment: Summer Operation
3.2. Time Segment: Transitional Period
3.3. Time Segment: Winter Period
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Veselková, A. et al. Mikroekonómia, Bratislava: Sprint 2 Ltd. 2017, ISBN 978-80-89-710-34-8.
- Lahdelma, R.; Hakonen, H. An efficient linear programming algorithm for combined heat and power production, European Journal of Operational Research, 2003. Volume 148, Issue 1, Pages 141-151. [CrossRef]
- Palensky, P.; Mancarella, P.; Hardy, T. et al. Cosimulating Integrated Energy Systems with Heterogeneous Digital Twins: Matching a Connected World. IEEE Power and Energy Magazine, 2024, Volume 22. Available online: https://www.scopus.com/record/display.uri?eid=2-s2.0-85183612748&origin=inward&txGid=0286d2f89006e5d48e2905df71b92f3c. [CrossRef]
- Mancò, G.; Tesio, U.; Guelpa, E.; Verda, V. A review on multi energy systems model-ling and optimization. Applied Thermal Engineering, 2024, Volume 236, Part E, Number of articel 121871. [CrossRef]
- Xu, Y.; Yan, Ch.; Liu, H.; Wang, J.; Yang, Z.; Jiang, Y. Smart energy systems: A critical review on design and operation optimization. Sustainable Cities and Society. 2020, Volume 62. Available online: https://www.sciencedirect.com/science/article/abs/pii/S2210670720305916. [CrossRef]
- Modos, I. Mixed Integer Linear Programming: Formal definition and solution space. Towards Data Science. Available online: https://towardsdatascience.com/mixed-integer-linear-programming-formal-definition-and-solution-space-6b3286d54892 (accessed 21.01.2024).
- Mallier, L.; Hétreux, G.; Thery-Hétreux, R.; Baudet, P. A modelling framework for energy system planning: Application to CHP plants participating in the electricity market. Energy, 2021. Volume 214. Available online: https://www.sciencedirect.com/science/article/abs/pii/S0360544220320831. [CrossRef]
- Dvořák, M.; Havel, P. Combined heat and power production planning under liberalized market conditions. Applied Thermal Engineering. 2012, volume 43. [CrossRef]
- Xue, G.; Zhang, Y.; Yu, S.; Song, J.; Bian, T.; Gao, Y.; Yan, W.; Guo, Y. Daily residential heat load prediction based on a hybrid model of signal processing, econometric model, and support vector regression. Thermal Science and Engineering Progress. 2023. Volume 43. [CrossRef]
- Keras. Training & evaluation with the built-in methods (keras.io). Available online: https://keras.io/guides/training_with_built_in_methods/ (accessed 31. 01. 2024).
- xgboost developers. Prediction. Available online: https://xgboost.readthedocs.io/en/stable/prediction.html (accessed 06.02.2024).
- What Is Keras: The Best Introductory Guide To Keras. Available online: https://www.simplilearn.com/tutorials/deep-learning-tutorial/what-is-keras (accessed 06.02.2024).
- What is XGBoost? An Introduction to XGBoost Algorithm in Machine Learning. Available online: https://www.simplilearn.com/what-is-xgboost-algorithm-in-machine-learning-article. (accessed 10.02.2024).
- LpSolve Tutorial. 2011. Available online: https://www.scribd.com/document/98060513/LpSolve-Tutorial.
- Gurobi optimizer reference manual. Version 9.0, Copyright c 2020, Gurobi Optimization, LLC. Available online: https://www.gurobi.com/wp-content/plugins/hd_documentations/documentation/9.0/refman.pdf.
- Li, Wei; Guerrero-García, P.; Santos-Palomo, A. A basis-deficiency-allowing primal phase-I algorithm using the most-obtuse-angle column rule. Computers & Mathematics with Applications, 2006. Volume 51, Issues 6–7. Available online: https://www.sciencedirect.com/science/article/pii/S0898122106000460 (accessed 09.02.2024). [CrossRef]
- Bujna, M. Simulácia výrobných procesov. Slovenská poľnohospodárska univerzita v Nitre, Nitra, 2017, ISBN 978-80-552-1761-1.
- URSO. Povolenia č. 2006E 0197 - 7. zmena. Available online: https://www.urso.gov.sk/2006e019707/ (accessed 15.01.2024).
- URSO. Povolenia č. 2006T 0268 - 50. zmena. Available online: https://www.urso.gov.sk/2006t026850/ (accessed 15.01.2024).
- Act no. 251/2012 Coll. on energy.]. Available online: https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2012/251/ (accessed 06.02.2024).
- Act no. 250/2012 Coll. on regulation in network industries. Available online: https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2012/250/ (accessed 06.02.2024).
- The Decree of the Office for Regulation of Network Industries no. 207/2023 Coll. Available online: https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2023/207/ (accessed 15.01.2024).
- OKTE. Prevádzkový poriadok organizátora krátkodobého trhu s elektrinou OKTE, a.s. Available online: https://www.okte.sk/media/jdtjtlta/prev%C3%A1dzkov%C3%BD_poriadok_okte__a-s-_%C3%BA%C4%8Dinn%C3%BD_od_30-11-2022_.pdf (accessed 15.01.2024).
- IPESOFT 2020. D2000 Online referenčná príručka. Available online: https://doc.ipesoft.com/pages/viewpage.action?pageId=17272076.
- URSO. Technické podmienky prístupu a pripojenia, pravidlá prevádzkovania prenosovej sústavy, Dokument B. Available online: https://www.sepsas.sk/engine/wp-content/uploads/2023/10/Rozhodnutie-URSO-c.-0010_2023_E-TP.pdf (accessed 29.12.2022).
- Act no. 309/2009 Coll. on the support of renewable energy sources and highly efficient combined pro-duction and on the amendment of some laws. Available online: https://www.zakonypreludi.sk/zz/2009-309 (accessed 06.02.2024).
- Decree no. 599/2009 Coll. of the Ministry of Economy of the Slovak Republic implementing some pro-visions of the Act on the Support of Renewable Energy Sources and Highly Efficient Combined Production. Available online: https://www.zakonypreludi.sk/zz/2009-599 (accessed 06.02.2024).
- Act no. 609/2007 Coll. on excise duty on electricity, coal and natural gas. Available online: https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2007/609/ (accessed 12.02.2024).
- Act no. 190/2023 Coll. on charges for air pollution. Available online: https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2023/190/https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2011/189/ (accessed 17.02.2024).





| Device | Input/Output | Parameter Description | Units | Type |
|---|---|---|---|---|
| AKU | Input | Accumulator heat losses (%/hour) | %/hod | Static. param. |
| AKU | Input | Amount of heat in the AKU | MWh | Vector |
| AKU | Input | Percentage of capacity utilisation | % | Static. param. |
| AKU | Input | Charging capacity MWt/hour | MWt/hour | Characteristics |
| AKU | Input | Discharge power MWt/hour | MWt/hour | Characteristics |
| AKU | Input | Heat exchanger efficiency | % | Static. param. |
| AKU | Input | Density of water in the accumulator | t/m3 | Vector |
| AKU | Input | Average accumulator water temperature | °C | Static. param. |
| AKU | Input | Current battery volume | t | Vector |
| AKU | Input | Current battery volume | m3 | Vector |
| AKU | Input | Available battery capacity | MWh | Vector |
| AKU | Input | Controlled available capacity of AKU | MWh | Vector |
| AKU | Input | Enthalpy input | GJ/t | Vector |
| AKU | Input | Enthalpy output | GJ/t | Vector |
| AKU | Input | Difference of enthalpies | GJ/t | Vector |
| AKU | Input | Return water temperature - HW IN | °C | Vector |
| AKU | Input | Max allowed temperature in AKU | °C | Static. param. |
| AKU | Input | Max. pump flow rate | t/h | Static. param. |
| AKU | Input | Min. pump flow rate | t/h | Static. param. |
| AKU | Input | Min. charging power | MW | Vector |
| AKU | Input | Max. charging power | MW | Vector |
| AKU | Input | Own consumption curve | MWt | Characteristics |
| Costing Items | Operating Modes | |||
|---|---|---|---|---|
| Real | Max.withoutPpS | Max. | Units | |
| Heat delivered to heating pipes according to the load: | 4 336 | MWh | ||
| Course of ISOT prices | 106,9 | €/MWh | ||
| Average sale diagram | 2,3 | 1,33 | 1,28 | MWh |
| Overall sale diagram | 553,02 | 319,81 | 306,92 | MWh |
| PpS scope provided | 4 167 | 0 | 7 386 | MWh |
| Revenue for PpS availability | 223 081 | 0 | 422 905 | € |
| Fuel consumption | 7 052 | 6 464 | 6 450 | MWh |
| Profit | 263 681 | 152 818 | 536 943 | € |
| Non-combined heat production | 0 | 0 | 0 | MWh |
| Qmar – Wasted heat | 0 | 1 | 1 | MWh |
| Absolute value of accumulation | 684 | 775 | 786 | MWh |
| Share of heat production K+TG/CGU/HK | 99/1/0 | 96/2/2 | 99/1/0 | % |
| Costing Items | Operating Modes | |||
|---|---|---|---|---|
| Real | Max. without PpS | Max. | Units | |
| Heat delivered to heating pipes according to the load: | 8 442 | MWh | ||
| Course of ISOT prices | 111,5 | €/MWh | ||
| Average sale diagram | 7,6 | 4,6 | 4,4 | MWh |
| Overall sale diagram | 1 624 | 972 | 929 | MWh |
| PpS scope provided | 3 678 | 0 | 6 716 | MWh |
| Revenue for availability | 162 169 | 0 | 317 023 | € |
| Fuel Consumption | 14 977 | 13 518 | 13 468 | MWh |
| Profit | 357 357 | 340 459 | 654 204 | € |
| Non-combined heat production | 87 | 89 | 128 | MWh |
| Qmar – Wasted heat | 340 | 0 | 0 | MWh |
| Absolute value of accumulation | 945 | 819 | 894 | MWh |
| Share of heat production K+TG/CGU/HK | 95/4/1 | 99/0/1 | 98/0/2 | % |
| Costing Items | Operating Modes | |||
|---|---|---|---|---|
| Real | Max.without PpS | Max. | Units | |
| Heat delivered to heating pipes according to the load: | 10 775 | MWh | ||
| Course of ISOT prices | 119,5 | €/MWh | ||
| Average electricity sale diagram | 20,4 | 8,1 | 5,0 | MWh |
| Overall electricity sale diagram | 4 904 | 1 956 | 1 194 | MWh |
| PpS scope provided | 3 256 | 0 | 7 525 | MWh |
| Revenue for availability | 60 665 | 0 | 344 898 | € |
| Fuel consumption | 21 573 | 17 873 | 16 898 | MWh |
| Profit | -230 060 | 333 322 | 692 142 | € |
| Qmar – wasted heat | 251 | 0 | 0 | MWh |
| Non-combined heat production | 0 | 237 | 980 | MWh |
| Absolute value of accumulation | 734 | 928 | 920 | MWh |
| Share of heat production K+TG/CGU/HK | 69/31/0 | 90/7/3 | 90/1/9 | % |
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. |
© 2024 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 (http://creativecommons.org/licenses/by/4.0/).