Abstract
This study presents a carbon-aware energy management framework for optimal Battery Energy Storage System (BESS) planning in a campus-level microgrid (MG) operating under a dynamic carbon trading mechanism. The framework aims to support cost-effective and environmentally sustainable MG operation by integrating economic and environmental considerations into BESS planning. The optimization problem determines the optimal BESS capacity by minimizing the total system cost while considering carbon trading and peak load constraints. Three operational modes are designed to investigate different energy management strategies for BESS utilization and grid interaction, using real-world electricity prices, wind generation, and load demand profiles. Six widely used metaheuristic algorithms are employed, and their performance is comparatively evaluated using a multi-criteria ranking approach. The results indicate that Mode 3 achieves the best economic performance, with the lowest objective function value (−$749.70) and an optimal BESS capacity of 7.92 kWh, representing a 36.85% increase in net revenue compared with Mode 1. Mode 2 achieves the most negative carbon balance among the three operating modes. Among the evaluated algorithms, Simulated Annealing (SA) achieves the shortest computation time, while Tabu Search (TS) obtains the highest score under the adopted equal-weighted multi-criteria evaluation framework.
1. Introduction
1.1. Motivation of the Study
Campus microgrids (MGs) integrate renewable energy sources, conventional generation, and energy storage systems to meet electricity demand while improving operational flexibility. However, the variability of renewable generation, changing electricity tariffs, and carbon-related operating costs make energy management increasingly challenging. Battery Energy Storage Systems (BESS) can support more flexible operation, but their economic and environmental benefits depend strongly on their capacity and the charging and discharging strategies employed.
This study investigates optimal BESS sizing and energy management in a campus-level MG under dynamic carbon pricing and trading conditions. Three operating modes are considered to evaluate different BESS charging and surplus energy management strategies. In addition, six established metaheuristic algorithms are compared to examine their performance in identifying suitable BESS capacities. The study aims to provide insights into how operating strategies and optimization methods influence the economic and environmental performance of campus microgrids.
1.2. Literature Review
Since MGs have become more important as local energy systems that can use RESs and improve energy resilience, optimization studies with various approaches have gained considerable importance in the past decade. Many of these studies have focused especially on the optimization of BESS sizing and operation, since they play a key role in MGs, helping manage the variable output of RESs, reducing peak demand, and supporting both economic and environmental goals. In addition, as MGs grow more complex with dynamic pricing models and carbon policies, optimization techniques and their systematic evaluation have gained importance.
A literature review conducted in this direction shows that one of the most common methods for BESS optimization is MILP. It is preferred because it can manage both discrete and continuous decisions in a clear and reliable way. In [1], Mirbarati et al. use an MILP model with LSTM forecasting to manage an MG in technical, economic, and environmental terms. Their approach reduces total costs by 30.9% when wind energy accounts for 30% of generation. Iscan et al. [2] study campus MG management under ToU. They use MILP to find the best BESS size. The study includes five different cases with changing strategies. The results show cost savings of up to 51.5% and peak load reductions of up to 15.6%. Zamora-Muñoz et al. [3] apply MILP to design the best BESS size for an isolated MG. Their model found a battery of 17.6 kW and 76.61 kWh, cutting the BESS count by 83.33%. This reduced costs while keeping system performance stable. Donkoh et al. use MILP in [4] to test how battery storage affects microgrid operation. They found that while batteries lower grid dependence, they raise total costs because of high investment needs. For larger systems, selling extra energy may be cheaper than adding storage unless the goal is greater independence or reliability. Although MILP gives very accurate results, it may not capture all the uncertainties of real systems. Still, its results are a strong reference and often guide the design of newer methods used in more complex or uncertain situations.
Metaheuristic algorithms and their hybridizations are also widely studied in the literature due to their flexibility in handling non-linear, non-convex problems. These methods are often preferred when system models become too complex or computationally intensive for exact methods like MILP. In line with this, several studies in the literature have adopted metaheuristic techniques to optimize complex MG configurations that include various renewable and storage components. Wankhade et al. [5] design and size an MG with photovoltaic (PV) plants, fuel cells (FC), and BESS. For this purpose, they use Equilibrium Optimizer (EQ), Bat Optimization (BAT), and Black-Hole-Based (BHB) optimization. They compare the performance and effectiveness of these algorithms in optimizing and sizing energy systems to minimize costs. Guven et al. [6] aim to reduce carbon emissions at a university campus using a Hybrid Renewable Energy System (HRES). They propose GWO combined with Cuckoo Search (GWOCS) for optimal sizing of HRES components. These algorithms are compared under off-grid and on-grid operation modes and various scenarios. Kashyap et al. in [7] focus on finding the best BESS size to support WT in the energy market. They use GA to perform the optimization. The study shows that the best BESS size depends on realistic and practical conditions. This approach improves both flexibility and cost-effectiveness. In [8], Zhu et al. develop a stochastic multi-objective sizing optimization model for planning MGs. Their goal is to increase economic benefits while reducing carbon emissions. To achieve this, they create a Self-Adaptive Multi-Objective Genetic Algorithm (SAMOGA). They also compare the performance of their method with other algorithms to show its effectiveness.
As climate policies move toward carbon neutrality, carbon pricing and emission limits are now important parts of MG operation planning. These include carbon taxes, trading systems, and balance rules that make the environmental cost of fossil fuels more visible. When such measures are built into optimization models, MGs can lower costs while meeting environmental goals. Recent studies also consider carbon factors when deciding how to size BESS and schedule energy use. By putting a price on each kilogram of CO2 released, these models discourage actions that cause more emissions, such as using DGs or buying power from the UG during high-emission periods. They also encourage cleaner options like WT and BESS use. Zhang et al. in [9] present a robust optimization MG model considering carbon trading and demand response (DR) to enhance low-carbon levels and economic performance. They utilize carbon trading mechanisms and DR mechanisms to manage renewable energy output uncertainty and use the Column Constraint Generation (CCG) algorithm to solve the model. In [10], Xu et al. aim to enhance carbon emission reduction and economic efficiency in grid-connected MGs. In this study, they develop mathematical models for each unit in the MG. They apply DR models to reduce stress on storage and generation and incorporate carbon trading into operating costs. To solve the optimization model, they utilize the Non-dominated Sorting Genetic Algorithm II (NSGA-II). Wang et al. in [11] aim to control carbon emissions and improve the absorption capacity of wind and solar energy under a multi-objective optimal operation model for MG participation in the electricity carbon market. In this study, the researchers apply a stepped carbon trading system together with a demand response strategy. They use the Epsilon Constraint method to reduce both total system cost and carbon emissions. Fu et al. in [12] focus on challenges such as RES energy use, carbon output, load changes, and conflicts among different agents in MGs. They propose an optimization strategy that combines demand response with a reward and penalty system for carbon trading. In their study, they use a Stackelberg Game (SG) framework and a Differential Evolution (DE) algorithm for transaction modeling between MG operators and users. The proposed strategy in their study improves economic benefits and reduces carbon emissions. In [13], Li et al. develop a multi-objective optimization model for MGs that includes degradation cost and carbon trading mechanisms. They utilize a Multi-Objective Artificial Hummingbird Algorithm (MOAHA) to optimize the system. In their study, they incorporate both BESS and supercapacitors to smooth out fluctuations in PV and WT. In addition to MOAHA, they use the Pareto solution set and TOPSIS to determine the optimal operation strategy. The proposed strategy in their study reduces operating costs and carbon emissions and extends BESS life. Finally, in addition to BESS sizing and carbon-aware energy management, recent studies also consider the durability of MG operation under non-ideal communication conditions. Gao et al. [14] presented a digital-twin-assisted cloud–edge hierarchical control framework for multi-energy microgrid clusters, which integrated adaptive communication topology reconfiguration, prediction-enhanced distributed consensus, and stepped carbon trading. Their study looked at communication delays, packet loss, and noise, showing gains in operational resilience while reducing operating costs and carbon emissions. Overall, the reviewed studies demonstrate the growing importance of optimization, carbon-aware energy management, and resilient control in MGs, while highlighting their different methodological approaches and operational objectives.
1.3. Research Gap
MG optimization, BESS sizing, and energy management with carbon awareness have been extensively researched with different optimization techniques and operation scenarios in numerous studies. However, relatively little attention has been paid to assessing the same MG under different operating modes characterized by different BESS charging, discharging, and surplus energy management strategies. Operating-mode-based comparisons examine how different energy management rules impact MG performance for the same system setup and input data, in contrast to scenario-based analyses that investigate changes in system parameters or external operating conditions. This distinction is particularly important for identifying the influence of operating strategies on optimal BESS sizing, economic performance, and carbon balance.
Furthermore, university campuses are substantial electricity consumers, and their potential participation in carbon markets may become increasingly relevant as carbon pricing mechanisms evolve. Accordingly, evaluating campus MGs under demanding carbon trading conditions is important for future energy planning. In particular, hourly carbon-market participation introduces additional operational and economic challenges by exposing MGs to time-varying carbon prices and requiring carbon balances to be evaluated at a finer temporal resolution. It is also important to use real campus energy data to evaluate how these mechanisms perform under real demand and renewable generation patterns rather than just synthetic profiles. Although previous studies have examined carbon trading mechanisms and metaheuristic optimization techniques, their joint evaluation in different MG operating modes using real campus data and hourly carbon trading has not been sufficiently investigated. This paper studies optimal BESS sizing and carbon-aware energy management for a campus-level MG under a simulated hourly carbon-market participation scenario to bridge these research gaps. The main contributions are summarized as follows:
- Comparative evaluation of MG operating modes: Three distinct operating modes are developed and evaluated under the same campus MG configuration and input conditions. These modes represent WT-surplus-based BESS charging (Mode 1), grid-assisted BESS charging with direct surplus energy sales (Mode 2), and grid-assisted BESS charging with SoE-aware surplus selling (Mode 3). The comparison isolates the impact of different energy management strategies on the optimal BESS sizing and system performance.
- Real-data evaluation of a campus MG: The analysis is performed using real campus electricity demand and WT generation profiles taken from a previously published study on a campus MG, instead of using synthetic data for load and renewable generation. This gives a realistic basis for studying BESS utilization, operational costs, and carbon balance under different operating modes.
- BESS sizing in relation to hourly carbon-market participation: The proposed framework addresses a challenging carbon trading scenario with dynamic hourly carbon prices and hourly carbon balance calculations. The optimization framework includes a separate monthly carbon commitment and a conditional DG fuel-reserve penalty mechanism. This allows for the evaluation of the economic and environmental impacts of various BESS operational strategies under temporally detailed carbon trading conditions, offering insights into potential future campus engagement in carbon markets.
- Comparative performance evaluation of metaheuristic algorithms: Six popular metaheuristic algorithms, namely FA, GA, GWO, PSO, SA, and TS, are applied to find the optimal BESS capacity in each operating mode. The performance is systematically compared in terms of objective function quality, BESS sizing consistency, carbon balance, and computational efficiency. Such an evaluation shows their relative strengths and limitations under the investigated operating conditions.
- Rather than proposing a completely new system, this study improves the operation of an existing MG through BESS integration and enhanced energy management strategies, enabling cost-effective decarbonization and operational flexibility.
1.4. Paper Organization
The rest of this paper is organized as follows. Section 2 introduces the Energy Management System (EnMS), including the MG structure, the proposed EnMS design, and the problem formulation. Section 3 presents the simulation of case studies and numerical results. Section 4 discusses the results of the study. Finally, Section 5 concludes the paper with key findings and potential directions for future work.
2. Energy Management Scheme
This section presents the general structure, operating modes, and formulation of the optimization problem of the MG considered in this study.
2.1. MG Structure
The MG used in this study is adopted from [2]. As can be seen in Figure 1, in this configuration, the UG, WT, DG, and optimally sized BESS are connected through an AC bus, monitored by a smart meter, and controlled by the Energy Control Center (ECC). The ECC coordinates bidirectional power transactions between the MG and UG via the smart meter. During periods of high WT generation, surplus power from the WT is first used to satisfy the load demand and then to charge the BESS according to the specified mode. The remaining surplus is injected into the UG through the smart meter. When WT generation is insufficient, the ECC coordinates the UG and DG to meet the load demand. The BESS operates as a buffer for peak load, thereby enhancing the system’s reliability and economic performance.
Figure 1.
Campus microgrid architecture [2].
2.2. MG Operation Modes
This subsection explains the three different operation modes of the MG shown in Figure 1 in detail by describing each step of the process.
2.2.1. Mode 1 (Wind-Surplus-Prioritized BESS Charging)
In this mode, the BESS is charged only by the surplus power of the WT. The remaining surplus power is directly sold back to the UG without considering the State of Energy (SoE) of the BESS. When the available WT surplus exceeds the BESS charging rate limit of 5 kW or the remaining storage capacity up to the maximum SoE of 80%, the excess energy is directly sold to the UG. The pseudocode of Mode 1 is given in Figure 2. As can be seen in Figure 2, the algorithm processes each hourly time step by first calculating the net load as the difference between demand and WT production. If WT production exceeds the demand, the surplus power first charges the BESS, and then the remaining surplus power is sold to the grid. In the case of insufficient WT power, the algorithm prioritizes discharging the BESS if its SoE is more than 20% of its capacity. If further power is needed, the algorithm makes a choice between the UG and DG, considering cost efficiency, DG fuel limits, constraints, and the peak load limit.
Figure 2.
Energy management flowchart for Mode 1: wind-surplus-prioritized BESS charging.
2.2.2. Mode 2 (Grid-Assisted Charging—Wind Surplus Must-Sell)
In contrast to Mode 1, in this mode, the BESS is charged only by the UG, and the surplus power of the WT is sold back to the UG without considering the SoE of the BESS. In this mode, BESS charging from the UG follows predefined operating rules rather than an independently optimized charging schedule. Grid-assisted charging is permitted when the BESS is not discharging and its SoE is below 80%. The charging power is limited to 5 kW and by the available grid capacity under the 152 kW peak import constraint. The pseudocode of Mode 2 is given in Figure 3. As can be seen in Figure 3, if WT production power exceeds the load demand, the surplus is sold back to the UG without considering the SoE of the BESS. The remaining load demand is first met by the BESS up to the SoE level. Then, for the remaining load demand, the algorithm again makes a choice between the UG and DG, as in Mode 1. If there is still unmet power demand, additional power is requested from the UG or DG again, considering the constraints. Furthermore, if the BESS is not discharged at first because of an insufficient SoE level, the UG charges the BESS considering the peak load constraint. The differences between Mode 1 and Mode 2 are colored yellow in Figure 3.
Figure 3.
Energy management flowchart for Mode 2: grid-assisted BESS charging with direct wind surplus sales.
2.2.3. Mode 3 (State-of-Energy-Aware Selling)
In this mode, unlike Mode 2, WT surplus power is sold back to the UG considering the SoE of the BESS. The pseudocode of Mode 3 is given in Figure 4. As can be seen in Figure 4, the only difference from Mode 2 is the surplus energy selling strategy. While surplus power is sold back to the UG without considering the SoE level of the BESS in Mode 2, the algorithm in this mode considers the potential energy of the BESS that is used for load supply before selling surplus energy. This difference is colored blue in Figure 4.
Figure 4.
Energy management flowchart for Mode 3: grid-assisted BESS charging with state-of-energy-aware surplus selling. The blue background highlights mode-specific calculations, with yellow text emphasizing key computational steps and black text indicating variable updates.
2.3. Problem Formulation
In the proposed optimization framework, the rated BESS energy capacity is the only decision variable searched by the metaheuristic algorithms. For each candidate BESS capacity, the hourly power allocation is determined through the predefined operational rules of the corresponding mode. Accordingly, the hourly dispatch variables are not independently optimized by the metaheuristic algorithms but are calculated within the energy management simulation while considering the applicable operational constraints. Therefore, the proposed framework represents a one-dimensional BESS sizing optimization problem coupled with rule-based hourly energy management. The six metaheuristic algorithms are employed to comparatively evaluate their solution quality, convergence characteristics, and computational performance under identical operating scenarios.
2.3.1. Objective Function and Economic Cost Formulation
The objective function (OF) given in Equation (1) aims to minimize the total system cost by optimizing the BESS capacity. In Equation (1), the UG and DG cost terms represent the electricity purchasing cost from the UG and the generation cost of the DG, respectively, at time t. The UG purchasing cost includes electricity supplied directly to the load as well as electricity used for BESS charging, treating BESS charging as an additional electrical load. The BESS cost term includes the allocated capital and operating costs together with the additional cost associated with BESS round-trip efficiency losses, as formulated in Equation (5). The energy selling term represents revenue from electricity sales, while the carbon balance term accounts for carbon trading costs and revenues under the market-based mechanism. The conditional DG fuel-reserve penalty, when applicable, is added separately to the objective function as a one-time cost over the monthly evaluation period. The hourly carbon prices are illustrated in Figure 5, and the complete 744-h dataset is provided in Supplementary Table S1.
The cost components of the objective function are defined in Equations (2)–(9). The BESS-related cost components in Equations (5)–(8) are represented using a simplified annualized cost allocation approach. The formulation combines the allocated capital and operating costs with an explicit efficiency-related cost adjustment within the monthly optimization horizon. For this purpose, Equation (5) is first formulated considering Capital Expenditures (capex) and Operating Expenditures (opex) on an hourly basis. Moreover, round-trip efficiency (ηRTE), Capital Recovery Factor (CRF), discount rate (r), and lifetime (LT) of the BESS are considered. For practical calculation, opex is taken as 10% of capex. In the proposed formulation, the BESS investment cost is annualized using the Capital Recovery Factor (CRF) and uniformly allocated over 8760 h. Accordingly, only the corresponding portion of the annualized investment cost is included in the 744-h simulation period, independently of the number of charging and discharging cycles. The efficiency-loss term in Equation (5) represents the additional energy cost associated with the BESS round-trip losses and is distinct from the fixed investment and operation and maintenance costs. This formulation provides a simplified representation of BESS ownership and operating costs within the monthly planning horizon rather than a comprehensive life-cycle LCOS assessment.
Figure 5.
Hourly carbon trading price profile used in the simulations, based on [15].
2.3.2. Carbon Trading and Emission Accounting
For carbon trading and emission accounting, Equation (10) is formulated. The relevant equations are then formulated in Equations (11)–(15). The calculation of net carbon emissions is presented in Equation (11), where the carbon released by the UG and DG, as well as the carbon offset by the WT, is individually modeled in Equations (12)–(14). In Equation (15), an additional penalty cost is imposed when the DG’s fuel reserve is not met. As can be seen in Equation (15), the penalty applied to DG-related carbon emissions is modeled as twice the unit cost of the highest carbon price when the total carbon emission exceeds the limit (−71,000 kg) mentioned in [2,16]. In addition, in Equation (14), the WT power allocated to BESS charging is excluded from the blocked-emission calculation to prevent double counting. Accordingly, the blocked-emission contribution of WT generation includes the power directly supplied to the load and the surplus power sold to the UG. The WT energy stored in the BESS is instead accounted for when the stored energy is subsequently discharged. In Modes 2 and 3, the BESS is charged exclusively from the UG. Therefore, the WT charging term is zero.
The carbon management framework takes into account two different emission targets. The monthly net carbon balance target, −71,000 kg, is a reflection of the campus’s environmental commitment. An hourly reference of −100 kg is introduced to encourage better carbon performance over the operating period. The hourly reference is incorporated into the bilateral carbon trading mechanism in Equation (10), where negative carbon costs represent carbon credit revenues and positive values represent carbon penalties. The adopted bilateral settlement structure is consistent with previous carbon trading formulations that account for both credit revenues and costs relative to an emissions reference [17,18,19,20]. In particular, signed carbon cost formulations based on the difference between actual emissions and allocated allowances have been employed in previous energy system studies [18,20]. Nevertheless, the hourly carbon reference and settlement rules adopted in the present study represent a hypothetical economic scenario rather than the regulatory requirements of a specific carbon market. The hourly reference is therefore an economic target rather than a hard emission constraint.
The monthly carbon commitment is additionally considered in the conditional DG fuel-reserve penalty mechanism. A minimum final DG fuel reserve of 198 L is specified for operational safety in Equation (15). However, this reserve requirement is treated as a conditional soft constraint. An additional penalty is imposed only when the final DG fuel reserve falls below 198 L and the monthly net carbon balance exceeds −71,000 kg, indicating that the campus carbon commitment has not been fulfilled. If either condition is not met, no additional fuel-reserve penalty is applied. The mechanism allows for operational flexibility while tying fuel-reserve violations to the campus’s monthly environmental pledge.
The variables t and T in these equations refer to the hourly time step and the one-month period, respectively. All the parameters and fixed values used are given in Table 1. In addition, the campus load demand ( and WT generation data () used in this study are obtained from reference [2].
Table 1.
Model parameters, fixed values, and corresponding references used in Equations (1)–(15).
In the proposed carbon accounting framework, constant operational emission factors are used throughout the 744-h simulation period. The emission factors for grid electricity and DG generation are assumed to be 0.492 and 0.602 kg CO2/kWh, respectively. The latter is consistent with the assumed diesel consumption rate of approximately 0.2281 L/kWh and a diesel emission factor of 2.64 kg CO2/L. Avoided grid emissions associated with WT generation and BESS discharge are evaluated using a reference factor of 0.492 kg CO2/kWh. These factors are not varied hourly, and marginal grid emission intensities are not explicitly modeled. In contrast, the carbon trading price varies hourly, as illustrated in Figure 5.
2.3.3. BESS Modeling and Operating Constraints
The BESS used in this study is modeled in Equations (16)–(22) by considering the BESS energy capacity (kWh) as the decision variable [30,31,32,33,34,35,36]. In Equation (16), the power provided by the BESS is formulated using the discharge power () and discharge efficiency (DEBESS) of the BESS. In Equations (17) and (18), a binary variable (UBESS,t) is imposed to prevent simultaneous charging and discharging of the BESS. In addition, in these equations, the charging rate (CRBESS) and discharging rate (DRBESS) are used as fixed values. The SoE of the BESS and its limits are formulated in Equations (19)–(22). In this study, the BESS is used only for load supply and peak load shaving, not for arbitrage. In Modes 2 and 3, grid-assisted charging may also provide economic benefits through ToU price differences, although independent market arbitrage is not explicitly optimized.
The type of BESS used is Solid-State Li-Ion, and all the parameters are taken from [2]. These parameters are given in Table 2.
Table 2.
BESS operating parameters, efficiency values, and energy limits used in the optimization model.
2.3.4. MG Component and Power Balance Constraints
In this section, the MG component and power balance constraints are given. While Equation (23) describes the DG operating boundaries, Equations (24)–(26) describe the State of Fuel (SoF) equation and its limits. Equations (27)–(29) describe the power balance of the WT, while Equation (30) imposes a peak-power limit. Finally, Equation (31) maintains the power balance of the MG. The parameters and fixed values mentioned in Equations (23)–(31) are given in Table 3. In addition, the initial BESS SoE is set to 80% of its rated capacity, while the initial DG fuel reserve is 1000 L. The hourly state updates are performed over 744 one-hour intervals, starting from t = 0. No terminal equality constraint is imposed on the BESS SoE; however, its final value must remain within the specified 20–80% operating limits.
Table 3.
Diesel generator operating limits, fuel reserve parameters, and utility grid power constraints used in Equations (23)–(31).
3. Simulations and Results
This section explains the simulation procedure and results under the three operation modes described earlier. Six well-known metaheuristic optimization algorithms are used for the analysis. These algorithms are the Firefly Algorithm (FA), GA, Grey Wolf Optimization (GWO), PSO, Simulated Annealing (SA), and Tabu Search (TS). These algorithms are chosen because they are commonly applied in MG optimization studies and offer different strengths in search ability and convergence. The simulations were run in MATLAB R2024b on a computer with an Intel Core Ultra 7 165H processor running at 3.80 GHz and 16 GB of RAM. The algorithm-specific parameters are selected with reference to commonly adopted settings reported in previous studies [6,8] and are summarized in Table 4. Each algorithm was executed 10 independent times, and the average performance values are reported.
Table 4.
Algorithm-specific parameter settings and stopping criteria used in the metaheuristic optimization.
3.1. Mode 1 (Wind-Surplus-Prioritized BESS Charging)
The OF values of Mode 1 are presented in Table 5 together with the solution times, optimal BESS capacities, SoF, and CO2 emissions. As seen in this table, all algorithms yield comparable OF results. It is important to emphasize that the negative OF values indicate that net revenue is achieved, meaning the total income from energy sales and carbon credits exceeds the operational expenditure. This interpretation applies consistently to all operating modes throughout the study.
Table 5.
Optimization results of six metaheuristic algorithms under Mode 1, including objective function values, optimal BESS capacities, final diesel fuel reserves, net carbon balances, and computation times.
GA, GWO, and PSO obtain similar results with an 8.77 kWh BESS, while FA does so with 11.14 kWh, and TS and SA with 7.92 kWh. However, although the results are similar, their solution times differ. While the solution times are remarkably close to each other in the GA, GWO, and PSO algorithms, the solution time of FA is quite long. On the other hand, the solution times of SA and TS are quite short compared to those of the other algorithms. In addition to this, the best result in terms of CO2 among these algorithms is obtained by FA.
Convergence curves of all algorithms are given in Figure 6. As seen in this figure, GA and TS have the best convergence compared to the other algorithms. Considering its relatively short solution time and competitive objective function value, TS was selected for the subsequent operational analysis.
Figure 6.
Objective function convergence curves of the six metaheuristic algorithms under Mode 1.
The power sharing and purchasing in Mode 1 obtained using TS are given in Figure 7. It is clearly seen from Figure 7a that the majority of the demand is met by WT, followed by the grid, DG, and BESS. Accordingly, the results obtained using TS are presented as a representative case for the operational analysis of Mode 1. In terms of BESS charging, as seen in Figure 7b, the BESS is charged only by the WT, as expected. For the power contribution, Figure 7a shows that most of the load demand is met by WT, and the remaining demand is met by UG, DG, and BESS, in that order. In terms of the power purchased from the UG, as seen in Figure 7c, the peak power meets the specified limit. In terms of the SoE of the BESS, as seen in Figure 7d, the BESS does not operate continuously throughout the entire period. It remains at its maximum or minimum SoE level for long periods.
Figure 7.
Power allocation and BESS operation under Mode 1 using TS: (a) load demand supply shares, (b) BESS charging source shares, (c) power purchased from the utility grid, and (d) BESS state of energy.
3.2. Mode 2 (Grid-Assisted Charging—Wind Surplus Must-Sell)
The results of this mode are given in Table 6. As can be seen in this table, all algorithms achieve similar BESS capacities with similar OF values. However, in terms of solution time, as in Mode 1, FA has the longest solution time and SA has the shortest solution time, while the solution times are very close to each other in the GA, GWO, and PSO algorithms. In addition, all the CO2 amounts in this mode meet the specified carbon limit.
Table 6.
Optimization results of six metaheuristic algorithms under Mode 2, including objective function values, optimal BESS capacities, final diesel fuel reserves, net carbon balances, and computation times.
Convergence curves of all algorithms in Mode 2 are given in Figure 8. It is seen that TS has the best convergence compared to the other algorithms. Considering its relatively short solution time and competitive objective function value, TS was also selected for the subsequent operational analysis of Mode 2.
Figure 8.
Objective function convergence curves of the six metaheuristic algorithms under Mode 2.
Accordingly, the TS results are used as a representative case for the operational analysis of this mode. In terms of power contribution, as seen in Figure 9a, WT is still the main contributor, while UG is the secondary contributor. These are followed by DG and BESS. For the BESS charging, Figure 9b confirms that the BESS is charged exclusively by the UG. As shown in Figure 10a, the power purchased from the UG remains within the predefined peak-power limit of 152 kW. Figure 10b indicates that the BESS remains at its maximum SoE for extended periods but undergoes more frequent charging and discharging than in Mode 1.
Figure 9.
Power allocation under Mode 2 using TS: (a) load demand supply shares and (b) BESS charging source shares.
Figure 10.
Utility grid interaction and BESS operation under Mode 2 using TS: (a) power purchased from the utility grid and (b) BESS state of energy.
3.3. Mode 3 (State-of-Energy-Aware Selling)
Table 7 summarizes the results of Mode 3. The results indicate that all algorithms, except for GA, converge to nearly identical OF values with similar BESS capacities. The GA algorithm, however, yields a less favorable OF accompanied by a higher storage capacity. The same situation observed in Modes 1 and 2 is also valid in this mode. That is, FA takes the longest time to solve the problem, while SA solves it in the shortest time. The GA, GWO, and PSO algorithms exhibit very similar solution times, differing only marginally.
Table 7.
Optimization results of six metaheuristic algorithms under Mode 3, including objective function values, optimal BESS capacities, final diesel fuel reserves, net carbon balances, and computation times.
Figure 11 illustrates the convergence behavior of all algorithms for Mode 3. The results show that TS achieves the fastest convergence among the compared methods. Combined with its relatively short computation time, TS offers a favorable balance between solution quality and computational efficiency for this operating mode.
Figure 11.
Objective function convergence curves of the six metaheuristic algorithms under Mode 3.
As in Modes 1 and 2, the TS results are used as a representative case for the subsequent operational analysis. In terms of power contribution, similar to Mode 1 and Mode 2, WT supplies most of the load demand in this mode. The BESS contribution to load supply in Mode 3 is approximately twice that of Mode 2 and substantially higher than that of Mode 1, as shown in Figure 12. As shown in Figure 13a, peak power remains within the defined limits. In terms of BESS operation, as seen in Figure 13b, the BESS is used continuously. Unlike the previous modes, the BESS here exhibits frequent charging–discharging cycles, reflecting a more active operational behavior.
Figure 12.
Power allocation under Mode 3 using TS: (a) load demand supply shares and (b) BESS charging source shares.
Figure 13.
Utility grid interaction and BESS operation under Mode 3 using TS: (a) power purchased from the utility grid and (b) BESS state of energy.
4. Discussion
This section discusses the economic, operational, and environmental results from Section 3. It also evaluates the performance of each algorithm using a multi-criteria-based scoring approach.
4.1. Operation Modes Comparison
This section compares the modes according to various factors, including OF, BESS sizing, power contribution, BESS operation patterns, DG fuel usage, and total CO2 emissions.
4.1.1. Objective Function and BESS Sizing
Mode 3 gives the lowest and most economical OF value across almost all algorithms. Compared to Mode 1 and Mode 2, it operates the system 36.85% and 4.66% more economically, respectively. In terms of BESS capacities in each mode, in Mode 3, the BESS sizes range from 7.92 to 11.6 kWh. Mode 1 and Mode 2 have similar BESS sizes, but Mode 1 shows a slightly higher value of 11.14 kWh under the FA algorithm. These results show that the adaptive energy selling strategy in Mode 3 makes the system more cost-effective. In short, an economic improvement of between 4.66% and 36.85% was achieved by modifying the BESS charging and surplus energy selling strategies. Figure 14 presents the best objective function values for each mode.
Figure 14.
Comparison of the best objective function values obtained under the three MG operating modes.
To further clarify the economic results, a detailed breakdown of the cost and revenue components for the three operating modes is provided in Supplementary Table S2, based on the TS results. The breakdown includes electricity purchasing costs, DG fuel costs, BESS charging and annualized investment costs, operating costs, energy sales revenues, and carbon trading costs. Carbon credit revenues and carbon penalties are reported separately to clarify their contributions to the objective function. The sum of the recorded components reproduces the net OF values reported in Table 5, Table 6 and Table 7.
4.1.2. Power Contribution and BESS Operation Patterns
In all three modes, load demand is primarily met by WT, followed by UG, DG, and BESS. However, in terms of BESS operation, in Mode 3 the BESS is much more active, while in Mode 2 and Mode 1 it is less active. Dynamic BESS operation in Mode 3 not only gives better economic results by reducing the dependency on the UG but also increases operational flexibility. As can be seen in Figure 15, the BESS in Mode 1 remains at its minimum level between the 500th and 530th hours, while the BESS in Modes 2 and 3 operates during the same period.
Figure 15.
Comparison of BESS state-of-energy profiles under Modes 1, 2, and 3 over the 744-h simulation period, including a magnified view of hours 500–530.
For the power contribution of BESS, as can be seen in Figure 16, the contribution in Mode 3 is higher than in the other modes. While 1.73% of the demand is met by BESS in Mode 3, these rates are 0.84% and 0.12% for Mode 2 and Mode 1, respectively.
Figure 16.
Total power supplied to the load by the BESS and its percentage contribution under each operating mode.
4.1.3. State of Fuel (SoF) and CO2 Emissions
One of the operational targets in the optimization problem is to maintain a minimum diesel fuel reserve of 198 L at the end of the operation period. However, in this study, as formulated in Equation (15) and explained in Section 2.3, this requirement is intentionally treated as a conditional soft constraint rather than a hard limit to improve economic operation and avoid load shedding. An additional penalty is applied only when the final DG fuel reserve falls below 198 L and the monthly net carbon balance exceeds −71,000 kg.
As can be seen in Figure 17, Mode 1 maintains the nominal fuel reserve with a final SoF of 201.37 L, whereas Modes 2 and 3 operate below this target, with final SoF levels of 183.25 and 184.34 L, respectively. This additional fuel consumption occurs due to the high demand after the 700th hour. During this period, the DG is activated to ensure load balancing, resulting in fuel reserves approximately 14–15 L below the nominal target. However, although Mode 1 maintains the fuel reserve, Modes 2 and 3 achieve better monthly carbon balance results, both satisfying the campus’s monthly carbon commitment of −71,000 kg. Therefore, no additional fuel-reserve penalty is applied to either mode. These findings show that allowing flexibility in the DG fuel reserve under the proposed conditional mechanism can improve economic operation without necessarily compromising the monthly carbon commitment.
Figure 17.
Comparison of diesel generator fuel-state trajectories under the three operating modes, including the nominal 198 L fuel-reserve target.
Figure 18 shows the hourly net CO2 balance under the three operating modes. The similar patterns observed in the figure are primarily due to the identical campus load demand and WT generation profiles used in all three modes. Therefore, the differences in carbon balance arise from the adopted BESS charging, discharging, and surplus energy management strategies rather than variations in demand. These results, together with the DG fuel consumption patterns presented in Figure 17, reveal a trade-off between maintaining fuel reserves and improving economic and environmental performance. While Mode 2 achieves the most negative monthly carbon balance, Mode 3 provides the best economic performance with a slightly higher final SoF than Mode 2. Therefore, Mode 3 offers a favorable balance between economic benefits and carbon performance, although its final fuel reserve remains below the nominal safety target.
Figure 18.
Hourly net CO2 balance under the three operating modes, including the −100 kg/h carbon trading reference.
4.2. Algorithm Comparison
This section compares the performance of the six metaheuristic algorithms for the three MG operation modes. The assessment is based on the numerical results presented in Table 5, Table 6 and Table 7 and the convergence properties presented in Figure 6 and Figure 8, and 11. Four performance criteria are considered. These are OF quality, BESS sizing consistency, CO2 performance, and computational efficiency.
To allow for a systematic and transparent comparison, a rank-based scoring method is applied. For each criterion, the algorithms are ranked according to their performance measures. The best-ranked algorithm receives six points, and the lowest-ranked algorithm receives one point. Practically equivalent results are assigned equal scores, with subsequent ranks adjusted accordingly. In particular, differences within 0.05 $ for the mean OF deviation and 5 kg for the mean CO2 deviation are treated as equivalent to avoid distinguishing algorithms based on negligible numerical differences. All four criteria are equally weighted, and the total performance score is obtained by summing the individual criterion scores. The evaluation is intended to provide a descriptive comparison under the specified simulation conditions rather than a statistically established ranking of algorithmic superiority. Finally, since run-to-run variability statistics and equalized computational budgets are not reported, the resulting ranking should be interpreted as a descriptive assessment under the adopted simulation settings rather than a statistically validated comparison of algorithmic superiority.
4.2.1. Objective Function Quality and BESS Sizing Consistency
OF quality evaluates the ability of each algorithm to approach the lowest objective function value obtained in each operating mode. To ensure comparability, the average OF deviation is calculated as in Equation (32)
where Fa,m is the OF value obtained by algorithm a in operating mode m, and represents the lowest OF value reported for that mode. Lower deviations indicate better solution quality.
Across the three modes, PSO has the lowest OF in Table 5, Table 6 and Table 7, followed by TS and GWO, with average deviations of 0.003$ and 0.013$, respectively. These differences are within the given tolerance, and the highest OF quality score is obtained by all three algorithms. SA also achieves competitive results, with an average deviation of 0.35 $, while FA and GA exhibit larger deviations of approximately 1.48$ and 2.30$, respectively. The relatively lower OF performance of GA is mainly associated with its Mode 3 result.
BESS sizing consistency evaluates the variation in the capacities identified by each algorithm across the three operating modes. This variation is calculated as in Equation (33).
where Ba,m is the optimal BESS capacity obtained by algorithm a in operating mode m. Lower variations indicate more consistent capacity selections across the operating scenarios. TS demonstrates the highest consistency, identifying a BESS capacity of 7.92 kWh in all three modes. SA follows with a capacity variation of 0.37 kWh, while GWO and PSO exhibit variations of 0.85 kWh. FA and GA show larger variations of 2.58 and 3.68 kWh, respectively. This criterion reflects cross-mode sizing consistency rather than statistical convergence reliability across independent runs.
4.2.2. CO2 Performance
CO2 performance is evaluated based on the net carbon balance obtained by each algorithm under the three operating modes. The average deviation from the most favorable carbon balance in each mode is calculated as in Equation (34).
where represents the net carbon balance obtained by algorithm a, and is the most negative carbon balance reported for mode m. Lower deviations indicate better carbon performance.
FA achieves the lowest average carbon deviation of approximately 1.38 kg, primarily due to its stronger carbon offset performance in Mode 1. The remaining algorithms exhibit average deviations between 34.60 and 38.93 kg. Considering the magnitude of the monthly carbon balances, these differences are relatively small and fall within the adopted practical equivalence tolerance among these five algorithms.
Furthermore, the results indicate that all algorithms satisfy the monthly carbon commitment of −71,000 kg in Modes 2 and 3, whereas none achieves this target in Mode 1. This suggests that the selected MG operating strategy has a more pronounced influence on overall carbon performance than the differences among the optimization algorithms.
4.2.3. Computational Efficiency
Computational efficiency is evaluated using the average solution time reported in Table 5, Table 6 and Table 7, as calculated in Equation (35).
where ta,m represents the computation time of algorithm a in operating mode m. Lower average computation times receive higher efficiency scores. SA demonstrates the highest computational efficiency, with an average solution time of approximately 4.30 s. TS follows with 17.07 s, while GWO, PSO, and GA require approximately 49.64 s, 50.07 s, and 53.41 s, respectively. FA exhibits the longest computation time, averaging 730.72 s across the three modes.
The convergence curves presented in Figure 6 and Figure 8, and 11 provide additional insights into the search behavior of the algorithms. TS and PSO demonstrate competitive convergence characteristics across the operating modes, while GWO also approaches the lowest reported OF values. In contrast, GA exhibits a less favorable final solution in Mode 3. Although SA requires the shortest computation time, it does not consistently achieve the lowest OF values.
These findings highlight the trade-off between solution quality and computational efficiency. Since the algorithms employ different search mechanisms and computational budgets, the convergence curves and execution times are interpreted within the implemented computational framework rather than as intrinsic measures of algorithmic superiority.
4.2.4. Overall Performance Evaluation
The overall algorithm performance is evaluated by combining the four criterion scores with equal weights. The total score is calculated as in Equation (36).
where each term represents the rank-based score assigned to the corresponding performance criterion. The resulting multi-criteria performance scores are summarized in Table 8. TS achieves the highest total score of 22 points, primarily due to its competitive OF quality, consistent BESS sizing, and relatively short computation time. GWO and SA share the second position with 19 points, although their strengths differ. GWO performs particularly well in OF quality, whereas SA offers the shortest execution time and relatively consistent BESS sizing. PSO follows with 18 points, demonstrating excellent OF quality but requiring longer computation times than TS and SA. FA and GA obtain lower overall scores of 11 and 9 points, respectively. While FA demonstrates favorable carbon performance, its relatively long computation time reduces its overall ranking. GA achieves competitive OF values in Modes 1 and 2 but exhibits greater variation in BESS sizing and a less favorable objective function value in Mode 3.
Table 8.
Multi-criteria performance scores and overall ranking of the six metaheuristic algorithms based on objective function quality, BESS sizing consistency, carbon balance, and computational efficiency.
Under the adopted equal-weighted multi-criteria framework, TS obtains the highest descriptive performance score among the evaluated algorithms. However, the ranking reflects the selected evaluation criteria and their equal weighting and should not be interpreted as evidence of statistically significant or universally superior algorithmic performance.
To further assess the influence of criterion weighting on the overall algorithm ranking, a sensitivity analysis was conducted using four weighting scenarios, as presented in Table 9. In addition to the original equal-weighted approach, greater emphasis was assigned separately to OF quality, CO2 performance, and computational efficiency. TS maintained the highest overall score under the equal-weighted, OF-focused, and CO2-focused scenarios, whereas SA ranked first when computational efficiency received a dominant weight of 60%. These findings indicate that TS demonstrates a relatively consistent leading position across the investigated economic and environmental weighting scenarios, while the ranking remains sensitive to the relative importance of computational efficiency.
Table 9.
Sensitivity of multi-criteria algorithm performance scores to alternative weighting scenarios.
4.3. Comparison with Other Studies
To evaluate the proposed BESS optimization framework, the results of the three operating modes are compared with previous MILP-based studies [2,16]. As presented in Table 10, these studies reported OF values of −$543.31 without BESS [16] and −$749.09 with an optimal 15 kWh BESS [2] under hourly carbon trading conditions. These deterministic results motivated the development of the rule-based energy management strategies examined in this study. Unlike the previous MILP formulations, the proposed framework combines predefined operating rules with metaheuristic BESS sizing optimization.
Table 10.
Comparison of the proposed MG operating modes with previously published campus microgrid studies in terms of economic, environmental, and operational performance.
Mode 1 achieves an OF value of −$547.81, indicating limited economic improvement over the no-BESS reference despite incorporating storage. This suggests that prioritizing WT surplus for BESS charging is not necessarily the most economical strategy. In contrast, grid-assisted charging in Modes 2 and 3 provides better economic performance. Notably, Mode 3 achieves −$749.70 with a BESS capacity of only 7.92 kWh, closely matching the previous MILP-based result obtained with 15 kWh [2].
Regarding carbon performance, Modes 2 and 3 achieve more negative carbon balances than [2]. Mode 1 maintains the nominal DG fuel reserve of 198 L, with a final SoF of 201.37 L, while Modes 2 and 3 operate below this target but satisfy the monthly carbon commitment. All three modes achieve the same peak-shaving performance (15.6%) as in [2,16]. These findings highlight the importance of energy management rules in determining economic and environmental performance. However, differences in operating strategies and mathematical formulations prevent a direct optimality-gap comparison. Therefore, the previous MILP results serve as contextual benchmarks rather than formal pre-optimization baselines.
4.4. Overall Discussion
The results show that the integration of a small-sized BESS into the MG, with the right algorithm and operating strategies, yields 36.85% more economical results. Even when only the WT surplus energy is sold to the grid, considering the SoE of the BESS yields an economic gain of 4.66% compared to the case where it is not considered. The results also show that leaving the DG fuel limit flexible under certain conditions does not have a negative environmental impact. For example, although the SoF in [2,16] is higher than the SoF in Mode 3, the CO2 emissions in Mode 3 are lower. Consideration of this trade-off is important for both policy makers and MG operators.
The algorithm comparison also reveals differences in solution quality and computational performance under the investigated operating conditions. Within the adopted multi-criteria evaluation framework, TS obtains the highest overall score, while PSO and GWO achieve comparable objective function values. GA also performs competitively in Modes 1 and 2 but yields a less favorable result in Mode 3. SA gives satisfactory results very quickly, while FA takes much longer. For this reason, it is especially important to improve FA in terms of solution speed in order to compete with the other algorithms.
Recent research by Gao et al. [14] provides a complementary perspective on low-carbon MG operation by integrating digital-twin-based state prediction, adaptive communication-topology reconfiguration, and cloud–edge coordination under non-ideal communication conditions. Although both studies consider economic and environmental performance, their main objectives differ. Gao et al. studied the resilient distributed control and stepped carbon trading of multiple MGs, whereas this paper studies the optimal BESS sizing and alternative energy management strategies under dynamic hourly carbon pricing in a single campus MG. Unlike Gao et al., the proposed framework does not explicitly consider communication delays, packet loss, or network failures. Hence, a promising future research direction is to implement the proposed carbon-aware energy management approach in a digital-twin-supported hierarchical control architecture and evaluate its performance under communication disturbances and uncertain operating conditions.
The economic and environmental comparisons presented in this study are based on fixed model parameters and predefined operating conditions. Accordingly, the reported results reflect the performance of the algorithms and operating modes investigated under these assumptions. The effects of uncertainty in carbon prices, discount rates, BESS capital costs, and DG fuel prices are not explicitly evaluated. A comprehensive sensitivity or probabilistic analysis of these parameters is beyond the comparative scope of the present study and remains a potential direction for future research. In addition, the carbon performance evaluation in this study is limited to operational emissions and avoided emissions estimated using fixed emission factors. Therefore, the reported carbon balances do not represent a complete life-cycle carbon footprint. Emissions associated with BESS manufacturing, transportation, replacement, and end-of-life processing, as well as variations in marginal grid emission intensity, are not explicitly considered. These factors may influence the overall environmental benefits of BESS integration and should be examined in future studies incorporating detailed life-cycle assessment and time-dependent emission factors.
5. Conclusions
This study investigates carbon-aware energy management and optimal BESS planning for campus microgrids operating under dynamic carbon pricing and trading mechanisms. The analysis is conducted under three different operating modes representing alternative charging and surplus energy management strategies. Among these modes, Mode 3 provides the best overall system performance. It incorporates a dynamic selling strategy that adjusts according to the BESS energy level. Mode 3 achieved up to 36.8% better cost performance than Mode 1 while also delivering stronger carbon reduction results. These findings indicate that Mode 3 provides the most balanced strategy from both economic and environmental perspectives.
Under the adopted equal-weighted multi-criteria framework, TS obtains the highest overall performance score, demonstrating a favorable balance between solution quality, BESS sizing consistency, and computational efficiency. The weighting sensitivity analysis further shows that TS retains its leading position when economic or environmental performance is prioritized, whereas SA ranks first under the computation-time-focused scenario. GWO and PSO also achieve competitive objective function values, while GA exhibits greater performance variation across the operating modes. SA achieves the shortest computation time, although it does not consistently obtain the lowest objective function values. FA demonstrates favorable carbon performance but requires the longest computation time among the evaluated algorithms. The results also show a clear trade-off between following operational limits and achieving environmental benefits. Mode 1 kept the fuel reserve above the specified limit, while Modes 2 and 3 achieved better carbon offsets. This shows why flexible and scenario-based system design is important. Planners must decide between keeping strict fuel limits and improving cost and carbon performance.
Future research may explore hybrid algorithmic structures that combine the strengths of TS with faster local search techniques or extend the operation modes to include demand response mechanisms and stochastic renewable generation. Additionally, long-term economic and environmental assessments incorporating battery degradation models and evolving carbon market dynamics would further strengthen the decision-support capacity of such models in real-world MG planning.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/en19235714/s1, Table S1: Carbon Cost; Table S2: Monthly Cost and Revenue Breakdown.
Author Contributions
S.I. was responsible for software, formal analysis, investigation, data preprocessing, visualization, and writing—original draft. O.A. and S.A. contributed to conceptualization, methodology, writing—review and editing, and supervision. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The campus load demand and wind generation profiles and the code used in this study are not publicly redistributed due to data-sharing restrictions. The hourly carbon price dataset used in the simulations is provided in Supplementary Table S1, while the aggregated cost and revenue breakdown is presented in Supplementary Table S2.
Acknowledgments
The authors appreciate the support provided by Texas State University and Boğaziçi University.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Mirbarati, S.H.; Heidari, N.; Nikoofard, A.; Danish, M.S.S.; Khosravy, M. Techno-Economic-Environmental Energy Management of a Micro-Grid: A Mixed-Integer Linear Programming Approach. Sustainability 2022, 14, 15036. [Google Scholar] [CrossRef] [Scilit]
- İsçan, S.; Arıkan, O. Optimizing battery energy storage system for campus micro grid: Economic and environmental benefits of strategic sizing. J. Energy Storage 2025, 124, 116905. [Google Scholar] [CrossRef] [Scilit]
- Zamora-Muñoz, A.F.; Orozco-Gutierrez, M.L.; Lopez-Santiago, D.M.; Montenegro-Oviedo, J.A.; Ramos-Paja, C.A. Battery Sizing Method for Microgrids—A Colombian Application Case. Computation 2025, 13, 114. [Google Scholar] [CrossRef] [Scilit]
- Adjei, B.; Donkoh, E.K.; Otoo, D.; Owusu-Ansah, E.D.-G.J.; Mahama, F. Impact Optimization of Battery Energy Storage System in Microgrid Operation. Eur. J. Pure Appl. Math. 2020, 13, 96–107. [Google Scholar] [CrossRef] [Scilit]
- Wankhade, S.D.; Patil, B. Lithium-ion battery: Battery sizing with charge scheduling for load levelling, ramp rate control and peak shaving using metaheuristic algorithms. J. Energy Storage 2024, 86, 111223. [Google Scholar] [CrossRef] [Scilit]
- Güven, A.F.; Yörükeren, N.; Mengi, O.Ö. Multi-objective optimization and sustainable design: A performance comparison of metaheuristic algorithms used for on-grid and off-grid hybrid energy systems. Neural Comput. Appl. 2024, 36, 7559–7594. [Google Scholar] [CrossRef] [Scilit]
- Kashyap, S.; Ghose, T. An Iterative Heuristic Optimization Method for the Optimum Sizing of Battery Energy Storage System to Augment the Dispatchability of Wind Generators. IEEE Access 2024, 13, 980–994. [Google Scholar] [CrossRef] [Scilit]
- Zhu, X.; Ruan, G.; Geng, H.; Liu, H.; Bai, M.; Peng, C. Multi-Objective Sizing Optimization Method of Microgrid Considering Cost and Carbon Emissions. IEEE Trans. Ind. Appl. 2024, 60, 5565–5576. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Lan, T.; Hu, W. A Two-Stage Robust Optimization Microgrid Model Considering Carbon Trading and Demand Response. Sustainability 2023, 15, 14592. [Google Scholar] [CrossRef] [Scilit]
- Xu, Z.; Chen, F.; Yang, X.; Lu, Q. Optimal Configuration of Hybrid Energy Storage Capacity in a Grid-Connected Microgrid Considering Laddering Carbon Trading and Demand Response. Energies 2023, 17, 139. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Ren, W.; Ke, G.; Hanqi, L.; Zeng, M.; Zhang, X. Multi-objective Optimal Operation Model for Microgrid Participation in Electricity-Carbon Market Considering Stepped Carbon Trading. In Proceedings of the 2024 IEEE 2nd International Conference on Power Science and Technology, ICPST; Institute of Electrical and Electronics Engineers: New York, NY, USA, 2024; Available online: https://ieeexplore.ieee.org/document/10602373 (accessed on 18 November 2026).
- Fu, X.; Zeng, G.; Zhu, X.; Zhao, J.; Huang, B.; Liu, J. Optimal scheduling strategy of grid-connected microgrid with ladder-type carbon trading based on Stackelberg game. Front. Energy Res. 2022, 10, 961341. [Google Scholar] [CrossRef] [Scilit]
- Li, L.-L.; Ji, B.-X.; Li, Z.-T.; Lim, M.K.; Sethanan, K.; Tseng, M.-L. Microgrid energy management system with degradation cost and carbon trading mechanism: A multi-objective artificial hummingbird algorithm. Appl. Energy 2024, 378, 124853. [Google Scholar] [CrossRef] [Scilit]
- Gao, Y.; Zhu, H.; Zhang, Z.; Wang, Y.; Ai, Q.; Zhu, J. Resilient hierarchical control strategy for digital twin cloud-edge collaboration in multi-energy microgrids under non-ideal communication conditions. Appl. Energy 2026, 424, 128374. [Google Scholar] [CrossRef] [Scilit]
- C. P. Tracker. Available online: https://ember-climate.org/data/data-tools/carbon-price-viewer/ (accessed on 18 November 2026).
- İsçan, S.; Arıkan, O. Economic operation of a micro grid structured university campus via optimal diesel generator operation under different strategies: A case study. Electr. Eng. 2024, 106, 4859–4880. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Liu, M.; Wang, Z.; Yang, J.; Lou, S. Multi-Flexibility Resources Planning for Power System Considering Carbon Trading. Sustainability 2022, 14, 13296. [Google Scholar] [CrossRef] [Scilit]
- Fang, J.; Yan, D.; Wang, H.; Deng, H.; Meng, X.; Zhang, H. Co-Optimized Scheduling of a Multi-Microgrid System Based on a Reputation Point Trading Mechanism. Smart Cities 2026, 9, 69. [Google Scholar] [CrossRef] [Scilit]
- Zerka, A.; Ouassaid, M.; Maaroufi, M.; Rabeh, R. Towards net zero: Comprehensive approach for voluntary carbon trading among microgrids. Heliyon 2024, 10, e39106. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, B.; Yang, Y.; Liu, X.; Lv, S. Optimal scheduling of a power-hydrogen-methanol multi-energy coupling system considering cross-regional methanol transportation. AIMS Energy 2026, 14, 1095–1141. [Google Scholar] [CrossRef] [Scilit]
- EMRA. Electricity Tariff Tables Valid as of 1/10/2022. Available online: https://www.epdk.gov.tr/Detay/Icerik/3-1327/elektrik-faturalarina-esas-tarife-tablolari (accessed on 18 November 2026).
- Statista. Round Trip Efficiency of Battery Energy Systems Worldwide in 2023, by Technology (in Percentage). Available online: https://www.statista.com/statistics/1423012/efficiency-of-battery-energy-systems/ (accessed on 18 November 2026).
- R. M. T. F. Institution. Energy Cost of Battery Energy Systems Worldwide in 2023, by Technology (in U.S. Dollars per Kilowatt-Hour). Available online: https://www.statista.com/statistics/1423073/energy-cost-for-battery-energy-systems/ (accessed on 18 November 2026).
- Statista. Lithium-Ion Battery Price Worldwide from 2013 to 2023 (in 2023 U.S. Dollars per Kilowatt-Hour). Available online: https://www.statista.com/statistics/883118/global-lithium-ion-battery-pack-costs/ (accessed on 18 November 2026).
- T. C. Bank. Turkey Central Bank Discount Rate. Available online: https://www.ceicdata.com/en/turkey/saving-discount-rate-and-interbank-rate/central-bank-discount-rate#:~:text=Turkey (accessed on 18 November 2026).
- R. M. T. F. Institution. Service Life of Battery Energy Systems Worldwide in 2023, by Technology (in Years). Available online: https://www.statista.com/statistics/1423059/life-of-battery-energy-systems/ (accessed on 18 November 2026).
- C. Footprint. Carbon Footprint Calculator. Available online: https://www.egeorman.org.tr/hesaplayicilar/karbon-ayakizi/ (accessed on 18 November 2026).
- Jakhrani, A.Q.; Rigit, A.R.H.; Othman, A.-K.; Samo, S.R.; Kamboh, S.A. Estimation of carbon footprints from diesel generator emissions. In Proceedings of the 2012 International Conference on Green and Ubiquitous Technology; Institute of Electrical and Electronics Engineers: New York, NY, USA, 2012; pp. 78–81. [Google Scholar]
- de Carvalho, J.A.; de Castro, A.; Brasil, G.H.; de Souza, P.A.; Mendiburu, A.Z. CO2 Emission Factors and Carbon Losses for Off-Road Mining Trucks. Energies 2022, 15, 2659. [Google Scholar] [CrossRef] [Scilit]
- Erdinc, O.; Paterakis, N.G.; Mendes, T.D.P.; Bakirtzis, A.G.; Catalao, J.P.S. Smart Household Operation Considering Bi-Directional EV and ESS Utilization by Real-Time Pricing-Based DR. IEEE Trans. Smart Grid 2014, 6, 1281–1291. [Google Scholar] [CrossRef] [Scilit]
- Bovera, F.; Spiller, M.; Zatti, M.; Rancilio, G.; Merlo, M. Development, validation, and testing of advanced mathematical models for the optimization of BESS operation. Sustain. Energy Grids Netw. 2023, 36, 101152. [Google Scholar] [CrossRef] [Scilit]
- Wu, D.; Gui, Q.; Zhao, W.; Wang, J.; Shi, S.; Zhou, Y. Battery energy storage system (bess) sizing analysis of bess-assisted fast-charge station based on double-layer optimization method. In Proceedings of the 2020 IEEE 3rd Student Conference on Electrical Machines and Systems (SCEMS); Institute of Electrical and Electronics Engineers: New York, NY, USA, 2020; pp. 658–662. [Google Scholar]
- Rancilio, G.; Merlo, M.; Lucas, A.; Kotsakis, E.; Delfanti, M. BESS modeling: Investigating the role of auxiliary system consumption in efficiency derating. In Proceedings of the 2020 International Symposium on Power Electronics, Electrical Drives, Automation and Motion (SPEEDAM); Institute of Electrical and Electronics Engineers: New York, NY, USA, 2020; pp. 189–194. [Google Scholar]
- Pal, S.; Kumar, R. Smart household energy management by employing EV and BESS as enabling technologies. In Proceedings of the 2018 8th IEEE India International Conference on Power Electronics (IICPE); Institute of Electrical and Electronics Engineers: New York, NY, USA, 2018; pp. 1–6. [Google Scholar]
- Sukumar, S.; Marsadek, M.; Ramasamy, A.; Mokhlis, H. Grey wolf optimizer based battery energy storage system sizing for economic operation of microgrid. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe); Institute of Electrical and Electronics Engineers: New York, NY, USA, 2018; pp. 1–5. [Google Scholar]
- Peñaranda, A.F.; Romero-Quete, D.; Cortés, C.A. Grid-Scale Battery Energy Storage for Arbitrage Purposes: A Colombian Case. Batteries 2021, 7, 59. [Google Scholar] [CrossRef] [Scilit]
- Franco, F.L.; Morandi, A.; Raboni, P.; Grandi, G. Efficiency Comparison of DC and AC Coupling Solutions for Large-Scale PV+BESS Power Plants. Energies 2021, 14, 4823. [Google Scholar] [CrossRef] [Scilit]
- Park, Y.-G.; Kim, C.-W.; Park, J.-B. MILP-Based Dynamic Efficiency Scheduling Model of Battery Energy Storage Systems. J. Electr. Eng. Technol. 2016, 11, 1063–1069. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 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.

















