Next Article in Journal
Enhancing Energy Efficiency in Road Transport Systems: A Comparative Study of Australia, Hong Kong and the UK
Previous Article in Journal
Fuzzy Comprehensive State Evaluation Method of Filter Circuit Breaker Based on Field Operation Data
error_outline You can access the new MDPI.com website here. Explore and share your feedback with us.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization Models for Distributed Energy Systems Under CO2 Constraints: Sizing, Operating, and Regulating Power Provision

1
Tokyo Gas Co., Ltd., 20-5-1, Kaigan, Minato-ku, Tokyo 105-8527, Japan
2
Faculty of Engineering, Tokyo University of Agriculture and Technology, 2-24-16, Naka-cho, Koganei 184-8588, Tokyo, Japan
3
Institute of Engineering, Tokyo University of Agriculture and Technology, 2-24-16, Naka-cho, Koganei 184-8588, Tokyo, Japan
*
Author to whom correspondence should be addressed.
Energies 2026, 19(1), 265; https://doi.org/10.3390/en19010265
Submission received: 6 December 2025 / Revised: 29 December 2025 / Accepted: 30 December 2025 / Published: 4 January 2026
(This article belongs to the Special Issue Distributed Energy Systems: Progress, Challenges, and Prospects)

Abstract

The increasing penetration of variable renewable energy sources has intensified the need for ancillary services to maintain grid stability, and demand-side flexibility, particularly through distributed energy systems (DESs), is expected to play an important role. This study proposes a two-stage optimization framework for DESs under CO2 constraints that enables gas engines and battery energy storage systems (BESS) to provide regulating power equivalent to Load Frequency Control (LFC). The framework consists of an Equipment Sizing Optimization Model (ESM) and an Equipment Operation Optimization Model (EOM), both formulated as mixed-integer linear programming (MILP) models. The ESM determines equipment capacities using simplified operational representations, where partial-load efficiencies are approximated through linear programming (LP)-based constraints. The EOM incorporates detailed operational characteristics, including start-up/shutdown states and partial-load efficiencies, to perform daily scheduling. Information obtained from the ESM, such as the CO2 emissions, the equipment capacities, and the BESS state of charge, is passed to the EOM to maintain consistency. A case study shows that providing regulating power reduces total system cost and that CO2 reduction constraints alter the equipment mix. These findings demonstrate that the proposed framework offers a practical and computationally efficient approach for designing and operating DESs under CO2 constraints.

1. Introduction

1.1. Background

In recent years, many countries have announced CO2 emission reduction targets aimed at achieving carbon neutrality in response to global warming [1]. In the power sector, efforts are underway to transition toward energy systems that rely primarily on renewable energy sources. However, renewable generation such as wind power and photovoltaic (PV) systems is inherently variable, making grid stability a critical issue as their penetration increases.
Traditionally, power system stability has been maintained through regulating power sources such as thermal and hydroelectric plants. As the share of variable renewable energy grows, the demand for regulating power to compensate for output fluctuations and forecast errors is expected to rise [2]. In Europe, balancing power markets have been established to efficiently procure resources for frequency control and flexibility. In Japan, a flexibility market was established in April 2021.
Against this backdrop, demand-side flexibility has attracted increasing attention. Distributed energy resources (DERs) on the consumer side are expected to play a significant role in balancing electricity supply and demand [3]. In particular, distributed energy systems (DESs), which supply electricity and heat to multiple demand groups using gas engine cogeneration and other distributed resources, are gaining traction due to their efficient energy utilization. By optimizing the operation of these resources, DESs can effectively integrate variable renewable energy sources with high uncertainty and contribute to grid stability by providing balancing services [4,5].

1.2. Related Work

A considerable number of studies have investigated optimal operation strategies for DESs. These works highlight the importance of incorporating resources with diverse characteristics, such as gas engines, BESS, and heat pumps [6,7]. For example, A. Aoun et al. reported that a mixed-integer linear programming (MILP) formulation of a DER model including PV and generators can enhance both economic and environmental benefits [8]. Similarly, L. Kanaan et al. demonstrated cost reduction effects using an MILP model that integrates PV, diesel generators, and energy storage systems [9]. However, these studies focus solely on operational optimization and do not provide an integrated optimization framework that includes equipment sizing.
In addition to operational optimization, numerous studies have also examined optimal equipment sizing for DESs. These works commonly reduce computational burden through approaches such as representative-day selection and clustering methods [10,11,12]. However, representative-day optimization is not suitable when determining the required capacity of storage systems intended to facilitate the integration of renewable energy. To realistically capture storage operation, it is necessary to model continuous operation over time while accounting for daily variations in solar irradiance and energy demand.
Furthermore, in recent years, research has expanded beyond cost reduction and CO2 emission mitigation to also address the provision of balancing services to the power grid. BESS, as shown by K. Prakash et al., offer significant operational flexibility, enabling applications such as grid stabilization and power quality improvement [13]. For instance, J. Wang et al. demonstrated that the optimal operation of PVs and BESS in microgrids can increase revenues from participation in ancillary service markets [14]. Moreover, not only BESS but also cogeneration systems and water pumping facilities have been reported to contribute to balancing services through optimal operation strategies [15,16,17].

1.3. Research Objectives

This study aims to develop an optimization model for DESs designed to supply electricity, steam, hot water, and chilled water demands and provide flexibility services to the power grid. In this context, flexibility refers specifically to the provision of load frequency control (LFC) regulating power through gas engines and BESS. To represent regulating power provision in DESs, the framework consists of two components: (i) an equipment sizing optimization model (ESM), which determines the number of units and their approximate annual operation, and (ii) an equipment operation optimization model (EOM), which calculates detailed daily operation. Both models incorporate constraints to reflect the system’s capability to provide regulating power.
Although a multi-year optimization framework that accounts for the gradual introduction of equipment would be desirable, the associated computational burden is considerable. Therefore, the proposed model focuses on optimizing equipment deployment and operation within a one-year horizon.
Furthermore, to address future CO2 emission constraints, the model has been extended to include hydrogen-related equipment. This enables the evaluation of optimal operation strategies under various CO2 emission scenarios, thereby highlighting the role of hydrogen energy in enhancing system flexibility and sustainability.

2. Methods

2.1. System Energy Flow and Notation

The DES considered in this study assumes a region comprising a factory with a total floor area of 10,000 m2 and an office building with a total floor area of 7000 m2, both requiring electricity, steam, hot water, and chilled water. Figure 1 illustrates the energy and utility flows within the system.
Electricity demand is met by PV generation, gas engines, and electricity purchased from the power grid. Surplus electricity is stored in the BESS. Steam demand is fulfilled using waste heat from gas engines, gas boilers, and hydrogen boilers. Hot water demand is supplied by waste heat from gas engines, heat pumps, and heat exchangers. Chilled water demand is met by heat pumps and absorption chillers. Excess hot and chilled water can be stored in separate hot-water and chilled-water storage tanks, respectively.
Regulating power for LFC is provided to the power grid via the gas engines and BESS, enabling the DES to contribute to grid stability.
In addition to the system configuration shown in Figure 1, the variables, parameters, and indices used throughout this study are summarized in Table 1 and Table 2. This table provides a comprehensive list of the notation employed in the formulation of the DES optimization model, including equipment capacities, operational variables, cost parameters, and efficiency coefficients.

2.2. DES Optimization Model

This study develops a two-stage equipment optimization model for DESs capable of providing regulating power via gas engines and BESS. To reduce computational complexity, the analysis is divided into two parts as shown in Figure 2: (1) an equipment sizing optimization model (ESM), which determines the optimal size and the number of equipment units to be installed on an annual basis, and (2) an equipment operation optimization model (EOM), which calculates the detailed daily operation of each unit. First, the ESM determines the optimal number of equipment units and their approximate annual operation plan based on simplified equipment assumptions. The resulting data—such as the number of units and storage capacity—are then transferred to the EOM, which performs a detailed daily optimization simulation. Unlike the ESM, which optimizes over a single one-year horizon, the EOM performs 365 sequential daily optimizations, thereby simulating detailed operation throughout the year.
Both models are formulated as mixed-integer linear programming (MILP) problems; however, their treatment of equipment operation differs. In the ESM, which adopts a relatively long optimization horizon, equipment start-up and shutdown states are omitted to reduce computational burden. The operational constraints are partially formulated using linear programming (LP)-based approximations: partial-load efficiencies are represented by piecewise linear functions, and equipment operation is modeled with linear constraints and continuous variables. Integer variables are introduced only to determine the number of installed units. In contrast, the EOM, which considers a shorter optimization horizon, is formulated as a MILP model, introducing integer variables for all operational decisions and explicitly representing the start-up/shutdown states and partial-load efficiencies of each unit.
(1)
Equipment Sizing Optimization Model (ESM)
The ESM uses input data such as DES demand (electricity, steam, hot water, and chilled water), equipment installation costs, electricity tariffs, and gas prices. Its objective function minimizes the total cost over one year, comprising both installation and operational costs, while accounting for depreciation. The model outputs include the number of equipment units, hourly operational profiles (including energy storage levels), CO2 emissions, and the total operating cost.
(2)
Equipment Operation Optimization Model (EOM)
The EOM uses both the input and output data from ESM—specifically, the number of units, energy storage profiles, and the daily allowable CO2 emission level. Its objective is to minimize daily operating costs. Since stored energy is assumed to be fully discharged at the end of each optimization period, the storage capacity calculated in the ESM is used to represent continuity across days. In particular, the model incorporates constraints requiring that the storage level at the beginning of day N equals that at the end of day N 1 , and that the end-of-day storage level is no less than the corresponding value specified in the ESM.
For equipment such as gas engine and absorption chiller with non-continuous minimum output constraints, the model explicitly accounts for start-up and shut-down states to enable more accurate operational scheduling. Regarding CO2 emissions, the daily emission values obtained from the ESM are imposed as upper limits in the EOM, ensuring that emissions do not exceed the results determined in the sizing stage. However, because the EOM incorporates more detailed operational scheduling—such as gas engine startup fuel consumption—the resulting emissions may differ from those in the ESM. To address this discrepancy, a penalty term is introduced to ensure that the daily CO2 emissions in the EOM do not exceed the upper limits derived from the ESM.
Similar to the ESM, the EOM also incorporates constraints related to regulating power provision. Its outputs include hourly equipment status, energy storage levels, start-up/shut-down events, CO2 emissions, and the total operating cost.

2.3. Case Study

Two case studies were conducted to evaluate the validity of the models constructed in this study, assuming fiscal year 2040.
  • The first case study examined the impact of enabling or disabling regulating power provision on equipment configuration and profitability.
  • The second case study used a DES without a PV, a BESS and a hydrogen boiler as the baseline, with the baseline conditions set for fiscal year 2025, and examined changes in equipment configuration, operations, and profitability when CO2 emissions were reduced by a specified percentage.

3. Scenario Assumptions and Input Data

3.1. Demand Data

The demand data used in this study represent the electricity, steam, hot water, and chilled water demands of a DES composed of factories and office buildings. All datasets were prepared with an hourly resolution over a full year (8760 h), and were derived from actual measured demand data of factories and office buildings, scaled to match the total floor area assumed in this study. Figure 3 illustrates the demand profiles for a representative (a) summer day (23 August) and (b) winter day (23 January). In the figures, electricity demand is shown separately on the left axis, whereas steam, hot water, and chilled water are categorized under heat demand, consistent with the right axis labels. A comparison of these figures reveals that electricity and chilled water demands are higher in summer, while steam and hot water demands are more pronounced in winter.

3.2. PV Output Data

The PV power generation data used in this study were constructed based on the total installed capacity and actual generation records of PV systems in the Kyushu region, where solar penetration is relatively high. Specifically, the dataset was developed using the FY2016 PV generation records published by the transmission system operator in the Kyushu area [18], together with the actual installed PV capacity data for the same year in the Kyushu region [19]. The dataset covers a full year with hourly resolution, comprising 8760 data points.

3.3. Price Data

The electricity price and regulating power price used in this study were derived from a power supply-demand analysis model. This model represents a nationwide unit commitment problem formulated as a MILP problem, based on the methodology reported in the literature [12,20]. The optimization variables include thermal power output, pumped hydro output, generator start-up/shut-down states, and load frequency control (LFC) regulating power. The constraints considered in the formulation include supply-demand balance, LFC regulating power requirements, interconnection line capacity, and pumped hydro capacity.
Using this power supply-demand analysis model, optimization was performed under the high renewable energy penetration scenario in 2040. From the optimization results, the shadow prices of the supply-demand balance constraint and the LFC regulating power requirement constraint at each time step were interpreted as marginal costs, and were used to calculate the electricity price [JPY/kWh] and regulating power price [JPY/ Δ kW], respectively. The electricity price was defined as the shadow price of the supply-demand balance constraint plus an additional 10 JPY/kWh to account for fixed costs, transmission charges, and renewable energy surcharges. The regulating power price was directly taken from the shadow price of the LFC regulating power requirement constraint.
The selling price of electricity was set to 0 JPY/kWh, reflecting the assumption that most electricity sold to the grid originates from PV generation. Since surplus electricity during low-demand periods is expected to have low market value, this zero-price assumption was adopted to encourage the use of storage systems.
The gas price was estimated using current retail gas prices and projected increases in natural gas prices, scaled proportionally to the expected rise in 2040. Reference values for the 2040 natural gas price were obtained from materials published by the Institute of Energy Economics, Japan (IEEJ) [21]. The hydrogen cost was set at 81 JPY/Nm3, based on domestic renewable-energy-derived hydrogen reference data provided by IEEJ [22], assuming that hydrogen may also be produced on-site using surplus renewable electricity.
These datasets were independently constructed with an hourly resolution over a full year (8760 h).

3.4. Equipment Specification

3.4.1. Gas Engine

The gas engine is a type of combined heat and power (CHP) system. In this study, a gas engine with a rated output of 1250 kW was used to supply electricity and regulating power, while also recovering exhaust heat as steam and hot water. Since efficiency varies with load factor, Table 3 lists the generation output, gas consumption, steam recovery, and hot water recovery at each load level referenced from the data book [23]. The corresponding performance curves are shown in Figure 4, comparing part-load characteristics under the ESM and EOM formulations: (a) gas consumption, (b) steam recovery, and (c) hot water recovery. In each graph, the ESM curve is shown as an orange solid line, while the EOM curve is shown as a blue dash line. The slopes and intercepts used in this approximation are summarized in Table 1.
In the ESM, the part-load efficiency of the gas engine is represented using an LP formulation, where efficiency is defined as the slope between zero and rated output. The EOM was formulated as a MILP problem, in which the part-load efficiency of the gas engine is modeled using an approximation that combines continuous and integer variables. In the EOM, the minimum operating output is set to 30% of rated capacity, and the start-up cost to 20%.

3.4.2. Gas Boiler

The gas boiler uses city gas as its fuel and contributes to steam supply, hot water production via heat exchangers, and chilled water production via absorption chillers. The rated output of the gas boiler is set to 5000 MJ/h, with a thermal conversion efficiency of 95%. Partial load efficiency is not considered in this study.

3.4.3. Absorption Chiller

The absorption chiller supplies chilled water using steam or hot water as input. Its rated output is set to 5000 MJ/h. Based on the COP values under part-load operation, referenced from manufacturer speifications [24] and shown in Table 4, the steam and hot water consumption efficiencies are represented in Figure 5a,b, respectively. For steam input, the ESM defines efficiency as the slope of a straight line from zero to rated output, without accounting for start-up or shut-down behavior, whereas the EOM uses a proportional formulation in the same manner as the gas engine. For hot water input, both models adopt the same constant efficiency, as part-load effects are negligible. The slopes and intercepts used in this approximation are summarized in Table 1.

3.4.4. Heat Pump

The heat pump consumes electricity to produce hot and chilled water. In this study, it is assumed to supply only to meet hot and chilled water demand. The operating mode—hot water or chilled water output—is switchable on a monthly basis, and each unit operates in a single mode within a given month. The rated output is set to 1000 MJ/h for both hot and chilled water. The coefficient of performance (COP), defined as the amount of thermal energy output per 1 kWh of electricity consumed, is set to 4.3 for hot water production and 4.1 for chilled water production, referenced from manufacturer specifications [25]. Since the impact of partial load on efficiency is considered negligible, the efficiency is assumed to be constant. The minimum operating output is set to 30% of the rated capacity and the start-up cost is defined as the electricity consumption when operating at 20% of the rated output.

3.4.5. Heat Exchanger

The heat exchanger is used to convert excess steam, generated relative to steam demand, into hot water. The conversion efficiency is assumed to be 98%. In this study, the capacity of the heat exchanger is assumed to be sufficiently large, and its rated capacity is not explicitly defined.

3.4.6. Thermal Storage Tank

In this study, dedicated hot-water and chilled-water storage tanks are used, each supplying stored energy exclusively to meet the corresponding demand. The tank capacities were set to exceed the peak values observed in the demand dataset, with 60,000 MJ for hot water and 40,000 MJ for chilled water. Thermal losses are assumed to occur even without discharge, as well as during charging and discharging operations. The time-dependent loss is set at 15% per day, and the input/output loss is set at 2%.

3.4.7. PV Generation Unit

In this study, photovoltaic (PV) systems are modeled in units of 1000 kW rated output. The hourly PV generation is calculated as the product of the total installed PV capacity and the corresponding per-unit (p.u.) value for each hour. Here, the p.u. value represents the ratio of the actual generation to the installed capacity at each hour. These data from the Kyushu region are used in this study, as described in Section 3.2.

3.4.8. Battery Storage Systems

The BESS is responsible for storing surplus or deficient electricity and providing regulating power. In this study, rated output and capacity per unit are not predefined; instead, optimization is performed without fixed unit sizing. The BESS storage capacity is assumed to be at least twice the power output capacity. Charging and discharging losses are set at 5%, and time-dependent loss are assumed to be 1% per day.

3.4.9. Hydrogen Boiler

The hydrogen boiler is introduced in this study in anticipation of future CO2 emission regulations. The rated output is set to 5000 MJ/h, with a thermal efficiency of 95%. It uses hydrogen as fuel and, similar to the gas boiler, is assumed to supply steam to meet steam demand, as well as to the heat exchanger and absorption chiller. Partial load efficiency is not considered.

3.5. Equipment Installation Cost

The i c e q on Table 1 summarizes the equipment costs assumed for 2040. The costs of the gas engine, absorption chiller, heat pump, and gas boiler are determined with reference to the study by Sumitomo et al. [26]. The cost of PV system was based on the price outlook published by the government in 2018 [27]. The BESS was divided into a storage component and an power output component, and the cost of each was set based on the report by the National Renewable Energy Laboratory (NREL) [28].
For the thermal storage tank, its installation cost is not considered in this study. Thermal storage tanks are typically constructed as part of the building infrastructure, making it difficult to define their cost on a per-unit basis, and they are generally much less expensive than other DES components. Therefore, this study assumes that sufficient thermal storage is available without explicitly modeling its installation cost.
In addition, hydrogen boiler, equipment cost data were unavailable; therefore, it was independently determined in this study, set higher than the gas boiler while considering expected reductions by 2040.

3.6. CO2 Emission Factor

The CO2 emission factor per unit of purchased electricity, shown in Table 5, was estimated by linear interpolation between the CO2 intensity in 2020 [29] and the target intensity for 2030 set by the government [30]. Since the case study in this research considers the years 2040 and the baseline year of 2025 for CO2 emissions, these interpolated and fixed emission factors are applied accordingly. The CO2 emission per unit of city gas was set to 2.29 kg-CO2 / Nm3 [31].

4. Equipment Sizing Optimization Model (ESM)

The ESM aims to minimize the annual total cost of the DES, defined as installation and operating costs minus revenues from regulating power, while accounting for the annual expense ratio of equipment. The model is formulated as a MILP problem and solved using Gurobi Optimizer v8.1, a integer linear programming solver. The following sections formulate the objective function and constraints of the proposed model.

4.1. Capital Costs

Since equipment in the DES is intended for long-term use, it is necessary to account for present value. The Capital Recovery Factor (CRF) is defined in Equation (1) by considering both the useful life and the discount rate. The present-value-based installation cost per unit and the total installation cost are then calculated using Equations (2)–(4).
c r f e q = r 1 ( 1 + r ) n e q
I C e q = c r f e q · i c e q · N M e q
I C b t s = c r f b t s · i c b t s · C P b t s
I C b t p = c r f b t p · i c b t p · C P b t p
where the CRF converts the initial investment into an equivalent annualized cost based on the discount rate and equipment lifetime. The installation cost is computed using the present value of its unit cost, and the total installation cost is determined using the number of installed units as decision variables. For the BESS, the installation amount is defined not by the number of units but separately by its storage capacity and power capacity.

4.2. Objective Function of the ESM

The ESM minimizes the total annual cost, including equipment installation costs, electricity charges, and gas expenses, net of flexibility revenue, as defined in Equation (5). Equation (6) denotes the total installation cost across all equipment types. Equations (7) and (8) calculate the annual electricity and gas costs, respectively, obtained by summing hourly consumption multiplied by the corresponding price. Equation (9) represents the revenue from upward and downward regulating power provided by gas engines and the BESS.
O B J s = C e q u i p m e n t + C e l e c t r i c i t y + C g a s R l f c
C e q u i p m e n t = I C g e + I C b o + I C a c + I C h p + I C p v + I C b t s + I C b t p + I C h b
C e l e c t r i c i t y = t = 1 8760 ( E G B t · e l b t )
C g a s = t = 1 8760 ( G G E t + G B O t ) · g s b
R l f c = t = 1 8760 ( L U P t + B U P t ) · s p u t + ( L D W t + B D W t ) · s p d t

4.3. Supply–Demand Balance Constraints of the ESM

This section presents the supply–demand balance constraints. Equations (10)–(14) ensure that the energy supply from the DES matches the corresponding demand values provided as input data.
e l d m t = E G B t + E G E t + E P V t + E B O t E G S t E H P t E B I t
s t d m t = V G E t + V B O t + V H B t V A C t V H X t
h w d m t = W G E t + W H X t + W H P t + W T O t W A C t W T I t
c w d m t = C T O t + C H P t + C C V t + C C W t C T I t
W G E t + W H X t W A C t
where e l d m t , s t d m t , h w d m t , and c w d m t denote the electricity, steam, hot-water, and chilled-water demand at time t, respectively. The terms on the right-hand side represent the corresponding supply from each DES component, including gas engines, boilers, PV, heat pumps, heat exchangers, and BESS charging/discharging. The final inequality ensures that the hot-water used for absorption chilling is supplied only from high-temperature hot water derived from steam.

4.4. Equipment Constraints of the ESM

This section describes the constraints formulated in the ESM.

4.4.1. Gas Engine Constraints

Equation (15) ensures that the electric output of the gas engines does not exceed their installed capacity. Equations (16)–(18) describe the relationships between the hourly generation of steam and hot water, and the consumption of gas, corresponding to the electric output of the gas engines. The conversion efficiencies such as e f v g e , e f w g e , and e f g g e used here correspond to the slopes of the linear efficiency curves developed for the LP model, as presented in Figure 4. Steam and hot water generated by the gas engines are assumed to be discarded when in excess, allowing the system to flexibly respond to varying thermal demand without requiring additional storage or redistribution.
Equations (19)–(24) define the constraints for regulating power provision. Specifically, Equations (19)–(21) describe the conditions for upward regulation, while Equations (22) and (23) describe the conditions for downward regulation. Equations (19) and (22) determine the available regulating power, with the regulating range set to 30% of the rated output for both upward and downward directions. Equation (20) ensures that the sum of the gas engine output and upward regulating power does not exceed the rated output. Equations (21) and (23) impose constraints on regulating power provision at the minimum output level of 30% of rated output.
In this study, the ESM does not consider the on/off status of gas engines in order to reduce computational burden. As a result, regulating power provision below the minimum output is restricted and approximated as shown in Equations (21) and (23). Equation (24) represents the operational constraint in the case study where regulating power is not provided.
E G E t c p e g e · N M g e
V G E t e f v g e · E G E t
W G E t e f w g e · E G E t
G G E t = e f g g e · E G E t
L U P t c p e g e · l f c g e · N M g e
L U P t c p e g e · N M g e E G E t
L U P t l f c g e · c p e g e 0.3 · E G E t
L D W t c p e g e · l f c g e · N M g e
L D W t E G E t
L U P t + L D W t = 0

4.4.2. BESS Constraints

Constraints related to BESS are presented in Equations (25)–(36).
S B T t = e I s b t · S B T t 1 + o l s b t · E B I t 1 o I s b t · E B O t
S B T t C P b t s
S B T t 1 1 o I s b t · E B O t
S B T 0 = S B T 8760
C P b t s 2 · C P b t p
B U P t l f c b t · C P b t p
B D W t l f c b t · C P b t p
E B O t E B I t + B U P t C P b t p
E B I t E B O t + B D W t C P b t p
e I s b t · S B T t 1 + o I s b t · E B I t 1 o I s b t · E B O t + B D W t C P b t s
e I s b t · S B T t 1 + o I s b t · E B I t 1 o I s b t · E B O t B U P t 0
B U P t + B D W t = 0
where Equation (25) defines the state of charge (SOC) at time t, considering charging/discharging losses and time-dependent degradation. Equation (26) limits the SOC to the installed storage capacity, while Equation (27) ensures that discharging power does not exceed the available SOC from the previous time step. Equation (28) enforces cycle consistency by setting the final SOC equal to the initial value. Equation (29) requires that the installed storage capacity be at least twice the installed power capacity.
Equations (30)–(36) define the constraints for regulating power provision. Equations (30) and (31) constrain upward and downward regulating power to within 5% of the power capacity. Equations (32) and (33) ensure that charging and discharging power, including regulating provision, do not exceed the power capacity. Equations (34) and (35) define the upper and lower bounds of the SOC. Equation (36) represents the operational constraint in the case study where regulating power is not provided.

4.4.3. Gas Boiler Constraints

The constraints related to the operation of the gas boiler are defined below.
V B O t c p v b o · N M b o
V B O t = 45 · e f v b o · G B O t
where Equation (37) ensures that the hourly steam output does not exceed the installed capacity of the gas boiler. Equation (38) calculates the hourly steam output by multiplying the city gas consumption by the equipment efficiency and the standard heating value, which is set to 45 MJ/Nm3.

4.4.4. Absorption Chiller Constraints

The constraints related to the operation of the absorption chiller are defined below.
C C V t + C C W t c p c a c · N M a c
V A C t = e f v a c · C C V t
W A C t = e f w a c · C C W t
where Equation (39) ensures that the hourly chilled water output does not exceed the installed chilled water capacity of the absorption chiller. Equations (40) and (41) define the hourly consumption of steam and hot water, respectively, based on the chilled water output. As the ESM determines the number of installed units, start-up status and minimum output are not considered. Accordingly, the conversion efficiencies applied here such as e f v a c and e f w a c correspond to the slopes of the linear efficiency curves developed for the LP model, as shown in Figure 5.

4.4.5. Heat Pump Constraints

The constraints related to the output and operation of heat pumps are defined below.
N M h p N M h p w m + N M h p c m
W H P t c p w h p · N M h p w m
C H P t c p c h p · N M h p c m
W H P t c o p w + C H P t c o p c = 3.6 · E H P t
where Equation (42) ensures that hot water and chilled water use are mutually exclusive within each month m, and its does not exceed the number of installed units. Equations (43) and (44) ensure that the hourly output of hot water and chilled water, respectively, does not exceed the rated capacity. Equation (45) calculates the electricity consumption of the heat pump based on the coefficient of performance (COP) for hot water and chilled water output, as defined in Section 3.4.4. Here, 3.6 MJ/kWh is the unit conversion coefficient.

4.4.6. Heat Exchanger Constraints

The constraints related to the heat exchanger are defined below. Equation (46) calculates the hourly hot water output based on the steam input and the efficiency of the heat exchanger.
W H X t = e f w h x · V H X t

4.4.7. Thermal Storage Tank Constraints

The constraints related to the output and operation of thermal storage tanks are defined below.
W T I t c p s t w
C T I t c p s t c
S T W t c p s t w
S T C t c p s t c
W T O t h w d m t
C T O t c w d m t
S T W t 1 1 o l s t w · W T O t
S T C t 1 1 o l s t c · C T O t
S T W 0 = S T W 8760
S T C 0 = S T C 8760
S T W t = e l s t w · S T W t 1 + o l s t w · W T I t 1 o l s t w · W T O t
S T C t = e l s t c · S T C t 1 + o l s t c · C T I t 1 o l s t c · C T O t
where Equations (47)–(50) ensure that the hourly input and storage levels of hot and chilled water do not exceed the rated capacities of the thermal storage tanks. Since the supply from the tanks is assumed to be primarily used to meet thermal demand, Equations (51) and (52) constrain the output to be no greater than the hourly demand for hot and chilled water, respectively. Equations (53) and (54) ensure that the output from the tanks does not exceed the available stored energy. Equations (55) and (56) impose a cyclic condition, requiring the initial storage level to match the final level at the end of the year. Equations (57) and (58) represent the thermal storage levels at time t, incorporating standing losses and input/output losses.

4.4.8. PV Generation Constraints

Equation (59) calculates the hourly PV generation as the product of the installed PV capacity and the p.u. value for each hour. Equation (60) ensures that the electricity sold does not exceed the generated PV output.
E P V t = c p e p v · p u t · N M p v
E G S t E P V t

4.4.9. Hydrogen Boiler Constraints

Equation (61) ensures that the hourly steam output does not exceed the total installed capacity of the hydrogen boilers. As shown in Equation (62), the steam output calculated from the hydrogen consumption, the output efficiency, and the lower heating value of hydrogen that 10.8 MJ/Nm3 [32].
V H B t c p v h b · N M h b
V H B t = 10.8 · e f v h b · H H B t

4.5. CO2 Emissions Constraints of the ESM

The constraints related to CO2 emissions in this model are defined below.
C O E t = ( G G E t + G B O t ) · c o 2 g + E G B t · c o 2 e
S C O E = t = 1 8760 C O E t
S C O E p · b c o e
where Equation (63) calculates the hourly CO2 emissions by multiplying the city gas consumption of the gas engine and gas boiler, as well as purchased electricity, by their respective CO2 emission factors. Equation (64) computes the total annual CO2 emissions. Equation (65) imposes a constraint to ensure that the total emissions remain below the designated reduction target.

5. Equipment Operation Optimization Model (EOM)

The EOM aims to minimize the net cost of electricity and gas, after accounting for revenues from regulating power provision, by formulating the problem as a MILP model. The number of installed units for each type of equipment, as well as the installed BESS storage and power output capacity, are treated as fixed inputs based on the results obtained from the ESM. Furthermore, the daily CO2 emissions calculated in the ESM are imposed as upper-limit constraints in the EOM, ensuring consistency with the sizing stage while enabling detailed operational scheduling.

5.1. Objective Function of the EOM

The EOM minimizes the daily total cost through optimization problems, each covering a 24-h period at hourly resolution and repeated over the one-year horizon.
O B J o = C e l e c t r i c i t y + C g a s + C s t o r a g e R l f c + C c o 2
C e l e c t r i c i t y = h = 1 24 E G B h · e l b h
C g a s = h = 1 24 ( G G E h + G B O h ) · g s b
C s t o r a g e = P E N b t · p b t R E W b t · r b t + P E N t w · p t w + P E N t c · p t c
R l f c = h = 1 24 ( L U P h + B U P h ) · s p u h + ( L D W h + B D W h ) · s p d h
C c o 2 = p c o 2 · P E N c o 2
where Equation (66) represents the total cost, including electricity charges after subtracting revenues from regulating power provision, gas expenses, and the net reward or penalty associated with the remaining energy storage. Equations (67) and (68) calculate the daily electricity and gas purchase costs, respectively. Equation (70) represents the revenue from upwards and downwards regulating power provided by gas engines and the BESS.
Equation (69) evaluates the reward and penalty associated with the remaining energy storage at the end of each day. In this model, the final state of energy storage at the end of each day is inherited from the ESM. However, since the ESM simplifies certain operational aspects—such as gas engine dispatch—discrepancies may arise between the two models. To address this, a small reward is assigned to surplus storage and a penalty to shortages, to encourage convergence while avoiding significant influence on dispatch decisions. Note that no reward is assigned for thermal storage surplus, as shortages in thermal storage were found to be rare.

5.2. Supply–Demand Balance Constraints of the EOM

In the EOM, the supply–demand balance constraints are the same as those in the ESM (Section 4.3), except that the calculation horizon is shortened from one year to a single day. Accordingly, the detailed explanation is omitted here, and in the following sections descriptions are likewise omitted when only the calculation horizon is modified.

5.3. Equipment Constraints of the EOM

5.3.1. Gas Engine Constraints

In the EOM, startup/shutdown status are incorporated to reflect operation closer to actual practice, with Equations (72)–(75) defining the operating units and their transitions. In this formulation, startup states are treated as a clustered system rather than as individual units to reduce computational load. In Equation (72), the number of units determined in the ESM is set as the upper limit. Equations (73) and (74) restrict startups and shutdowns so that they do not exceed the operating units, while Equation (75) ensures that any increase or decrease in operating units is explained by startups and shutdowns. Equations (76) and (77) specify the initial operating units.
Equations (78)–(81) calculate hourly gas consumption and steam and hot water production. Differ from ESM, efficiency curves factor such as a g g e , b g g e , a v g e , b v g e , a w g e , and b w g e for partial loads are approximated by the slope and intercept of linear functions, as shown in Figure 4. To avoid frequent startups and shutdowns, additional gas consumption is considered, with the startup cost assumed to be 20% of the rated output. As in the ESM, excess thermal output is discarded when not required. The output constraints are formulated in Equations (82)–(85). These equations ensure that generation output, including upward and downward regulation, remains between 30% and 100% of the rated capacity, accounting for startup status.
U G E h n u m g e
U G E h U G E O N h
U G E h 1 U G E O F h
U G E h U G E h 1 = U G E O N h U G E O F h
U G E 0 = n u m g e ( in case day 1 )
U G E 0 = u g e 24 ( from day 2 onwards )
G G E h = a g g e · E G E h + b g g e · U G E h + s g g e · U G E O N h
s g g e = 0.2 · ( a g g e · c p e g e + b g g e )
V G E h a v g e · E G E h + b v g e · U G E h
W G E h a w g e · E G E h + b w g e · U G E h
L U P h l f c g e · c p e g e · U G E h
L D W h l f c g e · c p e g e · U G E h
L U P h c p e g e · U G E h E G E h
L D W h 0.3 · c p e g e · U G E h + E G E h

5.3.2. BESS Constraints

Constraints related to the BESS are presented in Equations (86)–(93).
S B T d , 24 + P E N b t d , 24 R E W b t d , 24 = s b t d , 24
S B T 1 , 0 = s b t 1 , 0 ( in case d = 1 )
S B T d , 0 = s b t d 1 , 24 ( from day 2 onwards )
B U P h l f c b t · c p b t p
B D W h l f c b t · c p b t p
E B O h E B I h + B U P h c p b t p
E B I h E B O h + B D W h c p b t p
e l s b t · S B T h 1 + o l s b t · E B I h 1 o l s b t · E B O h + B D W h c p b t s
where Equation (86) ensures consistency between the SOC in the EOM and that in the ESM, accounting for any surplus or deficit due to model differences. The initial SOC is defined in Equations (87) and (88), referencing the ESM result for day 1 and the final SOC of the previous day thereafter.
Equations (89)–(92) set upper and lower bounds on charging and discharging outputs, including regulation power provision. The BESS is assumed to provide regulation power up to 5% of its total storage capacity, reflecting the rated capacity and output limits determined by the ESM. Equation (93) updates the SOC, incorporating charging/discharging losses and time-based degradation.

5.3.3. Absorption Chiller Constraints

Equations (94)–(97) define the number of operating units, restricting startups and shutdowns and ensuring consistency in unit changes. Equations (98) and (99) set the operating range between 25% and 100% of the rated capacity, accounting for startup status. For hot water usage, the same constraints apply and are omitted here. Equations (100) and (101) calculate hourly steam and hot water consumption, with partial-load efficiency curves factor such as a v a c and b v a c given in Figure 5. To avoid frequent startups and shutdowns, additional steam and hot water consumption is considered, with the startup cost assumed to be 20% of the rated output.
U C V h + U C W h n u m a c
U C V h U C V O N h
U C V h 1 U C V O F h
U C V h U C V h 1 = U C V O N h U C V O F h
C C V h c p c a c · U C V h
C C V h 0.25 · c p c a c · U C V h
V A C h = a v a c · C C V h + b v a c · U C V h + s v a c · U C V O N h
W A C h = e f w a c · C C W h + s w a c · U C W O N h
s w a c = 0.2 · ( a w a c · c p c a c + b w a c )
s v a c = 0.2 · ( a v a c · c p c a c + b v a c )

5.3.4. Thermal Storage Tank Constraints

Equation (104) ensures consistency between the stored hot water in the EOM and that in the ESM, accounting for any surplus or deficit due to model differences. The initial storage level is defined in Equations (105) and (106), referencing the ESM result for day 1 and the final storage level of the previous day thereafter. For chilled water output, the same constraints apply and are therefore omitted here.
S T W d , 24 + P E N t w d , 24 s t w d , 24
S T W 1 , 0 = s t w 1 , 0 ( in case day 1 )
S T W d , 0 = s t w d 1 , 24 ( from day 2 onwards )

5.4. CO2 Emissions Constraints of the EOM

Equations (107) calculates the hourly CO2 emissions by multiplying the gas consumption of the gas engines and gas boilers, as well as purchased electricity, by their respective CO2 emission factors. Equation (108) computes the total daily CO2 emissions. Equation (109) sets an upper bound on daily CO2 emissions, using the value obtained from the ESM. Since the EOM incorporates more detailed scheduling —such as gas engine startup fuel consumption—emissions may differ from those in the ESM. Therefore, a penalty term is introduced to ensure that the daily CO2 emissions in the EOM do not exceed the value obtained from the ESM.
C O E h = ( G G E h + G B O h ) · c o 2 g + E G B h · c o 2 e
S C O E d = h = 1 24 C O E h
S C O E d P E N c o 2 s c o e d

6. Analysis Results

As described in Section 2.2, this study conducted two case studies. Section 6.1 presents the baseline case. Section 6.2 presents the impact of regulating power provision on the equipment configuration, operation, and profitability of the DES. Section 6.2.1 discusses the effects of CO2 emission constraints on the DES.

6.1. Baseline Case

First, an optimization calculation was conducted under the assumption that a PV, BESS, and hydrogen boiler were not installed, and that regulating power provision was not implemented. As shown in Table 6, the resulting equipment configuration includes only the minimum necessary systems to meet electricity, steam, hot water, and chilled water demands. Under this condition, the annual CO2 emissions from the DES were 35,657 t-CO2, which set as the reference value for subsequent comparisons.

6.2. Impact of Regulating Power Provision

This section examines the differences in equipment configuration, operation, and profitability of the DES depending on whether regulating power is provided by the gas engines and BESS. The CO2 emission constraint was set to achieve a 40% reduction relative to the baseline CO2 emissions determined in Section 6.1.

6.2.1. Comparison of Installed Equipment Capacity

The optimized equipment capacities obtained from the model are presented in Table 7. In the case without regulating power provision, compared to the baseline case, the introduction of gas engines decreased due to the CO2 emission constraint, while the installation of PV systems, heat pumps, and BESS was promoted. Hydrogen boilers were not installed.
In contrast, when regulating power provision is enabled, both gas engines and BESS show increased installed capacities relative to the non-regulating case, and PV capacity also increased accordingly. This is presumably because the revenue enhancement from regulating power provision outweighs the additional equipment costs. Furthermore, the increase in PV capacity is driven by the expectation of additional revenue from regulating power services, which incentivizes further investment in gas engines and BESS within the DES.

6.2.2. Comparison of Operational Result

This section compares the operational outcomes with and without the provision of regulating power. As an illustrative example, Figure 6a,b present the optimal operation results on 31 August for the cases without and with regulating power provision, respectively. Each stacked bar graph shows the PV generation, gas engines generation, BESS charging/discharging, and electricity purchase. Reverse power flow to the grid is represented as a negative value. When regulating power provision is considered, a notable difference is observed: the gas engine operates even during periods of electricity surplus in order to provide regulating power.
Table 8 summarizes the total annual cost for both cases, including equipment cost, annual electricity purchase cost, annual gas purchase cost, and revenue from regulating power provision. Although the equipment cost increases, the reduction in electricity purchase cost combined with the revenue from regulating power results in a lower total annual cost when regulating power is provided, corresponding to a 6.8% reduction relative to the case without regulating power. Moreover, the CO2 reduction cost shows that the additional cost required to achieve CO2 emission reductions is reduced when regulating power provision is enabled.

6.3. The Effect of CO2 Emission Constraints

6.3.1. The Result of Equipment Sizing

Table 9 presents the differences in equipment configuration under CO2 emission reduction targets of 40%, 60%, and 80% based on the emission level of baseline case. The results are shown for two scenarios: without and with the provision of regulating power, referred to as “without LFC” and “with LFC,” respectively. As the reduction target becomes more stringent, the installed capacity of gas engines decreases. To meet electricity demand, the capacities of PV generation, heat pumps, and BESS increase accordingly.
In the scenario with an 80% reduction from the baseline emission level, gas engine installation is eliminated, and the introduction of hydrogen boilers to meet steam demand is observed as a result of the optimization model. Under the CO2 emission factors and the cost assumptions for hydrogen equipment and hydrogen fuel adopted in this study, the model tends to favor the installation of hydrogen boilers in such highly stringent reduction scenarios.

6.3.2. Comparison of Total Cost Under CO2 Emission Reduction Constraints

Figure 7 illustrates the total system cost and its breakdown under CO2 emission reduction targets of 40%, 60%, and 80%. The total cost comprises equipment cost (gray bars), electricity purchase cost (yellow bars), gas cost (blue bars), and hydrogen cost (red bars), along with revenue from the provision of regulating power (purple bars). The overall cost is represented by the black polyline. Regarding the impact of CO2 constraints, the equipment cost increases as the reduction target becomes more stringent. This trend reflects a shift in optimal equipment configuration under CO2 emission restrictions, as evidenced by the observed reduction in gas-based systems and the corresponding expansion of PV generation and the BESS, as discussed in the previous section. Comparing the scenarios with and without regulating power provision, the total cost is consistently lower in the “with LFC” case across all emission reduction levels. This cost reduction is particularly pronounced in the 80% reduction scenario. Although equipment cost is higher in the “with LFC” case—likely due to increased BESS installation—the revenue from regulating power provision offsets the additional investment, resulting in a net cost benefit as observed from the optimization results.

6.3.3. Comparison of CO2 Emissions Between the ESM and EOM

In this study, the ESM is partially formulated as a simplified LP model, whereas the EOM is formulated as a detailed MILP model. Because the EOM accounts for operational features such as startup fuel consumption, its CO2 emissions may differ from those of the ESM even though it inherits the daily emission limits calculated by the ESM. To reconcile this difference, a penalty term is introduced to ensure that the daily CO2 emissions in the EOM do not exceed the corresponding values obtained from the ESM. To examine the validity of the proposed two-stage modeling approach, Table 10 presents the differences in CO2 emissions between the ESM and EOM for each case. In terms of annual CO2 emissions, the EOM yields lower emissions than the ESM in most cases. However, in the 60% CO2 reduction case without regulating power provision, the EOM slightly exceeds the ESM emissions. In addition, several cases exhibit a few days in which the EOM exceeds the daily CO2 emissions of the ESM, with the maximum overshoot observed at 11.1%.
These results confirm that the proposed model can account for CO2 constraints while capturing detailed equipment-level operational characteristics, thereby producing realistic CO2 emission estimates. If strict compliance with CO2 emission targets is required, a more conservative emission target may be set in the EOM to account for potential overshoot.

7. Conclusions

In this study, we developed and validated a simulation model capable of evaluating optimal equipment sizing and operation for a distributed energy system (DES) under CO2 emission constraints, while considering the provision of regulating power to the electricity grid. The main findings are summarized as follows:
  • The proposed framework consists of two models: the Equipment Sizing Optimization Model (ESM), which determines the equipment configuration and approximate operation, and the Equipment Operation Optimization Model (EOM), which calculates detailed operation based on the ESM results. Both models are formulated as mixed-integer linear programming (MILP) models. This two-stage approach reduces computational burden. Although this study focused on the year 2040, the model is applicable to long-term scenario analysis.
  • The model formulation allows gas engines and battery energy storage systems (BESS) to provide regulating power equivalent to Load Frequency Control (LFC).
  • In the ESM, the partial-load efficiency characteristics of equipment such as gas engines and absorption chillers are represented using linear approximations formulated as a linear programming (LP) model without integer variables by omitting startup and shutdown states. This simplification reduces computational complexity and enables efficient equipment sizing. In contrast, the EOM incorporates these operational details through a full MILP formulation, allowing more accurate representation of equipment behavior in detailed scheduling.
  • CO2 emissions, equipment capacities, and the remaining state of charge of the BESS determined in the ESM are passed to the EOM as daily upper bounds and initial conditions. Because the CO2 emissions calculated in the ESM and EOM do not necessarily coincide—owing to the simplified partial-load efficiency representation in the LP formulation—a penalty term is introduced in the EOM to ensure that its daily emissions do not exceed the ESM-derived limits. Similarly, for the state of charge of the BESS and the heat storage tank, penalties for deficit and rewards for surplus are incorporated to prevent inconsistencies between the two models and to maintain feasible energy balances in detailed operation.
  • The BESS is modeled with separate cost parameters for power output and storage capacity, allowing the model to determine optimal sizing for both components.
  • A case study was conducted to validate the proposed model. The results confirmed that equipment configurations vary depending on the presence of regulating power provision and the level of CO2 emission reduction, and in the 40% CO2 reduction case, the cost reduction achieved through regulating power provision was 6.8%. In addition, the analysis of total system cost under different CO2 reduction targets showed that providing regulating power consistently lowers the overall cost across all scenarios.
  • Under the 80% CO2 reduction constraint, the optimization results indicate that hydrogen-related equipment becomes cost-effective and is incorporated into the optimal system configuration. This demonstrates that hydrogen plays an important role in maintaining system flexibility when emission limits become highly stringent. These findings highlight the potential of hydrogen technologies as a key option for future low-carbon energy systems.
  • Although this study evaluated cost minimization of a DES providing LFC-type regulating power, the long-term degradation of equipment has not been considered, and impacts on the power system other than regulating power provision—such as voltage fluctuations caused by output variations—were not included in the present analysis. Furthermore, hydrogen was assumed to be supplied externally; however, future extensions of the model could incorporate on-site hydrogen production, for example by introducing a water electrolyzer into the DES to convert surplus PV electricity into hydrogen. Addressing these aspects in future work will further enhance the applicability and robustness of the proposed framework.

Author Contributions

A.M. conceived and designed the research methodology, performed the analysis, and drafted the manuscript. M.M. developed the model and performed the calculations. T.I. supervised the study and provided guidance throughout the research process. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

A.M. is employed by Tokyo Gas Co., Ltd. and was also a doctoral student supervised by T.I. at TUAT. The content of this paper is independent of any past collaboration between Tokyo Gas Co., Ltd. and Tokyo University of Agriculture and Technology.

References

  1. United Nations Framework Convention on Climate Change (UNFCCC). The Paris Agreement. 2015. Available online: https://unfccc.int/process-and-meetings/the-paris-agreement (accessed on 23 November 2025).
  2. Gorenstein, D.J.; Ansarin, M.; Bene, C.; van Delzen, T.; van Nuffel, L.; Jagtenberg, H. Increasing Flexibility in the EU Energy System: Technologies and Policies to Enable the Integration of Renewable Electricity Sources; Policy Department for Transformation, Innovation and Health, European Parliament: Luxembourg, 2025. [Google Scholar]
  3. International Renewable Energy Agency (IRENA). Innovation Landscape Brief: Market Integration of Distributed Energy Resources; IRENA: Abu Dhabi, United Arab Emirates, 2019. [Google Scholar]
  4. Eid, C.; Codani, P.; Perez, Y.; Reneses, J.; Hakvoort, R. Managing electric flexibility from distributed energy resources: A review of incentives for market design. Renew. Sustain. Energy Rev. 2016, 64, 237–247. [Google Scholar] [CrossRef]
  5. Hadi, M.B.; Moeini-Aghtaie, M.; Khoshjahan, M.; Dehghanian, P. A comprehensive review on power system flexibility: Concept, services, and products. IEEE Access 2022, 10, 99257–99267. [Google Scholar] [CrossRef]
  6. Gu, W.; Wu, Z.; Yuan, X. Microgrid economic optimal operation of the combined heat and power system with renewable energy. In Proceedings of the IEEE PES General Meeting, Minneapolis, MN, USA, 25–29 July 2010; pp. 1–6. [Google Scholar]
  7. Buoro, D.; Pinamonti, P.; Reini, M. Optimization of a distributed cogeneration system with solar district heating. Appl. Energy 2014, 124, 298–308. [Google Scholar] [CrossRef]
  8. Aoun, A.; Adda, M.; Ilinca, A.; Ghandour, M.; Ibrahim, H. Optimizing virtual power plant management: A novel MILP algorithm to minimize levelized cost of energy, technical losses, and greenhouse gas emissions. Energies 2024, 17, 4075. [Google Scholar] [CrossRef]
  9. Kanaan, L.; Ismail, L.S.; Gowid, S.; Meskin, N.; Massoud, A.M. Optimal energy dispatch engine for PV-DG-ESS hybrid power plants considering battery degradation and carbon emissions. IEEE Access 2023, 11, 58506–58515. [Google Scholar] [CrossRef]
  10. Palmintier, B.S.; Webster, M.D. Heterogeneous unit clustering for efficient operational flexibility modeling. IEEE Trans. Power Syst. 2014, 29, 1089–1098. [Google Scholar] [CrossRef]
  11. Meus, J.; Poncelet, K.; Delarue, E. Applicability of a clustered unit commitment model in power system modeling. IEEE Trans. Power Syst. 2018, 33, 2195–2204. [Google Scholar] [CrossRef]
  12. Negishi, S.; Kimura, K.; Suzuki, I.; Ikegami, T. Cross-regional power supply-demand analysis model based on clustered unit commitment. Electr. Eng. Jpn. 2022, 215, e23368. [Google Scholar] [CrossRef]
  13. Prakash, K.; Ali, M.; Siddique, M.N.I.; Chand, A.A.; Kumar, N.M.; Dong, D.; Pota, H.R. A review of battery energy storage systems for ancillary services in distribution grids: Current status, challenges and future directions. Front. Energy Res. 2022, 10, 971704. [Google Scholar] [CrossRef]
  14. Wang, J.; Zhong, H.; Tang, W.; Rajagopal, R.; Xia, Q.; Kang, C.; Wang, Y. Optimal bidding strategy for microgrids in joint energy and ancillary service markets considering flexible ramping products. Appl. Energy 2017, 205, 294–303. [Google Scholar] [CrossRef]
  15. Mancarella, P.; Chicco, G. Integrated energy and ancillary services provision in multi-energy systems. In Proceedings of the IREP Symposium on Bulk Power System Dynamics and Control, Rethymno, Greece, 25–30 August 2013; pp. 1–19. [Google Scholar]
  16. Nakamura, Y.; Hara, R.; Kita, H.; Takeda, K. Optimal operation of co-generation system coordinated by aggregator for providing the demand and supply regulation capacity. IEEJ Trans. Power Energy 2018, 139, 56–65. (In Japanese) [Google Scholar] [CrossRef]
  17. Negishi, S.; Ikegami, T. Robust scheduling for pumping in a water distribution system under the uncertainty of activating regulation reserves. Energies 2021, 14, 302. [Google Scholar] [CrossRef]
  18. Kyushu Electric Power Transmission and Distribution Co., Inc. Area Supply and Demand Data. Available online: https://www.kyuden.co.jp/td_area_jukyu/jukyu.html (accessed on 24 December 2025).
  19. Agency for Natural Resources and Energy. Previously Published Information. Available online: https://www.enecho.meti.go.jp/category/saving_and_new/saiene/statistics/past.html (accessed on 24 December 2025).
  20. Nakayama, S.; Azuma, H.; Fukutome, S.; Ogimoto, K. Analysis of value of flexibility in Japan’s power system with increased VRE. Clean Energy 2018, 2, 37–44. [Google Scholar] [CrossRef]
  21. The Institute of Energy Economics, Japan (IEEJ). IEEJ Outlook 2020; IEEJ: Tokyo, Japan, 2019; Available online: https://eneken.ieej.or.jp/data/8650.pdf (accessed on 23 December 2025).
  22. Kan, S.; Shibata, Y. Evaluation of the Economics of Renewable Hydrogen Supply in the APEC Region; The Institute of Energy Economics, Japan: Tokyo, Japan, 2017; Available online: https://eneken.ieej.or.jp/data/7944.pdf (accessed on 23 December 2025).
  23. Clean Energy Editorial Department. Natural Gas Cogeneration System Equipment Data 2015; Japan Industrial Publishing: Tokyo, Japan, 2015. [Google Scholar]
  24. Kawasaki Thermal Engineering Co., Ltd. Catalog of Adsorption Chillers. Available online: https://www.khi.co.jp/corp/kte/product/catalogue/chiller_all/ (accessed on 23 November 2025).
  25. Daikin Industries, Ltd. Heat Pump Catalog. Available online: https://ec.daikinaircon.com/iportal/cv.do?id=CL22124AXX_1_3&pp=R (accessed on 23 November 2025).
  26. Sumitomo, S.; Akisawa, A.; Ikegami, T.; Nakayama, M. Installation effects of solid oxide fuel cell cogeneration for commercial buildings. J. Jpn. Inst. Energy 2018, 98, 149–156. (In Japanese) [Google Scholar] [CrossRef]
  27. Ministry of Economy, Trade and Industry (METI) in Japan. Current Status of Renewable Energy Domestically and Abroad and Proposed Discussion Points for This Year’s Feed-In Tariff Calculation Committee. 2018. Available online: https://www.meti.go.jp/shingikai/santeii/pdf/038_01_00.pdf (accessed on 23 November 2025).
  28. Cole, W.; Frazier, A.W.; Augustine, C. Cost Projections for Utility-Scale Battery Storage; National Renewable Energy Laboratory: Golden, CO, USA, 2021. Available online: https://www.nrel.gov/docs/fy21osti/79236.pdf (accessed on 23 November 2025).
  29. Tokyo Electric Power Company Holdings, Inc. CO2 Emissions, Emissions Intensity, and Electricity Sales Volume. Available online: https://www.tepco.co.jp/corporateinfo/illustrated/environment/emissions-co2-j.html (accessed on 23 November 2025).
  30. Ministry of the Environment. Evaluation Results on Progress in Global Warming Countermeasures in the Electric Power Industry Sector. 2020. Available online: https://www.env.go.jp/press/files/jp/114277.pdf (accessed on 23 November 2025).
  31. Tokyo Gas Co., Ltd. Tokyo Gas CSR Report 2017. Available online: https://www.tokyo-gas.co.jp/sustainability/download/archive/pdf/2017/csrr2017_all.pdf (accessed on 23 November 2025).
  32. Mitsubishi Heavy Industries, Ltd. Hydrogen Power Generation Handbook 2021. Available online: https://solutions.mhi.com/sites/default/files/assets/pdf/et-jp/hydrogen_power-handbook_jp.pdf (accessed on 23 November 2025).
Figure 1. Energy and utility flows in the DES in this study.
Figure 1. Energy and utility flows in the DES in this study.
Energies 19 00265 g001
Figure 2. Structure of the proposed two-stage optimization framework.
Figure 2. Structure of the proposed two-stage optimization framework.
Energies 19 00265 g002
Figure 3. Hourly demand profiles for a representative day.
Figure 3. Hourly demand profiles for a representative day.
Energies 19 00265 g003
Figure 4. Efficiency curve of gas engine.
Figure 4. Efficiency curve of gas engine.
Energies 19 00265 g004
Figure 5. Efficiency curve of absorption chiller.
Figure 5. Efficiency curve of absorption chiller.
Energies 19 00265 g005
Figure 6. Operational result on 31 August.
Figure 6. Operational result on 31 August.
Energies 19 00265 g006
Figure 7. Breakdown of total cost under CO 2 emission reduction targets with and without LFC.
Figure 7. Breakdown of total cost under CO 2 emission reduction targets with and without LFC.
Energies 19 00265 g007
Table 1. List of variables and indices.
Table 1. List of variables and indices.
Decision Variables
I C e q Total installation cost of equipment [JPY] W G E HW output from GEs [MJ]
N M e q Number of equipment unit W H X HW output from HEX [MJ]
C P b t s Installed storage capacity of the BESS [kWh] W H P HW output from HPs [MJ]
C P b t p Installed power capacity of the BESS [kW] W T O HW output from TST [MJ]
O B J s Annual total cost of ESM [JPY] W T I HW supplied to TST [MJ]
C e l e c t r i c i t y Total electricity purchase cost [JPY] W A C HW supplied to ACs [MJ]
C g a s Total gas purchase cost [JPY] C H P CW output from HPs [MJ]
C e q u i p m e n t Total equipment installation cost [JPY] C T O CW output from TST [MJ]
R l f c Total flexibility revenue [JPY] C T I CW supplied to TST [MJ]
E G B Purchased electricity [kWh] C C V CW output from ACs (steam-driven) [MJ]
G G E Gas cons. of GEs [ Nm 3 ] C C W CW output from ACs (HW-driven) [MJ]
G B O Gas cons. of GBs [ Nm 3 ] S T W Stored HW [MJ]
L U P Upward regulating power of GEs [ Δ kW] S T C Stored CW [MJ]
B U P Upward regulating power of the BESS [ Δ kW] H H B Hydrogen cons. of HBs [ Nm 3 ]
L D W Downward regulating power of GEs [ Δ kW] C O E CO 2 emissions [kg- CO 2 ]
B D W Downward regulating power of the BESS [ Δ kW] S C O E Total annual CO 2 emissions [kg- CO 2 ]
E G E Electricity generated by GEs [kWh] O B J o Daily total cost of EOM [JPY]
E P V Electricity generated by PV systems [kWh] C s t o r a g e Net reward/penalty of remaining storage [JPY]
E B O BESS discharge energy [kWh] P E N Shortage amount of storage [kWh], [MJ]
E B I BESS charge energy [kWh] R E W Surplus amount of storage [kWh], [MJ]
E G S Electricity sold [kWh] U G E Number of operating GEs [unit]
E H P Electricity cons. of HPs [kWh] U G E O N Number of GEs started [unit]
V G E Steam output from GEs [MJ] U G E O F Number of GEs stopped [unit]
V B O Steam output from GBs [MJ] U C V Number of operating ACs [unit]
V H B Steam output from HBs [MJ] U C V O N Number of ACs started [unit]
V A C Steam supplied to ACs [MJ] U C V O F Number of ACs stopped [unit]
V H X Steam supplied to HEX [MJ]
Index
mMonth index in a year (1 m 12) [month] h p w Index of HP for HW usage
dDay index in a year ( 1 d 365 ) [day] h p c Index of HP for CW usage
tHourly time step in a year (1 t 8760) [hour] p v Index of PV system
hHourly time step ( 1 h 24 ) [hour] b t s Index of the BESS storage capacity
e q Index of equipment b t p Index of the BESS power capacity
g e Index of GE h b Index of HB
b o Index of GB h x Index of HEX
a c Index of AC t w Index of TST for HW usage
h p Index of HP t c Index of TST for CW usage
Note: GE, gas engine; BESS, battery energy storage system; GB, gas boiler; HP, heat pump; HB, hydrogen boiler; AC, absorption chiller; HEX, heat exchanger; TST, thermal storage tank; HW, hot water; CW, chilled water.
Table 2. List of parameters.
Table 2. List of parameters.
Parameters
c r f Capital recovery factor o l s b t BESS round trip efficiency [-]0.95
rDiscount rate0.04 e l s b t BESS time loss factor [-/day]0.01
nUseful life [year]15 o l s t w , t c Thermal storage round trip efficiency [-]0.98
i c g e Install. cost of GE [JPY/kW]290,000 e l s t w , t c Thermal storage time loss factor [-/day]0.15
i c b o Install. cost of GB [JPY/MJ]8100 l f c g e Regulating range coefficient (GE) [-]0.30
i c a c Install. cost of AC [JPY/MJ]23,300 l f c b t Regulating range coefficient (BESS) [-]0.05
i c h p Install. cost of HP [JPY/MJ]51,800 p u Per-unit output of PV system [kW/kW]
i c p v Install. cost of PV system [JPY/kW]116,666 c o 2 g CO 2 factor of gas [kg- CO 2 / Nm 3 ]2.29
i c b t s Install. cost of BESS storage unit [JPY/kWh]17,640 c o 2 e CO 2 factor of electricity [kg- CO 2 / kWh]0.29
i c b t p Install. cost of BESS power unit [JPY/kW]26,888 b c o e Annual CO2 emissions (reference) [t- CO 2 ]35,657
i c h b Install. cost of HB [JPY/MJ]13,450p CO 2 reduction rate [-]0.2, 0.4, 0.6
e l b Electricity price [JPY/kWh] p b t Penalty cost (BESS) [JPY/kWh] 10 6
g s b Gas price [JPY/ Nm 3 ] r b t Reward (BESS) [JPY/kWh] 10 6
s p u Upward flexibility price [JPY/ Δ kW] p t w Penalty cost (TST, HW) [JPY/MJ] 10 6
s p d Downward flexibility price [JPY/ Δ kW] p t c Penalty cost (TST, CW) [JPY/MJ] 10 6
e l d m Electricity demand [kWh] n u m Number of equipment unit in the ESM [unit]
s t d m Steam demand [MJ] u g e 24 Operating GEs at final hour of day d-1 [unit]
h w d m HW demand [MJ] a g g e Gas cons. coefficient [( Nm 3 /h)/kW]0.17
c w d m CW demand [MJ] b g g e No-load gas cons. coefficient [ Nm 3 /h]24.9
c p e g e Rated electricity output per GE [kW]1250 s g g e Additional gas cons. for startup [ Nm 3 /h]
c p e p v Rated electricity output per PV unit [kW]1000 a v g e Steam gen. coefficient [(MJ/h)/kW]0.91
c p v b o Rated steam output per GB [MJ/h]5000 b v g e No-load steam gen. coefficient [MJ/h]614
c p v h b Rated steam output per HB [MJ/h]5000 a w g e HW gen. coefficient [(MJ/h)/kW]1.74
c p w h p Rated HW output per HP [MJ/h]1000 b w g e No-load HW gen. coefficient [MJ/h]328
c p c h p Rated CW output per HP [MJ/h]1000 a v a c Steam gen. coefficient [(MJ/h)/(MJ/h)]0.65
c p c a c Rated CW output per AC [MJ/h]5000 b v a c No-load steam gen. coefficient [MJ/h]53.3
c p s t w Rated TST capacity (HW) [MJ]60,000 s v a c Additional heat cons. for startup [MJ/unit]
c p s t c Rated TST capacity (CW) [MJ]40,000 s w a c Additional heat cons. for startup [MJ/unit]
e f v g e Steam efficiency of GE [(MJ/h)/kW]1.39 s b t d , h SOC at hour h on day d in the ESM [kWh]
e f w g e HW efficiency of GE [(MJ/h)/kW]2.01 s b t d , h SOC at hour h on day d [kWh]
e f g g e Gas cons. efficiency of GE [( Nm 3 / h)/kW]0.19 c p b t p BESS power capacity in the ESM [kWh]
e f v b o Steam efficiency of GB [MJ/kWh]0.95 c p b t s BESS storage capacity in the ESM [kWh]
e f v a c Steam efficiency of AC [(MJ/h)/(MJ/h)]0.66 s t w d , h Stored HW at hour h on day d in the ESM [MJ]
e f w a c HW efficiency of AC [(MJ/h)/(MJ/h)]1.14 s t w d , h Stored HW at hour h on day d [MJ]
c o p w COP of HP (HW) [-]4.3 s c o e d Daily CO2 emission limit in the ESM [kg-CO2]
c o p c COP of HP (CW) [-]4.1 p c o 2 Penalty cost (CO2 surplus) 10 9
e f w h x HW efficiency of HEX [-]0.98
Note: GE, gas engine; BESS, battery energy storage system; GB, gas boiler; HP, heat pump; HB, hydrogen boiler; AC, absorption chiller; HEX, heat exchanger; TST, thermal storage tank; HW, hot water; CW, chilled water.
Table 3. Gas engine load factor.
Table 3. Gas engine load factor.
Load Factor50%75%100%
Power generation efficiency [%]38.941.743.1
Steam recovery efficiency [%]20.118.716.6
Hot water recovery efficiency [%]24.723.924.1
Table 4. Adsorption chiller load factor.
Table 4. Adsorption chiller load factor.
Load Factor25%50%75%100%
COP of steam consumption [-]1.411.521.531.51
COP of hot water consumption [-] 0.88
Table 5. CO2 emission factor for electricity.
Table 5. CO2 emission factor for electricity.
Year2020202520302040
CO2 Emission Factor [kg- CO 2 / kWh]0.4410.40550.3700.299
Table 6. Installed equipment capacity in the baseline case.
Table 6. Installed equipment capacity in the baseline case.
Equipment TypeUnitInstalled Capacity
Gas enginekW10,000
Gas boilerMJ/h15,000
Absorption chillerMJ/h15,000
Table 7. Comparison of installed equipment capacity.
Table 7. Comparison of installed equipment capacity.
Equipment TypeUnitBaseline CaseWithout LFCWith LFC
Gas enginekW10,00050006250
Gas boilerMJ/h15,00020,00020,000
Absorption chillerMJ/h15,00015,00010,000
Heat pumpMJ/h-00
PVkW-38,00038,000
BESS (Storage)kWh-41,55457,758
BESS (Power)kW-911728,879
Table 8. Annual cost comparison under different regulating power provision scenarios.
Table 8. Annual cost comparison under different regulating power provision scenarios.
ItemUnitWithout LFCWith LFC
Equipment costmillion JPY690793
Electricity purchase costmillion JPY252139
Gas purchase costmillion JPY651713
Hydrogen purchase costmillion JPY00
Revenue from regulating power provisionmillion JPY0−161
Total annual costmillion JPY15931485
CO2 reduction costJPY/t-CO218,30610,735
Table 9. Comparison of equipment configuration under CO2 emission reduction constraints.
Table 9. Comparison of equipment configuration under CO2 emission reduction constraints.
ItemUnitWithout LFC With LFC
40%60%80% 40%60%80%
Gas enginekW500025000 625037500
Gas boilerMJ/h20,00025,00020,000 20,00020,00020,000
Absorption chillerMJ/h15,00010,0005000 15,00010,0005000
Heat pumpMJ/h0600013,000 0600013,000
PV generationkW38,00064,00096,000 38,00063,000100,000
BESS (storage)kWh41,554108,128178,640 57,758123,834252,304
BESS (power)kW911721,23232,263 28,87961,917126,152
Hydrogen boilerMJ/h005000 005000
Table 10. Comparison of CO2 emissions between the ESM and EOM.
Table 10. Comparison of CO2 emissions between the ESM and EOM.
ItemUnitBaselineWithout LFC With LFC
40%60%80% 40%60%80%
Annual CO2 Emission in ESMt-CO2/yr21,39414,2637131 21,39414,2637131
Annual CO2 Emission in EOMt-CO2/yr35,65721,38714,2727131 21,36714,2557131
CO2 Reduction Rate%40.02%59.97%80.00% 40.08%60.02%80.00%
Max. Daily CO2 Cap%5.1%11.1% 2.4%
Overshoot Rate (Date) (13 August)(28 July) (28 July)
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.

Share and Cite

MDPI and ACS Style

Miyazaki, A.; Muraoka, M.; Ikegami, T. Optimization Models for Distributed Energy Systems Under CO2 Constraints: Sizing, Operating, and Regulating Power Provision. Energies 2026, 19, 265. https://doi.org/10.3390/en19010265

AMA Style

Miyazaki A, Muraoka M, Ikegami T. Optimization Models for Distributed Energy Systems Under CO2 Constraints: Sizing, Operating, and Regulating Power Provision. Energies. 2026; 19(1):265. https://doi.org/10.3390/en19010265

Chicago/Turabian Style

Miyazaki, Azusa, Miku Muraoka, and Takashi Ikegami. 2026. "Optimization Models for Distributed Energy Systems Under CO2 Constraints: Sizing, Operating, and Regulating Power Provision" Energies 19, no. 1: 265. https://doi.org/10.3390/en19010265

APA Style

Miyazaki, A., Muraoka, M., & Ikegami, T. (2026). Optimization Models for Distributed Energy Systems Under CO2 Constraints: Sizing, Operating, and Regulating Power Provision. Energies, 19(1), 265. https://doi.org/10.3390/en19010265

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop