Next Article in Journal
Molecular Insights into Microstructure and CH4/CO2 Adsorption of Mylonitic Coal
Next Article in Special Issue
Non-Cooperative Game Optimization of MVPP-LA Considering Hydrogen Doping and Low-Carbon Operation
Previous Article in Journal
Process-Oriented Reductive Catalytic Fractionation of Biomass: Linking Feedstock–Solvent–Catalyst Interactions with Reactor Configuration, Recycling, and Scale-Up
Previous Article in Special Issue
Collaborative Optimization of Intelligent Marketing and Imbalance Settlement in Power E-Commerce Based on Intelligent Algorithms: A Case Study of High Renewable Energy Penetration Sending-End Grids
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Transmission-State-Dependent Carbon-Trading Settlement in UPFC-Assisted Preventive Optimal Power Flow

1
School of Electronic and Electrical Engineering, Minnan University of Science and Technology, Quanzhou 362700, China
2
Key Laboratory of Industrial Automation Control Technology and Application of Fujian Higher Education, Quanzhou 362700, China
*
Authors to whom correspondence should be addressed.
Processes 2026, 14(14), 2231; https://doi.org/10.3390/pr14142231
Submission received: 15 June 2026 / Revised: 30 June 2026 / Accepted: 6 July 2026 / Published: 8 July 2026

Abstract

Low-carbon OPF studies usually include carbon cost or emission limits in generation-side dispatch, while carbon-accounting studies often evaluate emissions after dispatch. The link between transmission-side flow control and carbon settlement has received less attention. In particular, it remains unclear how UPFC-driven changes in branch flows and losses should affect allowance balance, trading volume, and settlement cost in preventive OPF. This paper therefore proposes a transmission-state-dependent carbon-trading settlement method for UPFC-assisted preventive OPF. Different from post-dispatch carbon accounting, the proposed method calculates carbon-trading quantities from the same network-feasible dispatch solution that determines UPFC-regulated flows, network losses, thermal generation, and contingency feasibility. The model is written in equivalent current injection form. A social-learning artificial bee colony algorithm with feasibility repair is used to solve the constrained problem, with infeasible trial solutions repaired according to power-balance, operating-limit, and carbon-trading constraints. The Taipower 345 kV transmission system is used for testing. Under the annual average daily load condition, line losses are reduced from 27,126.55 MWh to 21,281.92 MWh, while carbon emissions decrease from 300,988.72 tCO2 to 279,527.70 tCO2, corresponding to reductions of 21.55% and 7.13%. The generator-side profit remains positive at TWD 11,000,763. The combined UPFC-PCOPF case also satisfies the screened post-contingency line-loading and voltage constraints. The full-year cases show a similar reduction pattern. These results suggest that carbon-trading settlement is not a fixed post-dispatch accounting item. In UPFC-assisted dispatch, it is linked to transmission losses and thermal generation.

1. Introduction

The low-carbon transition of power systems is no longer determined by generation scheduling alone. Renewable intermittency, transmission congestion, operating security, and carbon-related regulation now act on the same dispatch process. The Taiwan grid is used in this study as a real transmission-network case, but the modeling issue is broader: how carbon management can be embedded into dispatch decisions under realistic network conditions without weakening system security or delivery efficiency [1,2,3,4,5].
Recent work on optimal power flow (OPF) has improved the treatment of renewable uncertainty and environmentally constrained dispatch. Once wind and solar output become stochastic, the dispatch problem grows more nonlinear and more sensitive to constraint handling and search quality [6,7]. Even so, most of this literature still concentrates on generation-side scheduling. The transmission network is usually represented through operating limits rather than treated as an active source of change in carbon-related outcomes.
A similar pattern appears in the security literature. Robust Nk security-constrained optimal power flow (SCOPF) and sequential SCOPF models have shown that post-contingency feasibility should be incorporated directly into the scheduling stage [8,9]. Related studies on alternating-current security-constrained optimal power flow (AC SCOPF) have further strengthened the treatment of uncertainty [10], while broader OPF formulations that consider high-voltage direct current (HVDC) interconnections show that network dynamics also matter in secure operation [11]. These studies improve reliability, but they say much less about how preventive security scheduling changes carbon-related settlement and the resulting economic outcome.
Low-carbon dispatch research has approached the same issue from another direction. The institutional basis of carbon regulation has already been established through the European Union Emissions Trading System (EU ETS), and later assessments indicate that such mechanisms can alter both emissions and firm performance [12,13]. Research on renewable generation under carbon-trading conditions points in the same direction, suggesting that market-based carbon regulation can affect generation-side decisions more directly than conventional environmental penalties [14]. More recent dispatch studies move closer to carbon-aware operation. Dynamic carbon-emission measurement and carbon-emission-flow-based models make it possible to trace how dispatch reshapes emission responsibility [15,16]. Work on stepped carbon-trading mechanisms further shows that carbon settlement cannot be treated as a simple penalty appended after dispatch is obtained [17]. Carbon-accounted auction-based dispatch leads to a similar conclusion [18]. Yet the main analytical weight still falls on generation output and carbon accounting, while the network side remains secondary.
The market literature adds another dimension. Joint modeling of generator company (GenCo) behavior in electricity and carbon markets shows that carbon settlement can directly reshape dispatch incentives and market outcomes [19]. Similar interactions also appear in deregulated systems with distributed generation [20]. Coupled electricity–carbon scheduling and local carbon-trading coordination lead to the same conclusion, namely that carbon settlement is no longer external to system operation [21,22]. Related game-theoretic analysis further confirms that carbon-market rules can reshape the strategic behavior of market participants [23]. However, this body of work still says relatively little about how the physical transmission state feeds back into the same market result. Once losses, congestion, and post-contingency stress change, the carbon burden associated with dispatch also changes.
This point becomes more important when a Unified Power Flow Controller (UPFC) is introduced. A UPFC can regulate branch flows, reduce losses, relieve congestion, and support voltage profiles [24,25]. Most UPFC-OPF studies therefore focus on these technical effects and the resulting operating cost. Carbon accounting is usually treated in a different line of research, starting from generator-side emissions or the final dispatch result [26,27]. This separation is partly due to the difference between transmission-side investment and generator-side carbon trading. UPFC installation belongs to the transmission side, while carbon trading is mainly linked to generation-side emissions. Without a settlement link, the carbon-related value created by UPFC-based loss reduction is difficult to reflect. This paper addresses this missing link by tracing how UPFC-driven changes in branch flows and losses affect thermal dispatch, emissions, allowance balance, trading volume, and settlement cost.
Coupling carbon settlement with network-feasible dispatch also increases the need for constraint handling, because infeasibility may arise from power-balance errors, line-limit violations, allowance imbalance, or excessive trading volume [28,29,30]. Before fitness evaluation, each candidate is repaired to keep the dispatch variables and carbon-settlement quantities consistent.
Existing studies approach this topic from different sides. Carbon-aware OPF usually adds emission cost or carbon limits to the dispatch model, whereas carbon-emission-flow studies trace carbon responsibility after the operating state has been obtained. FACTS/UPFC-assisted OPF mainly examines flow regulation, loss reduction, voltage support, and congestion relief. SCOPF and PCOPF focus on whether the dispatch remains feasible under credible contingencies. These approaches are therefore not direct numerical benchmarks for one another. What is still missing is a formulation that connects UPFC-induced changes in branch flows and losses with preventive OPF and carbon-trading settlement in the same network-feasible operating state.
These gaps lead to the proposed UPFC-assisted PCOPF framework. In this framework, allowance balance, trading volume, and settlement cost are calculated from the same ECI-based dispatch state used for branch flows, losses, thermal generation, and contingency checks.
The contributions are as follows
  • This study formulates a transmission-state-dependent carbon-trading settlement method for UPFC-assisted PCOPF. The carbon allowance balance, trading volume, and settlement cost are evaluated from the same feasible OPF state that determines UPFC-regulated branch flows, network losses, thermal generation, and contingency-feasible operation.
  • The study traces the transmission-to-settlement path under preventive security constraints. UPFC flow regulation changes network losses and thermal dispatch, and these changes enter the carbon-settlement result instead of being added later as post-dispatch accounting.

2. ECI-Based Optimal Power Flow with UPFC Modeling

2.1. ECI-Based Load Flow Model

The transmission-network load flow is expressed in the equivalent current injection (ECI) form [31], with the mismatch equations solved by Newton–Raphson iteration. Since the principal Jacobian terms of PQ buses remain unchanged during the iteration, this formulation is used here as a convenient load-flow basis for the later OPF calculation.
Figure 1 presents the π-equivalent circuit of a transmission line between buses a and b. In this model, Rab and Lab denote the series resistance and inductance of the line. The corresponding series admittance is written as Gab + jBab, where Gab is the conductance and Bab is the susceptance. The shunt capacitance is represented by the shunt susceptance jBc. On this basis, the equivalent current injection at bus a is written as
I a , e q ( k ) = S a ( U a ( k ) ) * = I a , e q ( R ) ( k ) + j I b , e q ( I ) ( k )
where Sa = Pa + jQa is the complex power injection at bus a, Ua(k) is the corresponding bus voltage at the k-th iteration, and (·) denotes complex conjugation. The superscripts R and I indicate the real and imaginary parts.
Following the branch structure shown in Figure 1, the terminal currents are defined as currents injected from each terminal bus into the line. Thus, Iab is positive from bus a to the branch, and Iba is positive from bus b to the branch. With the local shunt term included at each terminal, the currents can be written in rectangular form as
I a = G a b U a ( R ) U b ( R ) B a b U a ( I ) U b ( I ) B c U a ( I ) + j G a b U a ( I ) U b ( I ) B a b U a ( R ) U b ( R ) + B c U a ( R )
I b = G a b U b ( R ) U a ( R ) B a b U n ( I ) U a ( I ) B c U b ( I ) + j G a b U b ( I ) U a ( I ) B a b U b ( R ) U a ( R ) + B c U b ( R )
where U a ( R ) and U a ( I ) are the real and imaginary components of the voltage at bus a, and U b ( R ) and U b ( I ) are those at bus b. The current mismatches are then formed from the difference between the specified equivalent injections and the network currents obtained from the branch model.
After linearization, the correction step takes the form
I a b ( k ) = J a b U a b ( k )
in which
I a b ( k ) = I a ( R )   I b ( R )   I a ( I )   I b ( I ) T ,    U a b ( k ) = U a ( R )   U b ( R )   U a ( I )   U b ( I ) T
The associated Jacobian matrix is
J a b = G a b G a b ( B a b + B c ) B a b G a b G a b B a b ( B a b + B c ) ( B a b + B C )   B a b G a b G a b B a b ( B a b + B c ) G a b G a b
Equation (6) follows directly from the π-equivalent branch in Figure 1. For PQ buses, the entries of J a b depend only on the line parameters and do not vary with the operating state. The Jacobian therefore remains constant during iteration.
PV buses are treated differently. The same applies to buses connected to wind generators. Their specified variables are not the same as those of PQ buses, so the operating conditions are introduced in the form of constraint functions. For bus a, the active-power condition is expressed as
g P , a ( X ) = P a P a s p = 0
while the voltage-magnitude condition is written as
g V , a ( X ) = U a U a s p = 0
where P a s p is the specified active-power injection, U a s p is the specified voltage magnitude of the PV bus, and X denotes the state vector of the load-flow problem.
After first-order linearization, the PQ-bus current mismatches and the PV-bus constraints are assembled into the following system equation
F ( k ) = J ( k ) X ( k )
To incorporate the PV-bus conditions into the ECI correction step, the active-power and voltage-magnitude constraints in (7) and (8) are linearized around the current operating point. The resulting correction equation for bus a can be written as
P a U a 2 = J 1 J 2 J 3 J 4 Δ U a ( R ) Δ U a ( I ) Δ U b ( R ) Δ U b ( I )
where
J 1 = U a ( R ) G a b + U a ( I ) B a b + I a ( R ) U a ( R ) G a b U a ( I ) B a b J 2 = U a ( R ) B a b + U a ( I ) G a b + I a ( I ) U a ( R ) B a b U a ( I ) G a b J 3 = 2 U a ( R )   0 J 4 = 2 U a ( I )   0
and
B a b = B a b + B c
After the PV-bus correction terms are embedded into the ECI formulation, the complete load-flow error equation of the j-bus system is obtained as
I P Q ( R ) P P V I P Q ( I ) U P V 2 = J 11 J 12 J 21 J 22 U ( R ) U ( I )
where J 11 and J 12 correspond to the submatrices of the real-part mismatch equations, whereas J 21 and J 22 correspond to those of the imaginary-part and voltage-control mismatch equations. These submatrices are formed jointly by the constant branch terms of PQ buses and the linearized PV-bus power-voltage constraints.
In a j-bus system containing voltage-controlled buses, the global Jacobian matrix is no longer fully constant. However, only the entries associated with PV buses need to be updated during iteration. The amount of recalculation is therefore smaller than that required in the conventional Newton–Raphson formulation. This does not mean that the ECI formulation is proposed as a new load-flow method in this paper. It is adopted because the rectangular current-injection form allows PQ-bus equations, PV-bus power–voltage constraints, and UPFC-equivalent injections to be assembled in a consistent correction framework [31]. Compared with a polar formulation, this avoids repeatedly reforming trigonometric power-balance equations for all buses when PV-bus corrections and UPFC injection terms are updated.

2.2. UPFC Steady-State Model and ECI Integration

Figure 2 presents the steady-state structure of the UPFC [32]. The device consists of a shunt converter and a series converter sharing a common DC capacitor Cdc. The shunt branch is connected to bus i through the reactance Xsh, whereas the series branch is inserted into the transmission line through Xse. In the figure, Uiφi denotes the voltages at the two terminal buses, and ILθL denotes the line current. The shunt injected current is represented by Ishθsh, while the injected series voltage is denoted by Uinjφinj. The active-power exchange of the shunt and series converters is expressed by Psh and Pse, respectively. The DC-link condition is described by Udc, together with the capacitor currents Idc1 and Idc2. Under this arrangement, the shunt converter primarily acts on the connected bus and sustains the DC-link power balance, whereas the series converter acts on the transmission path and modifies the power-transfer condition.
Figure 3 presents the steady-state equivalent circuit of the UPFC. The shunt branch is connected to the sending-end side through the coupling impedance Zsh. The series branch injects a controllable voltage Upq through Zse. A virtual bus Ua is placed between the converter branch and the original line. This arrangement is used to separate the converter action from the line section. It also makes the controlled power transfer at the connection point explicit. The line between Ua and Ub is represented by the series elements Rab and Lab, together with the shunt capacitances Cs at both ends. The complex power through the virtual bus is denoted by Sset, and the corresponding line current is IL.
The injected series voltage is written as
U p q = U p q e j θ p q
with the operating limits
U p q , m i n U p q U p q , m a x ,   0 θ p q 2 π
At the virtual bus, the controlled complex power is written as S s e t = P s e t + j Q s e t = U a * I L * , and the associated current term is I s e t = S s e t / U a * . For the series branch, the Norton equivalent admittance is y s e = 1 / Z s e = g s e + j b s e , so the corresponding injected current is I N , s e = y s e U p q . The shunt admittance is y s h = 1 / Z s h . The term jBs denotes the shunt susceptance associated with the line capacitance.
With these quantities, the local current–voltage relation of Figure 3 is written as
I s I a I s , a = 0   g s e + j b s e   0   g s e + j b s e   0   g s e + j b s e   g s e j b s e   g s e + j b s e U s U a U p q
Equation (14) shows the role of the UPFC directly. The fourth column is introduced by the injected series voltage U p q . The vector on the right-hand side contains the shunt injected current and the current associated with the controlled power at the virtual bus. In this form, the converter branch is merged into the local network equation.
To maintain the same solution structure as that used in Section 2.1, the augmented admittance matrix in Equation (14) is decomposed into its real and imaginary parts, namely Yaug= Gaug+ jBaug. The corresponding correction equation becomes
I a u g ( R ) I a u g ( I ) = G a u g B a u g B a u g G a u g U a u g ( R ) U a u g ( I ) + I i n j ( R ) I i n j ( I )
Here the shunt-side exchanged complex power is S s h = P s h + j Q s h , and the corresponding equivalent injected current is I s h = S s h / U s * . The series branch enters the model through U p q and its Norton equivalent current. The shunt branch appears as an injected current at bus U S . After the virtual bus is introduced, the converter branch and the original line model are handled within the same ECI iterative framework.

2.3. UPFC Installation Principles and Candidate-Location Selection

A UPFC is not placed simply on the most heavily loaded line. That choice can be misleading. Some corridors look critical in the base case but become less important once power is redistributed. Others are the opposite. Voltage weakness and post-contingency behavior must therefore be considered together with line loading.
On this basis, the candidate locations are screened as follows:
(1)
One transmission corridor, one UPFC.
More than one device on the same line section seldom delivers a proportional control benefit. The added investment is easier to identify than the added operational gain.
(2)
Persistent heavy transfer is given priority.
A corridor that remains highly loaded across several operating states is more meaningful than one that appears stressed only in a single snapshot. In these locations, the effect of series voltage injection is usually more evident.
(3)
Very low-impedance lines are not preferred.
Their natural transfer capability is already strong. In most cases, the margin for further improvement is limited.
(4)
Voltage margin is checked at the same time.
Congestion alone is not enough. If the terminal buses also show weak voltage support, the value of UPFC installation becomes more apparent because both the series and shunt branches can contribute.
(5)
Strong local regulating sources reduce installation priority.
When nearby generators or synchronous compensators already provide effective voltage control, the extra support from the shunt branch may be less significant. Such locations are not removed entirely, but they are not treated as leading candidates.
(6)
Post-contingency redistribution is used as an additional filter.
Some lines are not dominant in the base case. They still deserve attention. After a severe outage, they may become the main path for redirected power and turn into the actual control bottleneck.
The screening is carried out under the base operating condition and the selected severe scenarios. It is used only to retain technically reasonable corridors; it is not a weighted security–economic placement index. Security is handled later by the PCOPF constraints and the contingency-screening process. Among the retained corridors, the final UPFC location is selected by the average generator-side net benefit reported in Table 1. This choice reflects the market-coupled purpose of this study: the UPFC should create measurable settlement value through loss reduction, emission reduction, and carbon-cost improvement while satisfying preventive security constraints.

3. Carbon-Settlement-Coupled PCOPF Formulation

3.1. Electricity-Market and Carbon-Trading Mechanism

In a market-oriented power system, dispatch is no longer driven by fuel cost and operating limits alone. Network conditions also shape the final schedule. Carbon-related payments also affect the final schedule. For that reason, electricity dispatch and carbon settlement should be evaluated from the same OPF-based dispatch result. This is not a strategic market model with bidding or equilibrium constraints. Instead, it is an OPF-based dispatch setting in which market-cleared energy, carbon allowance balance, trading volume, and network-support settlement are obtained from the same feasible dispatch solution.
In the model used here, the generators bear the direct production cost. This includes fuel expenditure and the cost associated with carbon emissions. The transmission side does not produce electricity, yet it still affects the dispatch outcome through the condition of the network. When congestion becomes serious, or when transmission losses increase, the system needs more generation to supply the same demand. The carbon burden then rises with that additional output.
After a UPFC is introduced, the interaction between network operation and carbon settlement becomes more direct. By modifying the line-flow pattern and reducing active-power losses, the UPFC affects both the physical operating state of the transmission network and the carbon-related settlement results. In this paper, the electricity-market and carbon-trading terms are represented through a scenario-based settlement setting. The generation quantities used for settlement are interpreted as market-cleared energy, whereas transmission losses are calculated from the ECI-based network solution for each operating case. On this basis, the settlement quantities are evaluated from the same network-feasible OPF solution that produces the loss variation and thermal-generation changes.

3.2. Objective Function and Profit Model of Generators and Transmission Operator

The PCOPF is solved over the full network, but its economic objective is defined from the generator-side settlement. The load demand is treated as fixed, and demand-side utility is not modeled; therefore, the problem is not formulated as full social-welfare maximization. The carbon-price effect is still included through carbon-trading expenditure and allowance-settlement terms, so higher emissions reduce the generator-side net benefit. Generator output, transmission loss, and UPFC effects are taken from the feasible ECI-based operating point.
The objective over the scheduling horizon is written as
m a x   G = t = 1 T Π t G
where Π t G denotes the net benefit of the generators in period t.
For each period, the generator-side net benefit is expressed as
Π t G = λ t P t m + π t A t s e l l A t b u y i = 1 N g C i P i , t D t R t
Here, λt denotes the electricity-market clearing price, and πt is taken as the clearing price of a single carbon market. The present model does not describe carbon-price fluctuation or buy–sell spreads; these can be added by replacing πt with time-varying purchase and sale prices. P t m is the load-side cleared electricity sold to demand, which is fixed across the compared cases under the same load level. A t s e l l and A t b u y represent the sold and purchased carbon allowances. Dt is the dispatch fee charged by the transmission side. Rt is the settlement associated with emission reduction created by network support.
In this paper, Rt is defined as a transmission-side settlement term rather than the profit of the transmission operator. The transmission operator is not modeled as a direct carbon trader. Instead, Rt reflects the network-side value associated with the emission-reduction effect of UPFC-supported loss reduction. Through branch-flow regulation and loss reduction, the UPFC indirectly reduces generator-side carbon emissions and carbon-trading expenditure.
The production cost of generator i is modeled as
C i P i , t = a i + b i P i , t + c i P i , t 2
where Pi,t is the real-power output of generator i in period t, and ai, bi, and ci are the corresponding cost coefficients.
The transmission-side effect enters the model through loss reduction. Let P t l o s s , 0 and P t l o s s , u denote the active-power losses without and with UPFC control, respectively. The loss reduction is then written as
P t l o s s = P t l o s s , 0 P t l o s s , u
Reduced transmission loss changes the carbon burden of network delivery. The following term is used to describe the UPFC-related network-support effect. It belongs to the transmission-side settlement and does not directly revise generator emissions.
E t = ξ t P t l o s s
Here, ξ t is the equivalent emission coefficient in period t. In the present framework, the transmission operator does not enter the carbon-trading market as a direct trading participant. Its economic return is linked to carbon settlement through the loss-reduction effect created by UPFC control.
The related settlement term is therefore written as
R t = η t π t E t
where η t is an exogenous allocation coefficient used to share the loss-reduction-related carbon benefit between the generation side and the transmission side. In the numerical cases, η t = 0.5 is used as a neutral equal-sharing setting because no jurisdiction-specific sharing rule is imposed. Since Rt is linear in η t , changing η t proportionally changes the allocated transmission-side settlement and the generator-side net benefit, but it does not change the carbon-emission calculation, allowance-balance definition, or ECI-based network constraints. The resulting term Rt denotes the transmission-side settlement associated with UPFC-supported loss reduction.
In Equation (17), Rt is deducted from the generator-side net benefit because it represents the settlement paid to the transmission operator for the emission-reduction effect created by UPFC-supported loss reduction. It should not be interpreted as a carbon refund received by generators. Instead, Rt denotes a network-support settlement allocated to the transmission side, while the generator-side refund related to carbon-allowance settlement is represented separately by the carbon-trading terms.
Under this structure, the generators receive the direct income from electricity trading and carbon-allowance settlement, while bearing production cost, dispatch charges, and the emission-reduction settlement. The transmission operator is evaluated separately through the settlement result associated with network support and loss reduction. The model thus remains generator-oriented in its objective, while the economic effect of transmission-side control is still retained in the market-dispatch setting.

3.3. PCOPF Power Balance and Operational Constraints

The objective function in Section 3.2 is solved subject to network balance and operating limits. In the proposed PCOPF model, the economic decision and the network-feasible operating point are obtained simultaneously. The state variables are the real and imaginary parts of the bus voltages, while the control variables include the real-power outputs of dispatchable thermal units, the specified voltage magnitudes of PV buses, and the UPFC control variables on the selected corridor.
For each time interval t, the active-power balance of the system is written as
i = 1 N g P i , t G + P i , t f i x = P t D + P t l o s s
where P i , t G is the real-power output of dispatchable thermal unit i, P i , t f i x denotes the aggregated fixed scheduled injection, P t D is the total demand, and P t l o s s is the transmission loss.
The network equality conditions are enforced through the ECI mismatch equations. For each PQ bus k, the real and imaginary current mismatches are expressed as
I k , t ( R ) = I k , t s p , ( R ) I k , t c a l , ( R ) = 0
I k , t ( I ) = I k , t s p , ( I ) I k , t c a l , ( I ) = 0
For each PV bus m, the active-power and voltage-magnitude conditions are written as
P m , t = P m , t s p P m , t L P m , t c a l = 0
V m , t 2 = U m , t s p 2 U m , t ( R ) 2 + U m , t ( I ) 2 = 0
where I k , t s p , ( R ) and I k , t s p , ( I ) are the specified real and imaginary equivalent current injections, I k , t c a l , ( R ) and I k , t c a l , ( I ) are the corresponding calculated values, P m , t s p is the specified active-power injection at PV bus m, and P m , t L is the real-power demand at that bus.
The above conditions are assembled into the compact mismatch form
F t = I P Q , t ( R ) P P V , t ( R ) I P Q , t ( I ) V P V , t 2 = 0
which preserves the same rectangular-coordinate structure adopted in Section 2.
The real-power output of each dispatchable thermal unit is bounded by
P i G , m i n P i , t G P i G , m a x ,   i = 1 ,   N g
Because the dispatch is time-coupled, the ramping capability of each thermal unit is also imposed:
R D i P i , t G P i , t 1 G R U i
where R U i and R D i are the ramp-up and ramp-down limits of generator i.
The bus-voltage magnitude constraint is written in rectangular form as
V k m i n 2 U k , t ( R ) 2 + U k , t ( I ) 2 V k m a x 2 ,   k = 1 , N b
where Nb is the total number of buses.
For a general transmission line , the apparent-power flow is restricted by its thermal limit:
S l , t S l m a x , l = 1 ,   N l
where N denotes the total number of transmission lines.
For the selected UPFC corridor shown in Figure 3, the device is installed on the transmission path between buses a and b, and the virtual bus a′ is introduced in the equivalent model. The UPFC is modeled by its steady-state equivalent circuit. The OPF model limits the series-injected voltage and the shunt current within their operating ranges. Converter losses are ignored in this formulation. Therefore, the active power exchanged by the shunt and series converters is assumed to be balanced, and the DC-link power balance is written as
P s h , t + P s e , t = 0
where Psh,t and Pse,t denote the shunt-side and series-side active-power terms of the UPFC.
The injected series voltage is represented by its real and imaginary parts. Its admissible range is constrained by
U p q m i n 2 U p q , t ( R ) 2 + U p q , t ( I ) 2 U p q m a x 2
The shunt converter is further limited by its current capability, namely,
I s h , t ( R ) 2 + I s h , t ( I ) 2 I s h m a x 2
In addition, the apparent power on the UPFC-controlled corridor must satisfy
S a b , t S a b m a x
where Sab,t denotes the apparent power on the controlled corridor between buses a and b.
The UPFC is treated as a lossless steady-state device, and its control effect is represented by the ECI-compatible constraints in Equations (32)–(35) rather than by a separate control-mode variable. Taken together, these constraints define the feasible operating region of the proposed PCOPF model. The dispatch variables are restricted by system power balance, ECI mismatch equations, generator output limits, voltage security, line thermal limits, ramping constraints, and the operating range of the UPFC on the selected corridor. These variables are the main factors linking transmission losses, thermal generation, and carbon-settlement results in this study. Generator reactive-power limits, transformer tap adjustment, reserve constraints, and load-shedding variables are not included in the present formulation.

3.4. Contingency Severity Analysis and Contingency Selection

Base-case feasibility is not sufficient for the dispatch problem considered here. Before the final PCOPF schedule is fixed, the network is evaluated under a set of credible post-incident conditions. The screening procedure identifies the contingency associated with the most stressed post-contingency operating state and incorporates it into the preventive scheduling stage. This screening step is referred to as contingency severity screening (CSS). The same ECI framework developed in Section 2 is used throughout, so only the incident-related part of the original model needs to be corrected.
(1)
Generator outage correction model
A generator trip removes its scheduled active-power injection from the pre-contingency operating point. The corresponding bus is no longer maintained as a PV bus in the post-contingency calculation. The correction is written as
P g , t o u t = P g , t 0 + P g , t
P g , t = P g , t 0
where P g , t 0 is the generator output before the outage, P g , t o u t is the remaining output after the trip, and P g , t is the active-power correction caused by the outage.
The lost injection is therefore removed directly from the original operating point. The post-contingency state is then solved in the same rectangular-coordinate ECI form.
(2)
Transmission-line outage correction model
A line outage changes the network through the removal of the associated branch admittance. For the line model adopted in Section 2, the branch contribution is written as
Y m n b r = G m n + j ( B m n B c ) G m n + j B m n G m n + j B m n G m n + j ( B m n B c )
The post-contingency admittance matrix is then expressed as
Y t ( c ) = Y t 0 + Y m n
where Y t 0 is the original admittance matrix, and Y m n is the sparse correction associated with the disconnected line. Only the entries related to buses m and n are revised:
F t ( c ) x t ( c ) ,   u t = 0
where x t ( c ) is the post-contingency state vector and u t is the dispatch vector determined by the preventive scheduling model.
(3)
Severity ranking and contingency selection
The CSS stage is used to rank the network stress created by each contingency. In the present work, the first screening is based on the post-contingency line-overload result. This keeps the rule direct. It also avoids mixing too many indicators at the initial selection stage. The severity index of contingency c is defined as
Γ c = max l L m a x 0 , S l , t ( c ) S l m a x
where S l , t ( c ) is the apparent power on line under contingency c, and S l m a x is the corresponding thermal limit. If no overload appears after the disturbance, the contribution of that line is taken as zero.
All candidate contingencies in the set C are then ranked in descending order according to Γc. The most severe contingency is selected by
c * = a r g max c C Γ c
That contingency is carried into the subsequent preventive dispatch model. The final PCOPF solution is therefore checked against two states: the base operating condition and the most critical screened contingency. The resulting formulation is therefore a critical-contingency-constrained PCOPF, rather than a full N−1 SCOPF model.

3.5. Carbon-Emission and Carbon-Trading Constraints

In the proposed PCOPF model, carbon trading is tied directly to thermal dispatch. Once the output of each thermal unit is fixed, the corresponding emission level is fixed as well. Market trading then determines how the remaining allowance deficit or surplus is settled. The allowance term in this study is a dispatch-based benchmark calculated from the cleared generation profile and the adopted allowance coefficients. It may therefore change across operating cases when the generation mix changes.
For each dispatchable thermal unit i, the carbon emission in period t is represented by
E i , t = α i c P i , t G 3 + β i c P i , t G + γ i c
where E i , t is the carbon emission of unit i in period t, and α i c , β i c , and γ i c are the corresponding emission coefficients.
The total emission of the generator side in period t is
E t t o t = i = 1 N g E i , t
and the cumulative emission over the scheduling horizon becomes
E s u m = t = 1 T E t t o t
Let E ¯ denote the available carbon allowance over the scheduling horizon.
The cumulative emission in Equation (45) is used in the allowance-balance calculation. The network-support settlement in Equations (20) and (21) is calculated outside this emission account, so the loss-reduction effect is not counted again in the generator-side carbon-trading result. After carbon purchasing and selling are accounted for, the allowance balance is written as
E s u m E ¯ + t = 1 T A t b u y t = 1 T A t s e l l
where A t b u y and A t s e l l denote the purchased and sold carbon allowances in period t, respectively.
A higher thermal output raises Esum. The trading terms then absorb the remaining gap through purchased permits or released surplus allowance.
The carbon-trading settlement in period t is written as
C t c a r = π t A t b A t s
where πt is the carbon-trading price in period t. This term is consistent with the generator-side net-benefit formulation in Section 3.2.
The admissible trading volume and settlement are imposed, the corresponding expenditure constraints are written as
0 A t b u y A t b u y ¯ 0 A t s e l l A t s e l l ¯ 0 π t A t b u y C t b u y ¯ 0 π t A t s e l l C t s e l l ¯
where A t b u y ¯ and A t s e l l are the upper limits of carbon purchasing and selling in period t. C t b u y ¯ and C t s e l l ¯ denote the maximum admissible purchasing and selling settlement in period t, respectively.
Equations (43)–(48) define the carbon-settlement calculation in the proposed market-dispatch model. UPFC-controlled loss variation changes the required thermal dispatch, and the updated dispatch result is then reflected in emissions, allowance balance, trading volume, and settlement cost. The overall solution procedure, including base-case calculation, outage-case initialization, PCOPF optimization, and carbon-settlement evaluation, is summarized in Figure 4.
Figure 4. Overall solution procedure of the proposed PCOPF model.
Figure 4. Overall solution procedure of the proposed PCOPF model.
Processes 14 02231 g004

4. Social-Learning Artificial Bee Colony with Feasibility Repair (SLABC-FR)

4.1. Artificial Bee Colony Framework and the Proposed Modification

The proposed PCOPF problem is constrained by ECI-based power balance, UPFC and network operating limits, and carbon-trading feasibility. A candidate schedule with a high economic value may still violate one of these constraints. SLABC-FR repairs bound violations, active-power imbalance, and carbon-trading infeasibility before fitness evaluation.
The proposed method is still built on the artificial bee colony (ABC) framework [30]. Each food source represents one candidate schedule. The colony contains employed bees, onlooker bees, and scout bees. Employed bees search around the current sources. Onlooker bees choose promising sources according to their quality. Scout bees replace stagnant sources when no further improvement is found.
In the standard ABC search, the candidate generated from source i on dimension j is written as
v i , j k = x i , j k + ϕ i , j k x m , j k x i , j k
where m ≠ i is a randomly selected source, and ϕ i , j k [ 1 ,   1 ] is the perturbation factor.
The onlooker bee chooses source i according to
p i k = f i t i k n = 1 N f i t n k
where f i t i k is the fitness-derived quality of source i, and N is the number of food sources.
If a source cannot be improved within a prescribed number of trials, it is abandoned and regenerated by
x i , j k + 1 = x j m i n + r a n d x j m a x x j m i n
The present method keeps this three-phase structure. The change is made in the search step itself. A learning term is added, and infeasible candidates are repaired before evaluation.
Each food source in the proposed SLABC-FR is written as
x i k = P G ,   U P V s p ,   U P Q ( R ) ,   U P Q ( I ) ,   A b u y ,   A s e l l
where PG denotes the dispatchable thermal outputs, U P V s p denotes the PV-bus voltage setpoints, U P Q ( R ) and U P Q ( I ) are the real and imaginary parts of the injected UPFC series voltage, and Ab and As denote the carbon-purchasing and carbon-selling variables.
The employed-bee update is modified as
v i , j k = x i , j k + ϕ i , j k x m , j k x i , j k + α k r 1 , i , j k p b e s t i , j k x i , j k + β k r 2 , i , j k g b e s t j k x i , j k
where p b e s t i , j k is the best source previously visited by bee i, g b e s t j k is the best source in the current population, and r 1 , i , j k , r 2 , i , j k [ 0 ,   1 ] are random numbers.
The learning coefficients vary with the iteration count:
α k = α i + α f α i k k m a x
β k = β i + β f β i k k m a x
The employed-bee, onlooker-bee, and scout-bee phases are kept in SLABC-FR. When a new source is produced, the bee refers to its own historical best source and the current best source of the colony. The source is then tested by the greedy replacement rule, and abandoned sources are regenerated in the scout-bee phase. Before the fitness value is calculated, the repair step adjusts infeasible candidates so that the power-balance and carbon-settlement constraints are satisfied.
Greedy replacement is then applied:
x i k + 1 = v i k ,   i f   F v i k < F x i k x i k ,   o t h e r w i s e

4.2. Feasibility Repair and Fitness Evaluation

Infeasible food sources appear frequently in the proposed PCOPF search. A repair step is therefore applied before fitness evaluation.
The penalized fitness is written as
F ( x ) = Π ( x ) + ρ e q g ( x ) 2 2 + ρ i n m a x 0 , h ( x ) 2 2
where Π(x) is the generator-side net benefit, g(x) and h(x) denote the equality and inequality constraint sets, and ρeq and ρin are the corresponding penalty coefficients. Repair and penalty are applied to different types of constraint violations. The repair step first adjusts directly correctable violations, such as variable bounds, active-power imbalance, and carbon-trading infeasibility. The repaired source is then evaluated by the ECI-based PCOPF model. Remaining violations in voltage limits, line-flow limits, UPFC limits, or post-contingency constraints are handled through the penalty term.
The repair begins with bound projection:
x j Π [ x j m i n ,   x j m a x ] ( x j )
where x j m i n and x j m a x are the lower and upper bounds of the j-th decision variable.
For period t, the active-power mismatch is
P t = P t D + P l o s s P t f i x i = 1 N g P i , t G
where P t D is the load demand, P l o s s is the network loss, P t f i x is the aggregated fixed injection, and P i , t G is the thermal-unit output.
The mismatch is redistributed over the participating thermal units as
P i , t G Π [ P i G , m i n ,   P i G , m a x ] ( P i , t G + ω i , t P t )
where ω i , t is the redistribution factor. The mismatch is not assigned to a single slack generator. It is distributed among the participating thermal units according to their available upward or downward regulation margins; if a unit reaches its limit, the remaining mismatch is redistributed to the other available units.
The carbon-trading variables are repaired by
A t b u y Π [ 0 ,   A t b u y ¯ ] ( A t b u y ) ,   A t s e l l Π [ 0 ,   A t s e l l ¯ ] ( A t s e l l )
If the allowance balance is still violated after clipping, the repair continues until
E s u m E ¯ + t = 1 T A t b u y t = 1 T A t s e l l
is satisfied, where Esum is the cumulative emission and E ¯ is the available allowance before trading.
The repair is applied to the candidate source generated by the colony, not to the analytical PCOPF model itself.

4.3. SLABC-FR for Solving the Proposed PCOPF

In the proposed SLABC-FR, each food source X i k represents the candidate schedule defined in Equation (52). For every generated source, the repair procedure in Equations (58)–(62) is applied first. The repaired source is then evaluated by the ECI-based PCOPF model in Section 3. The evaluation includes the base operating state under Equations (22)–(35), the selected critical contingency c determined by Equation (42), the generator-side net benefit in Equations (16)–(21), and the carbon-emission and carbon-trading relations in Equations (43)–(48). On this basis, the penalized fitness F X i k is computed by Equation (57). The colony update is then carried out through the employed-bee, onlooker-bee, and scout-bee phases defined in Equations (49)–(56). The final g b e s t k is taken as the optimal solution of the proposed PCOPF. The procedure is summarized in Algorithm 1.
Algorithm 1 Pseudocode of the SLABC-FR algorithm for the proposed PCOPF
  • k = 0, initialize X i k , i = 1, 2, …, N,

       within the admissible bounds of the decision variables.
2.
Repair each X i 0 by (58)–(62), and evaluate F X i k by (57).
3.
p b e s t i 0 = X i 0 , g b e s t i 0 = a r g   min 1 i F X i k
4.
while (k < kmax) and (stopping criterion is not satisfied) do
5.
 for i = 1, 2, …, N do
6.
      V i k generate from X i k by (53),
7.
     repair V i k by (58)–(62), and evaluate F V i k ,
8.
       X i k V i k ,   i f   F V i k < F X i k , X i k ,   o t h e r w i s e ,
9.
       p b e s t i k + 1 X i k + 1 ,   i f   F X i k + 1 < F p b e s t i k , p b e s t i k ,   o t h e r w i s e ,
10.
 end for
11.
 Compute p i k by (50).
12.
 for each onlooker bee do
13.
     select a food source according to p i k ,
14.
     generate a new candidate V i k  around the selected source,
15.
     repair V i k by (58)–(62), and evaluate F V i k
16.
     update the selected source and the corresponding p b e s t i k + 1 by (56).
17.
 end for
18.
 for i = 1, 2, …, N do
19.
     if X i k + 1 is not improved for L successive updates,
20.
          X i k regenerate by (51),
21.
         repair X i k + 1 by (58)–(62), and evaluate F X i k + 1 .
22.
     end if
23.
 end for
24.
g b e s t k + 1 = a r g   min 1 i F p b e s t i k + 1 ,
25.
k = k + 1.
26.
end while
27.
return g b e s t k .

5. Numerical Results and Discussion

The Taipower 345 kV transmission system [33] shown in Figure 5 is used as the test network. It contains 40 buses and 85 transmission lines. The generation portfolio includes coal-fired, gas-fired, oil-fired, nuclear, hydroelectric, and IPP units. Generation limits, ramp-rate constraints, and other unit data were compiled from Taipower publications and related official sources. Appendix A lists the main economic, carbon-settlement, load, and UPFC settings. All simulations were performed in MATLAB 2016b on a personal computer with a 2.9 GHz Intel processor and 16 GB of memory.
To distinguish the roles of UPFC control and contingency-constrained scheduling, four study cases are defined:
  • Case 1: No UPFC, no contingency-constrained PCOPF.
  • Case 2: With UPFC, without contingency-constrained PCOPF.
  • Case 3: Without UPFC, with critical-contingency-constrained PCOPF.
  • Case 4: With both UPFC and critical-contingency-constrained PCOPF.
Carbon-trading settlement is retained in all four cases. The comparisons that follow focus on algorithm convergence, annual daily average load operation, and full-year operation.

5.1. Convergence Testing of the SLABC-FR Algorithm

For the annual daily average load case, GA [34], PSO [29], ABC [30], and SLABC-FR are tested with the same population size, iteration limit, and stopping rule. SLABC-FR reaches a stable feasible result and gives the highest generator-side net benefit in this test; it is therefore used for the following case studies. The common settings and algorithm-specific parameters are listed in Appendix A (Table A1).
Figure 6 gives the 30-run average convergence history of the minimum operating cost. GA decreases slowly, while PSO and ABC reduce the cost faster but still need a visible settling stage. SLABC-FR reaches the low-cost range earlier and has the shortest settling process. The four algorithms use the same stopping rule, population size, initialization range, constraint-handling rule, and maximum iteration number. The final statistics of the 30 runs are listed in Appendix A.
Figure 6 reports the average convergence history from 30 independent runs for each algorithm. All algorithms use the same stopping criterion, population size, initialization range, constraint-handling rule, and maximum iteration number. The corresponding final-run statistics are given in Appendix A.
Figure 7 gives the same comparison for generator-side net benefit. GA stays at the lowest level after convergence. PSO and ABC improve the benefit, but both settle below SLABC-FR. SLABC-FR reaches the highest final benefit and stabilizes earlier than the other methods.
After the convergence test, SLABC-FR is used to rank the retained candidate lines for UPFC installation. Because the optimization outcome changes across runs, the comparison is based on repeated solutions rather than on a single favorable run. The average generator-side net benefit is therefore adopted as the main ranking index, while the minimum and maximum values are kept to show the variation range. Table 1 lists the five leading candidates. Among them, transmission line No. 59 gives the highest average generator-side net benefit, reaching TWD 11,000,763. It is therefore selected as the final UPFC installation corridor for the subsequent case studies.

5.2. Annual Daily Average Load Results

Table 2 gives the annual daily average load results for the four study cases. The main differences lie in generator-side profit, transmission loss, carbon-related settlement, and fuel-dispatch patterns. The electricity revenue is identical in all cases because the same load-side cleared energy is settled at the same market-clearing price. The generation entries in the table denote gross dispatched generation obtained from the ECI-based network solution; therefore, they may vary with losses and dispatch changes under different UPFC and PCOPF settings.
Case 1 is used as the reference case. Without UPFC and contingency-constrained PCOPF, it yields the highest generator-side profit, TWD 68,615,167, and the lowest total expenditure, TWD 1,706,119,793. This economic advantage is accompanied by the highest line losses, 27,126.55 MWh, and high emission levels, with the dispatch-based carbon allowance benchmark and total carbon emissions reaching 300,985.71 tCO2 and 300,988.72 tCO2, respectively. Carbon trading is almost inactive in this case.
Case 2 introduces the UPFC without imposing contingency-constrained PCOPF. The main change appears in the network-related indicators. Under the adopted settlement setting, the market-cleared total generation is 567,026.92 MWh, including 365,384.69 MWh from Taipower units and 201,642.23 MWh purchased from IPPs. The corresponding ECI-based power-flow result gives a line loss of 22,059.18 MWh. The dispatch-based carbon allowance benchmark and total carbon emissions decrease to 205,920.66 tCO2 and 281,296.24 tCO2, respectively. Although a refund of TWD 7,028,193 is received, the generator-side profit decreases to TWD 53,773,928 because the carbon-trading expenditure rises to TWD 33,447,412.
Case 3 keeps the original network and applies contingency-constrained PCOPF. The changes in generation, losses, and emissions are much smaller. The market-cleared total generation becomes 572,179.31 MWh, line losses 26,859.03 MWh, and total carbon emissions 300,522.27 tCO2. In this case, both the carbon-trading volume and carbon-trading expenditure become zero. Even so, the total expenditure increases to TWD 1,754,408,444, and the generator-side profit falls to TWD 20,326,516. The operating point is therefore safer but more conservative.
Compared with the other cases, it gives the lowest line losses, 21,281.92 MWh, the lowest dispatch-based carbon allowance benchmark, 201,538.56 tCO2, and the lowest total carbon emissions, 279,527.70 tCO2. The same cleared generation total does not mean that the AC network state is unchanged. The decrease in coal- and oil-fired generation is not only a loss-reduction effect. In Case 4, the UPFC lowers losses and redistributes branch flows, while the PCOPF constraints keep the dispatch feasible under the selected contingency. Coal and oil generation decrease to 53,592.26 MWh and 10,024.63 MWh, while gas generation increases slightly to 115,880.91 MWh. The refund reaches TWD 7,362,845, the highest value among the four cases. The carbon-trading expenditure remains high, at TWD 34,607,162, but the generator-side profit is still positive at TWD 11,000,763. Thus, Case 4 is not the most profitable dispatch from the generator-side perspective. Relative to Case 1, it reduces line losses by 21.55% and carbon emissions by 7.13%, while generator-side profit decreases from TWD 68,615,167 to TWD 11,000,763. The case therefore shows that lower emissions and stronger post-contingency security are obtained with a lower generator-side profit.
The role of contingency-constrained PCOPF is clearer in the post-contingency results. The outage of line No. 56 is taken as an example. Figure 8 and Figure 9 compare the line-flow and bus-voltage distributions with and without PCOPF.
Figure 8 shows that, without PCOPF, the outage produces overloads on line No. 19 and line No. 63, where the flows rise to 0.8729 p.u. and 0.7365 p.u., exceeding their limits of 0.8 p.u. and 0.65 p.u., respectively. After PCOPF is imposed, these values fall to 0.7533 p.u. and 0.6365 p.u. The overloads disappear.
Figure 9 shows a similar contrast in the voltage profile. Without PCOPF, bus No. 3, bus No. 13, and bus No. 17 exceed their upper voltage limits, reaching 1.0238 p.u., 1.0312 p.u., and 1.0344 p.u., respectively. With PCOPF, they are reduced to 1.0190 p.u., 1.0182 p.u., and 1.0198 p.u. No voltage-limit violation remains in the post-contingency state. These changes show that the PCOPF part mainly improves the screened post-contingency security, while the UPFC mainly affects the loss and emission-related indices.
Overall, the UPFC mainly affects losses and emission-related settlements, while PCOPF removes the screened post-contingency violations. Using both gives a lower-emission and secure operating point, but not the highest generator-side profit.

5.3. Full-Year Average Load Results

Table 3 extends the comparison to the full-year horizon. The same load-side cleared energy and market price are used in all cases, so the differences mainly come from expenditures, carbon settlement, line losses, emissions, and the fuel-dispatch structure.
Case 1 remains the economic reference. Without a UPFC and without contingency-constrained PCOPF, it yields the highest generator-side profit, 7.4913 × 109 TWD. That result comes with the weakest physical performance in the table. Line losses reach 9.6251 × 106 MWh. The allocated carbon allowance and total carbon emissions rise to 11.2239 × 107 tCO2 and 1.1224 × 108 tCO2, respectively. Carbon trading is almost absent in this case.
In Case 2, the introduction of a UPFC changes the full-year operating indices. The generator-side profit decreases to TWD 5.871 × 109. Under the adopted settlement setting, the market-cleared total generation is 2.0363 × 108 MWh, while the ECI-based line loss is reduced to 7.8271 × 106 MWh. Total carbon emissions decrease to 1.049 × 108 tCO2, and the refund increases to TWD 4.2182 × 109. Over the full-year horizon, the effect of UPFC is therefore observed mainly in lower losses and improved emission-related indices.
Case 3 reflects the effect of contingency-constrained PCOPF alone. Its influence on the annual energy and emission indices is much smaller. The market-cleared total generation is 2.0548 × 108 MWh, line losses are 9.5302 × 106 MWh, and total carbon emissions are 1.1207 × 108 tCO2. The generator-side profit drops further, to 2.2192 × 109 TWD. A notable point is that both carbon-trading volume and carbon-trading expenditure become zero. The dispatch is more secure but also more conservative.
Case 4 reflects the joint effect of a UPFC and contingency-constrained PCOPF. Line losses decrease to 7.5513 × 106 MWh, which is the lowest value among the four cases. The market-cleared total generation remains the same as in Case 2; however, the lower loss level suggests that PCOPF modifies the feasible network operating point after UPFC installation rather than changing the cleared energy quantity itself. The allocated carbon allowance decreases to 7.5256 × 107 tCO2, and total carbon emissions fall to 1.0424 × 108 tCO2. Coal and oil outputs are further reduced, while the gas output increases slightly to 48.2772 × 106 MWh. The refund reaches TWD 4.419 × 109, the highest value in Table 3. Although generator-side profit decreases to TWD 1.201 × 109, it remains positive.
The full-year results follow the same pattern as the annual daily average load case. The UPFC reduces losses and emissions, while PCOPF provides the screened contingency security. The coordinated case still gives the lowest loss and emission levels, with a lower but positive generator-side profit.
The economic results are tied to the carbon price, allowance rule, and benefit-sharing coefficient used in this study. The changes in branch flows, losses, and emissions come from the ECI-based network solution. The carbon-trading expenditure, refund, transmission-side settlement, and generator-side net benefit are settlement results, so their values will change if the carbon price or allocation rule is changed. UPFC investment and operating costs are not included here, since the paper deals with dispatch-stage carbon settlement, not long-term device investment planning.

6. Conclusions

This study examined how UPFC-induced changes in transmission flows affect carbon-trading settlement under preventive security constraints. The research problem was not simply to add carbon accounting to an OPF result, but to calculate how branch-flow redistribution changes network losses, thermal generation, emissions, allowance balance, trading volume, and settlement cost. For this purpose, a UPFC-assisted preventive contingency-constrained OPF model was formulated in an equivalent current injection form, and SLABC-FR was used to handle the resulting constrained search problem.
In the algorithm comparison, SLABC-FR reached the low-cost region earlier than GA, PSO, and ABC, and obtained the highest generator-side net benefit among the compared methods. The candidate-line screening selected line No. 59 as the UPFC installation corridor. The operating cases further show different roles of the two control factors. The UPFC mainly reduces network losses and emission-related indices, while preventive PCOPF removes post-contingency overloads and voltage-limit violations. When both are used, the result is not the highest short-term generator-side profit, but a more balanced dispatch with lower losses, lower emissions, and secure post-contingency operation.
The Taipower 345 kV results show the transmission-to-carbon path. UPFC control changes branch flows and losses; the changed loss level modifies thermal generation; and the new generation schedule changes emissions, allowance balance, trading volume, and settlement cost. Carbon settlement therefore changes with the dispatch variables that determine network losses and contingency feasibility. This is the main difference from a sequential treatment in which OPF is solved first and carbon accounting is added afterward. Further work will extend the model to multiple severe contingencies, time-varying carbon prices, and several controllable transmission devices.
Although a Pareto frontier between generator-side profit and carbon emissions can provide additional multi-objective insight, the present study adopts a single-objective settlement formulation in which the carbon-price signal converts emissions into carbon-trading expenditure. Therefore, the profit–emission trade-off is reflected through the generator-side net benefit rather than through a separate Pareto analysis.

Author Contributions

Conceptualization, K.-H.L.; methodology, K.-H.L., W.Q. and X.L.; software, L.Y.; validation, W.Q., J.W., X.L. and L.A.; formal analysis, K.-H.L., W.Q., L.Y. and L.A.; investigation, L.Y., L.A. and J.W.; data curation, L.Y., L.A. and J.W.; writing—original draft preparation, L.Y. and L.A.; writing—review and editing, K.-H.L., W.Q., J.W. and X.L.; visualization, J.W. and L.A.; supervision, K.-H.L. and X.L.; project administration, K.-H.L. All authors have read and agreed to the published version of the manuscript.

Funding

The project was supported by the Technology Innovation Team of Minnan University of Science and Technology (No. 2024XTD159).

Data Availability Statement

All data supporting the reported results are included in the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Reproducibility Settings and Algorithm Parameters

The shared settings were as follows: population size = 50, maximum iteration number kmax = 300, stopping rule = maximum iteration reached or no improvement in 20 consecutive iterations, equality-constraint penalty coefficient ρeq = 1.0 × 107, inequality-constraint penalty coefficient ρin = 1.0 × 106, equality-feasibility tolerance = 10−6, and inequality-feasibility tolerance = 10−4. Candidate solutions violating variable bounds were projected back to the admissible range before evaluation.
Table A1. Algorithm-specific parameter settings used in the optimization tests.
Table A1. Algorithm-specific parameter settings used in the optimization tests.
AlgorithmParameterValue
GASelection methodTournament
Tournament size3
Crossover rate0.8
Mutation rate0.05
Elitism count2
PSOInertia weight ωLinearly decreased from 0.90 to 0.40
Cognitive coefficient c12
Social coefficient c22
Velocity limit20% of variable range
ABCScout limit L40
Perturbation factor range ϕij[−1, 1]
SLABC-FRScout limit L40
Learning coefficientsUpdated adaptively by Equations (54) and (55)
Repair strategybound projection + power-balance redistribution + carbon-trading repair
CategoryParameterValue/Setting
Electricity priceAverage IPP price3.56 TWD/kWh
Electricity priceSummer–autumn price3.70 TWD/kWh
Electricity priceSpring–winter price2.68 TWD/kWh
Carbon benefit allocationηt0.5
Coal heat-rate coefficienta, b, c, d182.25, 2.68515, 0.000385155, −9.86175 × 10−8
Oil heat-rate coefficienta, b, c, d158.76, 2.70675, 0.000257715, −1.85895 × 10−7
Gas heat-rate coefficienta, b, c, d237.06, 2.57175, 4.35915 × 10−5, −5.4945 × 10−8
Carbon emission factorCoal25.8 kgC/GJ; oxidation rate 0.98
Carbon emission factorOil21.1 kgC/GJ; oxidation rate 0.99
Carbon emission factorGas15.3 kgC/GJ; oxidation rate 0.995
Carbon-trading limitsHourly purchasing/selling limitsAdopted from the hourly settlement data used in the simulations
Load demandSeasonal 24 h load profileAdopted from the seasonal load data used in the simulations
Table A2. Statistical comparison of algorithms based on minimum operating cost over 30 independent runs.
Table A2. Statistical comparison of algorithms based on minimum operating cost over 30 independent runs.
AlgorithmBest Cost (106 TWD)Mean Cost (106 TWD)Worst Cost (106 TWD)Std. Dev. (106 TWD)Feasibility Rate (%)Mean CPU Time (s)Mean Convergence Iteration
GA496.42497.65510.082.3593.3318.76186
PSO495.39497.55499.830.5896.6716.4292
ABC494.41497.56501.911.0196.679.35108
SLABC-FR496.34497.45499.610.4510015.8461

References

  1. International Energy Agency (IEA). Global Energy Review 2025. Available online: https://www.iea.org/reports/global-energy-review-2025 (accessed on 1 May 2026).
  2. International Renewable Energy Agency (IRENA). Policy. Available online: https://www.irena.org/Energy-Transition/Policy (accessed on 1 May 2026).
  3. National Development Council, Taiwan. Taiwan’s Pathway to Net-Zero Emissions in 2050. Available online: https://www.ndc.gov.tw/en/Content_List.aspx?n=B154724D802DC488 (accessed on 1 May 2026).
  4. Global Taiwan Institute. On the Path to Net Zero: Will Taiwan Reach Its Goal? Available online: https://globaltaiwan.org/2023/08/on-the-path-to-net-zero-will-taiwan-reach-its-goal/ (accessed on 1 May 2026).
  5. International Energy Agency. Chinese Taipei. Available online: https://www.iea.org/countries/chinese-taipei (accessed on 17 May 2026).
  6. Zahedibialvaei, A.; Trojovský, P.; Hesari-Shermeh, M.; Matoušová, I.; Trojovská, E.; Hubálovský, Š. An enhanced turbulent flow of water-based optimization for optimal power flow of power system integrated wind turbine and solar photovoltaic generators. Sci. Rep. 2023, 13, 14635. [Google Scholar] [CrossRef] [PubMed]
  7. Trojovský, P.; Trojovská, E.; Akbari, E. Economical-environmental-technical optimal power flow solutions using a novel self-adaptive wild geese algorithm with stochastic wind and solar power. Sci. Rep. 2024, 14, 4135. [Google Scholar] [CrossRef] [PubMed]
  8. Huang, L.; Lai, C.S.; Zhao, Z.; Yang, G.; Zhong, B.; Lai, L.L. Robust N − k security-constrained optimal power flow incorporating preventive and corrective generation dispatch to improve power system reliability. CSEE J. Power Energy Syst. 2023, 9, 351–364. [Google Scholar] [CrossRef]
  9. Chen, Y.; Du, Q.; Liu, H.; Cheng, L.; Younis, M.S. Improved proximal policy optimization algorithm for sequential security-constrained optimal power flow based on expert knowledge and safety layer. J. Mod. Power Syst. Clean. Energy 2024, 12, 742–753. [Google Scholar] [CrossRef]
  10. Alizadeh, M.I.; Capitanescu, F. Affinely adjustable robust optimization for constraint filtering in AC security constrained optimal power flow under uncertainties. IEEE Trans. Power Syst. 2025, 40, 1118–1129. [Google Scholar] [CrossRef]
  11. Syllignakis, J.E.; Kanellos, F.D. Operation analysis of power systems with HVDC interconnections using a transient stability aware OPF method. Energies 2024, 17, 5279. [Google Scholar] [CrossRef]
  12. European Commission. EU Emissions Trading System (EU ETS); European Commission: Brussels, Belgium, 2022. [Google Scholar]
  13. Bordignon, M.; Gamannossi degl’Innocenti, D. Third Time’s a Charm? Assessing the Impact of the Third Phase of the EU ETS on CO2 Emissions and Performance. Sustainability 2023, 15, 6394. [Google Scholar]
  14. Cao, C.; Han, W.; Liu, Y. Impact of carbon trading market on photovoltaic power generation under grid parity policy. In Proceedings of the 2022 Power System and Green Energy Conference (PSGEC), Shanghai, China, 25–27 August 2022. [Google Scholar]
  15. Li, Q.; Zhao, F.; Zhang, L.; Zhang, X.; Liu, J.; Chen, Y. Dynamic carbon emission measurement and optimal dispatching of power systems considering dual-carbon targets. IEEE Access 2025, 13, 91200–91214. [Google Scholar] [CrossRef]
  16. Zhang, Y.; Sun, P.; Ji, X.; Wen, F.; Yang, M.; Ye, P. Low-carbon economic dispatch of integrated energy systems considering extended carbon emission flow. J. Mod. Power Syst. Clean Energy 2024, 12, 1798–1809. [Google Scholar] [CrossRef]
  17. Han, Z.; Yao, X.; Li, C.; Yuan, S.; Dong, Y.; Ma, S. Optimal dispatch strategy of wind-hydrogen coupling system considering stepped carbon trading mechanism. IEEE Trans. Appl. Supercond. 2024, 34, 5702104. [Google Scholar] [CrossRef]
  18. Muangkhiew, P.; Chayakulkheeree, K. Enhanced carbon-accounted auction-based dispatch and spot pricing using stochastic optimizations. IEEE Trans. Ind. Appl. 2025, 61, 8555–8569. [Google Scholar] [CrossRef]
  19. Jiang, K.; Liu, N.; Yan, X.; Xue, Y.; Huang, J. Modeling strategic behaviors for GenCo with joint consideration on electricity and carbon markets. IEEE Trans. Power Syst. 2023, 38, 4724–4738. [Google Scholar] [CrossRef]
  20. Aydin, F.; Karatekin, C. Strategic integration of distributed generation in a deregulated power market: An agent-based approach. IEEE Access 2024, 12, 184755–184775. [Google Scholar] [CrossRef]
  21. Niu, T.; Li, H.; Chen, G.; Fang, S.; Liao, R. Pricing and distributed scheduling framework of multi-microgrid system based on coupled electricity-carbon market. J. Mod. Power Syst. Clean Energy 2025, 13, 1026–1039. [Google Scholar] [CrossRef]
  22. Chang, W.; Yang, Q. Coordinated electricity and carbon emission management for active power distribution systems considering local carbon trading. Prot. Control Mod. Power Syst. 2026, 11, 175–188. [Google Scholar] [CrossRef]
  23. Yang, Y.; Pan, L. An evolutionary game model of market participants and government in carbon trading markets with virtual power plant strategies. Energies 2024, 17, 4464. [Google Scholar] [CrossRef]
  24. Liu, Z.-F.; Li, L.-L.; Liu, Y.-W.; Liu, J.-Q.; Li, H.-Y.; Shen, Q. Dynamic economic emission dispatch considering renewable energy generation: A novel multi-objective optimization approach. Energy 2021, 235, 121407. [Google Scholar]
  25. Alajrash, B.H.; Salem, M.; Swadi, M.; Senjyu, T.; Kamarol, M.; Motahhir, S. A comprehensive review of FACTS devices in modern power systems: Addressing power quality, optimal placement, and stability with renewable energy penetration. Energy Rep. 2024, 11, 5350–5371. [Google Scholar] [CrossRef]
  26. Lu, K.-H.; Hong, C.-M.; Lian, J.; Cheng, F.-S. A review of synergies between advanced grid integration strategies and carbon market for wind energy development. Energies 2025, 18, 590. [Google Scholar] [CrossRef]
  27. Tang, Z.; Yin, Y.; Chen, C.; Liu, C.; Li, Z.; Shi, B. A synergistic planning framework for low-carbon power systems: Integrating coal-fired power plant retrofitting with a carbon and green certificate market coupling mechanism. Energies 2025, 18, 2403. [Google Scholar] [CrossRef]
  28. Castañón, G.; Sarmiento, A.M.; Martínez-Herrera, A.F.; Aragón-Zavala, A.; Lezama, F.; Vale, Z. Comparative analysis of metaheuristics for solving the optimal power flow with renewable sources and valve-point constraints. IEEE Access 2024, 12, 99422–99438. [Google Scholar] [CrossRef]
  29. Somathilaka, S.P.; Senarathna, N.T.; Wijekoon Banda, H.M.; Udayanga Hemapala, K.T.M. Enhanced particle swarm optimization for minimizing governor actuation in hydropower plants under renewable energy intermittency. IEEE Access 2026, 14, 27005–27022. [Google Scholar] [CrossRef]
  30. Alatwi, A.M.; Albalawi, H.; Wadood, A.; Atawi, I.E.; Alatawi, K.S.S. Novel GBest–Lévy adaptive differential ant bee colony optimization for optimal allocation of electric vehicle charging stations and distributed generators in smart distribution systems. Energies 2025, 18, 6018. [Google Scholar] [CrossRef]
  31. Lin, W.M.; Teng, J.H. Three-phase distribution network fast-decoupled power flow solutions. Int. J. Electr. Power Energy Syst. 2000, 22, 375–380. [Google Scholar]
  32. Alhejji, A.; Hussein, M.E.; Kamel, S.; Alyami, S. Optimal power flow solution with an embedded center-node unified power flow controller using an adaptive grasshopper optimization algorithm. IEEE Access 2020, 8, 119020–119037. [Google Scholar] [CrossRef]
  33. Taiwan Power Company. Available online: http://www.taipower.com.tw/ (accessed on 1 May 2026).
  34. Papazoglou, G.; Biskas, P. Review and comparison of genetic algorithm and particle swarm optimization in the optimal power flow problem. Energies 2023, 16, 1152. [Google Scholar] [CrossRef]
Figure 1. π-equivalent model of transmission line.
Figure 1. π-equivalent model of transmission line.
Processes 14 02231 g001
Figure 2. Steady-state configuration of the UPFC.
Figure 2. Steady-state configuration of the UPFC.
Processes 14 02231 g002
Figure 3. Equivalent circuit of the UPFC integrated with the transmission line.
Figure 3. Equivalent circuit of the UPFC integrated with the transmission line.
Processes 14 02231 g003
Figure 5. Structure of the Taipower 345 kV transmission system.
Figure 5. Structure of the Taipower 345 kV transmission system.
Processes 14 02231 g005
Figure 6. Convergence of minimum operating cost for different algorithms.
Figure 6. Convergence of minimum operating cost for different algorithms.
Processes 14 02231 g006
Figure 7. Convergence curves of generator-side net benefit for different algorithms.
Figure 7. Convergence curves of generator-side net benefit for different algorithms.
Processes 14 02231 g007
Figure 8. Post-contingency line-flow profile under line No. 56 outage.
Figure 8. Post-contingency line-flow profile under line No. 56 outage.
Processes 14 02231 g008
Figure 9. Post-contingency voltage profile under line No. 56 outage.
Figure 9. Post-contingency voltage profile under line No. 56 outage.
Processes 14 02231 g009
Table 1. Economic performance comparison of the top five retained candidate lines for UPFC installation.
Table 1. Economic performance comparison of the top five retained candidate lines for UPFC installation.
Candidate LineMin. Net Benefit (TWD)Avg. Net Benefit (TWD)Max. Net Benefit (TWD)
No. 599,886,52211,000,76312,118,504
No. 310,088,53010,758,66511,900,763
No. 610,256,01110,702,89913,008,204
No. 589,976,30210,615,80111,185,025
No. 159,985,23610,588,96012,559,210
Table 2. Annual daily average load test results.
Table 2. Annual daily average load test results.
MetricsCase 1Case 2Case 3Case 4
Total profit of power generators (TWD)68,615,16753,773,92820,326,51611,000,763
Total revenue of power generators (TWD)1,774,734,9601,774,734,9601,774,734,9601,774,734,960
Total expenditure of power generators (TWD)1,706,119,7931,720,961,0321,754,408,4441,763,734,197
Carbon-trading expenditure (TWD)135033,447,412034,607,162
Refund (TWD)07,028,19307,362,845
Total gross dispatched generation (MWh)573,873.8567,026.92572,179.31567,026.92
Taipower gross dispatched generation (MWh)372,871.13365,384.69371,581.58365,384.69
IPP gross dispatched generation (MWh)201,002.67201,642.23200,597.73201,642.23
Line losses (MWh)27,126.5522,059.1826,859.0321,281.92
Dispatch-based carbon allowance benchmark (tCO2)300,985.71205,920.66300,522.27201,538.56
Total carbon emissions of all generators (tCO2)300,988.72281,296.24300,522.27279,527.7
Carbon-trading volume (tCO2)3.0175,375.58077,989.14
Coal (MWh)57,862.9556,262.9557,162.9553,592.26
Oil (MWh)13,174.1512,874.1513,274.1510,024.63
Gas (MWh)115,167.45114,367.45115,367.45115,880.91
The four cases are designed to separate the transmission-to-settlement effect of UPFC control from the security effect of preventive PCOPF.
Table 3. Full-year average load test results.
Table 3. Full-year average load test results.
MetricsCase 1Case 2Case 3Case 4
Total profit of power generators (109 TWD)7.49135.8712.21921.201
Total revenue of power generators (1011 TWD)6.3896.3896.3896.389
Total expenditure of power generators (1011 TWD)6.31416.33036.36686.377
Carbon-trading expenditure (109 TWD)0.000412.427012.8601
Refund (109 TWD)04.218204.419
Total gross dispatched generation (108 MWh)2.06092.03632.05482.0363
Taipower gross dispatched generation (108 MWh)1.32351.29691.31891.2969
IPP gross dispatched generation (107 MWh)7.37427.39777.35937.3977
Line losses (106 MWh)9.62517.82719.53027.5513
Dispatch-based carbon allowance benchmark (107 tCO2)11.22397.689211.2077.5256
Total carbon emissions of all generators (108 tCO2)1.12241.0491.12071.0424
Carbon-trading volume (107 tCO2)0.00012.800802.8984
Coal (106 MWh)12.38512.042512.235211.4709
Oil (106 MWh)6.86656.71016.91865.2249
Gas (106 MWh)47.9847.646748.063348.2772
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

Lu, K.-H.; Qian, W.; Wu, J.; Yu, L.; An, L.; Lin, X. Transmission-State-Dependent Carbon-Trading Settlement in UPFC-Assisted Preventive Optimal Power Flow. Processes 2026, 14, 2231. https://doi.org/10.3390/pr14142231

AMA Style

Lu K-H, Qian W, Wu J, Yu L, An L, Lin X. Transmission-State-Dependent Carbon-Trading Settlement in UPFC-Assisted Preventive Optimal Power Flow. Processes. 2026; 14(14):2231. https://doi.org/10.3390/pr14142231

Chicago/Turabian Style

Lu, Kai-Hung, Wenjun Qian, Jiajue Wu, Lei Yu, Lingling An, and Xiaomei Lin. 2026. "Transmission-State-Dependent Carbon-Trading Settlement in UPFC-Assisted Preventive Optimal Power Flow" Processes 14, no. 14: 2231. https://doi.org/10.3390/pr14142231

APA Style

Lu, K.-H., Qian, W., Wu, J., Yu, L., An, L., & Lin, X. (2026). Transmission-State-Dependent Carbon-Trading Settlement in UPFC-Assisted Preventive Optimal Power Flow. Processes, 14(14), 2231. https://doi.org/10.3390/pr14142231

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