Proﬁt Extension of a Wind-Integrated Competitive Power System by Vehicle-to-Grid Integration and UPFC Placement

: Proﬁt maximization is critical in the control of power system networks for both power providers and users. Electrical energy is freely accessible in the electrical grid during oﬀ-peak hours, with storage units helping to store excess energy and assist the electrical grid during high-demand situations. Such techniques promote grid stability and ensure safe operation. Because renewable resources are intermi�ent, energy storage technologies are especially signiﬁcant in renewable-asso-ciated power systems. Vehicle-to-grid (V2G) technology has recently acquired popularity in preserving power grid stability in the presence of renewable resources.V2G technology employs auto-mobiles as mobile storage devices and focuses on the eﬃcient utilization of extra power available during oﬀ-peak hours. The goal of this work is to improve the functioning of a V2G system in a power network to reduce energy production costs while increasing system proﬁtability. This study for deregulated power environments also depicts the inﬂuence of V2G mixing on system voltage proﬁle and locational marginal pricing (LMP), as well as the performance of the Uniﬁed Power Flow Controller (UPFC) on system economics. The MiPower simulation program is used in the study to ﬁnd the best placement of the power storage unit for the modiﬁed IEEE 14-bus system.


Introduction
At present, thermal energy is the most common type of energy produced in power systems.The market's major source of electricity is fossil fuel-based energy.However, because of worries about CO2 emissions and global warming, international leaders are pressing people to switch to renewable energy sources to limit the depletion rate of nonrenewable energy sources.Wind power is regarded as one of the most efficient renewable energy sources.However, renewable energy sources are frequently intermi ent, necessitating the use of energy storage devices to manage surplus energy output during periods of availability.This method enables energy saving during low peak demand periods and utilization during high peak demand periods.Furthermore, determining the best location for renewable energy sources and storage facilities is critical to increasing overall efficiency.The regulated electricity environment is shifting to a competitive one, known as the deregulated system, to increase financial gains for power producers and customers.Because customers have no option under a controlled system, a single corporation dominates the electrical market, inflicting a burden on consumers.However, with the deregulation of the energy sector, customers have been able to choose from several a ractive solutions.Customers in a competitive electrical system can choose their power producers depending on parameters such as power production cost or quality.
In the renewable integrated deregulated system, the combined operation of wind farms and thermal power plants poses a substantial problem due to their volatile nature.This may aggravate system instability and security issues.In this scenario, vehicle-to-grid (V2G) technology can provide a feasible alternative by supplying additional power to the electric grid when renewable sources are unavailable.V2G technology works by discharging electric vehicles (EVs) and transferring electricity to the grid.This procedure can boost system voltage to keep it at a safe level and sustain grid frequency by supplying extra power to the power network.This technology involves feeding power to an EV's ba ery and returning it to the grid while the vehicle is in motion.This approach is part of a smart grid that uses information technology to manage energy use.EVs have two distinct advantages.For starters, bidirectional charging and V2G allow a building's energy management system to be raised and intelligently managed without the need for large, expensive infrastructure expenditures.Second, bidirectional charging lowers the cost of operating power.
Recent studies have been undertaken in the fields of renewable energy and storage technologies.The fluctuating nature of renewable energy sources poses considerable challenges to the integration of renewable energy into power networks.Wind energy is the most important and fastest-growing form of renewable energy [1].Currently, the grid energy storage system can provide around 125 GW or approximately 3% of the world's energy generating capacity.Pumped storage hydropower plants are the most frequent and widely used type of energy storage equipment [2].The ba ery-based energy storage transport (BEST) technology has been introduced in the power network to improve the usage of variable renewable energy (VRE) and load shifting.BEST is also a promising approach for dealing with transmission line congestion [3].As renewable energy sources such as wind and solar power become more prevalent, the need for ancillary services to manage their increased variability and unpredictability becomes increasingly essential [4].Developing countries have set lofty goals to assess the impact of large-scale renewable energy on economic growth and fulfill rising power demand [5].The authors of the paper [6] focused on optimizing societal welfare and profit by lowering generation costs in a renewable energy system.The study investigated the notion of double-sided bidding, as well as its influence on local marginal pricing and system congestion.Furthermore, the viability of the suggested technique was assessed using thyristor-controlled series capacitors (TCSC) and unified power flow controllers (UPFC).
As indicated by the emergence of new ba ery technologies for power grid deployment [7], the present trend toward power grid energy storage solutions has grown increasingly crucial.This study provides a multiyear transmission planning model that takes four distinct grid charge methods to reduce system expenses.The model accounts for variations in solar and wind generation [8].Despite their economic appeal in comparison to alternative storage systems and conventional frequency control methods, lithiumion ba eries represent a significant obstacle to their usage in this se ing [9].Only a few windy locations can compete economically with conventional power generation.This article examines wind turbine cost structures, including turbine life and operating, and maintenance expenses [10].The researchers of [11] suggest that the effectiveness of V2G systems is around 60-70%, although this number is affected by a variety of circumstances.Paper [12] suggests combining energy storage devices with renewable energy sources in a competitive power system to deliver electricity to thermal power plants at the lowest possible cost while maximizing societal benefits.The existing scenario, multiple problems, regulatory measures, and incentives for developing renewable energy in a competitive electrical system are all discussed in this paper [13].The research looks towards developing an optimization model that takes into account both the load scheduling on the EV consumer side and routing on the generator side [14].
According to the study, running an alternative power system during an emergency, and using local resources to meet local power demand can influence the course of events.PEVs can serve as mobile power producers, although distributed generators (DGs) such as solar panels or wind farms can also create electricity [15].With the depletion of nonrenewable resources and the growth in environmental degradation, the use of renewable energy sources has increased significantly in recent years.The lead-acid ba ery, which is extensively used in electric cars throughout the world, is being abandoned at an alarming rate of 99% in the United States and Europe [16].The authors [17] debate the design of a supercapacitor energy storage system (SCESS) in the work and discover that the PEV is the only energy storage system that can be recycled and has a larger energy storage capacity [18].FACTS devices have been utilized to satisfy energy demands while lowering voltage variation, power losses, and operational expenses.These devices are well-known for their outstanding control and ability to increase power transfer capabilities via power electronic converters.Gandoman [19] conducted a literature review on the use of FACTS devices and power quality applications in renewable energy systems to improve efficiency and effectiveness.In his research, Hossain [20] investigated many control theories for FACTS devices.It is critical to determine the best place for pu ing FACTS devices to maximize their advantages.Benabid [21] used a nondominated sorting particle swarm optimization (PSO) method in his research to discover the optimal location of SVC and TCSC to overcome this issue.Shehata [22] suggested a unique hybrid heuristic method in a multiobjective framework that combines Autonomous Groups Particle Swarm and Grey Wolf optimizers (AGPSO-GWO).This technique is used in power grids to allocate FACTS controllers to reduce active power system losses, voltage variation, and total operating expenses.
Dawn [23] developed an optimization approach for determining the appropriate location and parameter se ings of TCSCs in a deregulated power market that includes wind power producers in the system.In the study, Luburi [24] conducted an in-depth examination of the influence of energy storage and FACTS devices on the economic performance of power systems and the exploitation of renewable energy sources.Sulaiman [25] proposed using several metaheuristic algorithms to tackle optimum power flow issues in power systems using FACTS devices.Transmission loss and generating cost were the objective functions considered.Shashank [26] showed in his research that TCSCs may improve transmission line transient stability and Available Transfer Capability (ATC).Paper [27] provides a three-level intelligent framework based on gameplay to evaluate individual and joint tactics of power makers while taking network and physical restrictions into consideration.Ref. [28] describes a simulation model that was used in the design of transactive energy system (TES) architecture.The suggested technique provides for the integration of diverse domains connected with smart grids, while the combined usage of simulation tools that comprise a multidomain system allows for the evaluation of control actions, optimization algorithms, load flow, and communication infrastructure.The study [29] takes the solar PV prediction and the likelihood of EV arrival to improve the operation of an off-grid, solar PV-based commercial CS with a ba ery energy storage system (BESS) to maximize profit.Work [30] provides a profit maximization model for a Decentralized Electric Vehicle Supply Equipment (D-EVSE) outfi ed with a renewable energy system, such as a solar energy system.The authors have developed a Decentralized Profit Maximization Algorithm (DPMA) to assist D-EVSEs in profiting from variations in power prices during the day while selling or purchasing electricity to EVs or from the grid or EVs as discharging procedures.Lai et al. [31] describe a unique deep reinforcement learningbased power scheduling technique for BESS in an active distribution network.The network incorporates quick EV charging demand, PV power generation, and main grid electricity arbitrage.Electricity import from the grid is reduced by recognizing the optimal combination of DG resources such as photovoltaic (PV), wind energy resources, ba eries and microturbines, and incorporation of demand response (DR) programs with optimal scheduling of plug-in hybrid electric vehicles (PHEVs) [32].The proposed DR program minimizes imported power during peak hours by transferring nonemergency loads, known as controlled loads here, to off-peak hours, resulting in lower import costs.
Using vehicle-to-grid (V2G) systems, a strategy for smoothing the volatility of largescale wind generation is examined in [33].First, a system for energy management and optimization is created and modeled.The desired grid-connected wind power, necessary electric vehicle (EV) power, and supercapacitor power are calculated using the wavelet packet decomposition method.Paper [34] presents a simple and comprehensive technique for determining the best investment and operation of residential building tenants while moving from automobile ownership to an e-car-sharing system.The research models in [35] present an electric vehicle (EV)-based ba ery storage as a V2G system for use in longterm dynamic power system simulations.It is also examined for power system control services in the Western Danish power system on typical days with high and low wind output.Work [36] proposes a method for implementing electric vehicles and stationary ba ery storage in optimization problems using linear relationships, and it is applied to a real-world use case with measurable data to demonstrate its efficacy.The influence of power exchange between EV load aggregators and all-producing businesses in single and multiple strategic corporations on electricity market equilibria is investigated in [37].To study this method, two levels are put into the power market: the wholesale layer and the EV layer.
Following a thorough review of the literature, it was determined that several studies in the fields of renewable energy and competitive power systems have been conducted in recent years by researchers.There is, however, a research gap that has been filled in this work.The following are the key considerations of this research:


The prime goal of this research is to optimize the system profit of a wind-associated competitive power system while accounting for imbalanced pricing.


Profitability in the electrical system may be increased by using renewable energy, and profitability differs between regulated and deregulated contexts.This tendency is caused by the competitiveness that exists in a deregulated economy.


Because wind energy is unpredictable, it generates a pricing imbalance in the system, which directly affects the system's profit.


The goal of this research is to lower the imbalance price while increasing profit by applying optimal V2G operation and UPFC placement. V2G technology is used to alleviate pricing imbalances by executing bidirectional power operations between electric cars and the grid based on power demand.Furthermore, UPFC has been included in the system to optimize system profit by lowering congestion expenses.


The primary goal of this strategy is to supply the greatest possible green electricity at the best possible price while pleasing both power producers and customers.
This paper is organized into various sections by topic.Section 1 focuses on the background research and emphasizes the most important aspects of this study.Section 2 describes the mathematical technique used to validate the work given.Section 3 presents the objective functions in conjunction with the relevant limitations.Section 4 describes the planned work's step-by-step methods.Sections 5 and 6 show V2G integration technology and the results gained by including EVs and UPFC, both singly and in combination.The final section presents the results of this investigation.
The work includes both regulated and deregulated environments.Different market participants, including market controllers, are present in the deregulated electricity environment.The whole scheme was completed for the IEEE 14-bus system.When the system was transformed from regulated to deregulated, the system data were converted.Following that, the optimal power flow was solved using the MiPower program, and the remaining work was completed based on the optimal value obtained from the OPF solution.

Mathematical Modeling
This section presents comprehensive analyses regarding the mathematical modeling of wind farms, the V2G system, and the UPFC static model.

Wind Farm
The wind farm is in operation and functions based on wind speed in a specific location.Initially, Vijayawada in Andhra Pradesh, India, the home of Velagapudi Ramakrishna Siddhartha Engineering College, was selected for data collection on wind speed.To carry out this process, information on current wind speeds (CWSs) and estimated wind speeds (EWSs) was gathered at a height of 10 m in real time.Furthermore, the analysis took into account that the hub height of wind turbines (h) in India is generally 120 m.Equation ( 1) can be utilized to calculate the wind speed at 120 m.
The wind velocity at a height h can be denoted as Wsh, where Ws10 represents the wind velocity at a height of 10 m.Additionally, N is representative of the Hellman coefficient, which is equivalent to 0.143.Measuring the power generated by the wind farm, denoted as WP, can be achieved as elucidated in (2).
In this particular context, the symbol 'AD' represents air density while 'a' pertains to the swept area of a wind turbine, and 'e' represents wind farm efficiency.For this discussion, 'AD' has been established to be equivalent to 1.226 kg/m 3 , 'e' has been assumed to be 0.51, and the rotor radius (r) of the turbine has been established as 40 m.According to a report from [6], the wind farm's investment cost is estimated to be 3.75 $/MWh.

V2G System
In a vehicle-to-grid (V2G) system, power can flow in a bidirectional fashion, necessitating the use of controlled converters in most V2G systems.The total power output of a V2G system is expounded upon in the following subsections.

Charging Mode:
During the charging process, the electric vehicle's ba ery receives power from the grid.The charging station, which offers a low locational marginal pricing (LMP), can significantly improve the economic sustainability of the system, as stated in (3).
Herein, PDi refers to the aggregate power demand of the ith bus, while pdi denotes the power demand of the ith bus.Additionally, C represents the capacity of the electric vehicle ba ery that necessitates charging.

Discharging Mode:
During the process of discharging, the electrical power is transferred from the electric vehicle ba ery towards the electrical grid.It is imperative to note that, to ensure optimal functionality, the ba ery should not be fully discharged.The constraints of efficiency ought to be adhered to stringently, not only concerning the internal efficiency of the electric vehicle ba ery but also for the stable operation of the converters that are present within the system.The average efficiency emanating from both the electric vehicle ba ery and the converter will have a direct impact on the discharge of the ba ery toward the grid.This relationship has been explicitly expounded in (4).
Here, E is the overall ba ery efficiency.Different types of ba eries are used in EVs.Table 1 shows some parameters related to different types of ba eries that can be used for V2G applications [16].In the mentioned paper, lead-acid and lithium-ion ba eries have been compared in terms of performance and profit maximization for both the utility and the consumers.In addition, supercapacitors have also been used for comparison since they have an efficiency of 97.94% [17].Here, the overall efficiency has been obtained by averaging the efficiencies of the V2G system (efficiency of 70%) [11] and the efficiencies of different ba eries.

Locatioaln Marginal Price (LMP)
Locational Marginal Price (LMP) is a pricing mechanism utilized in electricity markets worldwide to determine the cost of electricity at specific locations within the grid.This method takes into consideration various factors, such as the expense associated with transporting electricity from the point of generation to the point of consumption, demand, and available capacity.It allows for the establishment of the market clearing price for multiple nodes on the transmission grid.The marginal price at a particular node is essentially the sum of the variable supply cost, transmission losses, and congestion within the system.Typically, in an LMP system, electricity prices are determined individually for each location on the grid, based on the cost of delivering power to that specific location.Therefore, electricity prices may differ in various parts of the grid, even if they are supplied by the same power plant.LMP is a widely used pricing method in electricity markets globally, including the United States, Europe, and Australia.It efficiently promotes the optimal use of the grid and encourages investment in new transmission infrastructure.

Sequential Quadratic Programming (SQP)
The optimal power flow problem is generally solved using the SQP method in MiPower.The constrained nonlinear problem can be solved using the sequential quadratic programming (SQP) iterative approach.SQP techniques are capable of resolving mathematical issues where the objective function and limitations are twice continuously differentiable.These techniques are utilized in popular numerical se ings such as MATLAB and GNU Octave.Among the most frequently used algorithms is Sequential Quadratic Programming (SQP), which has robust theoretical underpinnings and a broad range of algorithmic capabilities.

Unified Power Flow Controller (UPFC)
The Unified Power Flow Controller (UPFC) is a popular FACTS device utilized for managing and regulating the flow of power and voltage in electrical transmission systems.Unlike TCSC, the static model of the UPFC is more elaborate and consists of various components, including a series transformer, a shunt transformer, and a voltage source converter.The UPFC can function as capacitive or inductive compensation by modifying the series reactance of the transmission line and shunt reactive power injections or extractions at the connected bus.The reactance of the UPFC is determined by the reactance of the transmission line where it is located.As a result, the UPFC is vital in improving the stability and reliability of power systems and ensuring more efficient use of electrical energy.With its excellent capabilities, the UPFC has become an indispensable device for power utilities and grid operators, contributing to the seamless interconnection and integration of different power systems and grids worldwide.The reactance value of the UPFC is dependent on the reactance value of the transmission line where the UPFC is intended to be installed.Concurrently or independently, the UPFC can modify the amplitude and phase angle of the series-injected voltage as well as the reactive current drawn by the shuntconnected voltage source converter.UPFC is composed of two voltage source converters connected back-to-back through a direct current connection.The UPFC static model is depicted in Figure 1, which is considered for this work.
The determination of the total reactance of a transmission line (X ) requires the combination of the line's reactance (X ) and that of the UPFC, to which it is connected (X ).The equation incorporates a variable (K ) that represents the compensation level of the UPFC.To obtain the reactance of the connected UPFC, it is necessary to multiply the constant by the line's reactance.The compensation level of the UPFC is limited to a specific range, meaning that it should not exceed 20% of the line's reactance or fall below 70% of it.The injected or extracted reactive power through the shunt converter of UPFC is represented by Q . The considered operational range of Q (MVAr) for this work is as follows: To determine the ideal UPFC position and rating, the values of X and Q were changed simultaneously within the considered limits, and the objective function values (i.e., system generation cost) were calculated for all instances.The ideal position and rating of UPFC have been determined based on the minimal objective function values conditions.

Objective Function
In a regulated system, market controllers are nonexistent, thus requiring customers to pay energy prices determined by power producers.However, in a deregulated system, an independent system operator serves as the market controller to oversee the entire power market.This results in customers receiving various benefits, such as reduced power prices, improved power quality, and stable voltage profiles.In a renewable added system, the electrical network's operation follows the power scheduling concept.The renewable power plant must provide future generation scenarios to market operators, initiating power scheduling based on the data submi ed.However, the unpredictable nature of renewable sources means that the renewable power plant cannot always follow the submitted power generation, leading to the imbalance price concept.This concept harms system profits.The positive imbalance price indicates awards given to renewable power producers for supplying extra power to the grid compared to the submi ed data.Conversely, the negative imbalance price happens due to the shortage of power supply from the renewable plant to the grid.The system profit SP(p) relies on the revenue RC(p), generation cost GC(p), and imbalance price IP(p) at time p.This paper considers the expansion problem in (8) as the objective function for profit maximization.
Maximize, SP(p) = RC(p) + IP(p) − GC(p) (8) The overall cost of revenue comprises two distinct sections, namely the revenue generated from the thermal plant (RC (p)) and the revenue from the wind farm (RC (p)), both of which are illustrated in ( 9) and (10).
P (m, p ) represents the thermally generated power at a given time p, while LMP(m,p) refers to the LMP of the mth thermal generator at the same time.The total number of generators in the system is denoted by N. The current wind power (CWP) and estimated wind power (EWP) are the determining factors for the imbalance price in the system.The imbalance price for an electrical network with wind incorporation can be expressed using Equation (11).
• (CWP(m, p) − EWP(m, p)) where ER(p) and DR(p) represent the surplus and shortfall rates of the wind power facility at a given moment p.Moreover, the generated wind power for the mth unit is determined based on the estimated and current wind velocity.Additionally, the imbalance price coefficient is denoted by ∝.It should be noted that the system's generation cost is defined as stated in (14).
GC (p) = ∑ (a + b • CWP(m, p) + c • CWP(m, p) ) (16)   At time p, one must consider both the thermal production cost (GC (p)) and the investment cost of wind farms (GC (p)).The price coefficient of the thermal plant is represented by am, bm, and cm.The analysis of integrating wind generators at different locations in the power grid on voltage, LMP, generation costs, and profits in regulated systems has been carried out using the IEEE 14-bus system.The integration of renewable energy generation has increased the system's profit.The profitability of the energy system can be enhanced by introducing a deregulated environment.Competitive power systems with demand-side bidding have higher returns compared to regulated systems.In this case, renewable energy sources are chosen to maximize the benefits of the power system.
Constraints for solving of OPF problem: In the realm of power transmission, P and P denote transmission loss and power demand, respectively.In addition, G , which refers to the line conductance of the line that connects buses 'x' and 'y', is important.Furthermore, the voltage magnitude of bus 'x' and bus 'y', denoted as '|Vx|' and '|Vy|', respectively, and the voltage angle of bus 'x' and bus 'y', represented as 'δx' and 'δy'.To execute Optimal Power Flow (OPF) solutions, it is imperative to consider a variety of continuous and discrete constraints.These constraints serve the purpose of preserving the system's security and operational limits, and are as follows: TL ≤ TL x = 1,2,3,4, … .N The voltage limits for bus 'm' comprise both the lower and upper limits denoted by 'V ' and 'V ', respectively.In addition, the corresponding phase angle limits for voltages at the same bus are represented by '∅ ' and '∅ '.The total number of transmission lines within the system is commonly referred to as 'NTL'.The actual power limits of bus 'm' are bounded by lower and upper limits, indicated by 'P ' and 'P ', respectively.Lastly, the minimum and maximum limits of reactive power at bus 'm' are 'Q ' and 'Q ', respectively.

Flow Chart of the Proposed Method
The fundamental parameters of an IEEE 14-bus system have been meticulously examined, and the earned revenue, production expenditures, and net income have been accurately computed using advanced Mipower software 7.0.The systematic approach of the recommended methodology is elegantly illustrated in Figure 2. The proposed work involves multiple steps for its completion.Various load buses of the IEEE 14-bus system were used to determine the ideal placement of the wind farm and calculate the profit for each scenario.The optimal position of the wind farm was recommended based on the maximum profit achieved by the system post-placement.The wind farm's capacity was randomly set at 7MW.The primary goal of this work is to enhance the system's profit by utilizing V2G technology while considering the imbalance price.Additionally, the placement of UPFC was conducted to minimize transmission line congestion and further maximize system profit.The proposed approach involves a step-by-step process as outlined below:  Firstly, the system data of the considered system are read and analyzed.


Next, the economic parameters of the system, including revenue, generation cost, and profit, are calculated for a regulated power environment. The power system is then converted from a regulated to a deregulated environment, and the economic parameters are recalculated.


A wind farm with a fixed capacity of 7 MW is added to the system, and an optimal placement strategy is suggested.The wind farm is placed at all load buses simultaneously, and the system profit is calculated for each case.Based on the highest values of profit, the optimal location for the wind farm is identified.
 A comparison study of all economic parameters is conducted for both regulated and deregulated environments. Imbalance cost measurement is performed to account for any mismatches between actual and predicted wind speed data. V2G placement is then implemented in the system to reduce the adverse effects of imbalance cost and boost system profit. Finally, UPFC placement is utilized to further maximize system profit by reducing system congestion.
The proposed methodology can apply to any small, large, or hybrid power system.

V2G Integration Technology
The uprising of cardinal and the deployment of advanced technologies across societies have facilitated the widespread implementation of intricate solutions.One such solution is V2G technology, which effectively resolves the issues associated with power quality, voltage instability, and stable grid frequency maintenance.The V2G system functions through communication between the EV charging location and the power grid.In a deregulated market environment, electricity prices are lower during off-peak periods, while they are significantly higher during peak periods.The block diagram of the V2G system is illustrated in Figure 3.The bidirectional flow illustrates the power transfer process from the grid to vehicles and from vehicles to the grid.This shows how an EV ba ery storage system works in charging and discharging modes.Power flows from vehicles to the grid (V2G) during peak load situations and from the grid to vehicles (G2V) during off-peak load conditions.This preserves the grid's stability as well as improves the system's economics.The V2G mechanism is utilized to return the EV's stored energy to the power grid.During charging, electricity goes from the electric grid to the EV's ba ery, and during discharge, power flows from the EV's ba ery to the electric grid.The AC-DC bidirectional converter, the DC-AC bidirectional converter, and the control and management system are the three basic functional components of the V2G system.

Results and Discussions
A selected IEEE 14-bus test system has been utilized to authenticate the effectiveness, sustainability, and feasibility of the proposed approach.This system comprises 14 buses, five generators, and 20 lines, with Bus No. 1 defined as the slack bus.The system data have been obtained from [38].The study and analyses have been executed in the following sequential steps: Step 1: Determining the optimal placement of the wind farm; Step 2: Comparing the economic factors between regulated and deregulated power systems; Step 2: Measuring the imbalance price and evaluating its impact on the system profit; Step 3: Implementing V2G technology to enhance the profit margin; Step 4: Strategically placing UPFC to further improve the profit margin.

Step 1: Determining the optimal placement of the wind farm
The wind farm incurs no running costs, but there are investment and labor costs that wind power producers must consider to optimize profit placement within the system.To determine the optimal location of the wind farm within the system, it has been placed at different load buses and the system's profit has been calculated for each case.The wind farm's optimal position has been selected based on the maximum system profit achieved after placement.The wind farm's capacity within the system has been set at 7 MW, chosen at random.To verify the proposed method's applicability, a total of nine cases, including the base case, have been selected and listed in Table 2.The impact of wind farm allocation on economic parameters is assessed for all cases considered, both in regulated and deregulated power environments.

Scenario Description BASE CASE
The system without a wind farm CASE-1 The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 4

CASE-2
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 5

CASE-3
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no.7

CASE-4
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 9

CASE-5
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 10

CASE-6
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no.11

CASE-7
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 12 CASE-8 The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no. 13

CASE-9
The system pertains to the inclusion of a wind farm, with a total capacity of 7 MW, located at bus no.14 Table 3 presents an insightful comparative analysis of the revenues, generation costs, and profits of a regulated system.The system has installed wind energy at several load collection points, with due consideration given to the system's thermal revenues, generation costs, and profits.Furthermore, the power generated by the generated buses and the corresponding Locational Marginal Prices (LMP) have been meticulously recorded.It has been discerned that the placement of the wind farm at bus number 9, also known as Case-4 in Table 2, offers the most substantial profit.Step

2: Comparing the economic factors between regulated and deregulated power systems
Currently, there has been a significant increase in the utilization of deregulated systems worldwide, which can be a ributed to the economic support given to its players.This surge is further influenced by the economic benefits associated with deregulation.To this effect, a comparative analysis has been conducted to examine the revenue, generation cost, and profit of both regulated and deregulated systems.As depicted in Figure 5, the comparison of revenue between the two systems shows that the regulated system generates more revenue than the deregulated system.It is important to note that the revenue mentioned here refers to the income of power producers.Therefore, the reduction of revenue implies a lesser burden on consumers in terms of energy costs, which is the primary objective of the deregulated system.The amalgamation of investment disbursed towards the creation of electric power, in addition to the combined expenses of transmission and distribution, is commonly referred to as the system generation cost.This comprises the expenses incurred on the procurement of machinery, raw materials, installation costs, wages of the workers, and miscellaneous expenses.It is noteworthy that the generation cost of the regulated system surpasses that of the deregulated system, as is evident from Figure 6.This phenomenon can be a ributed to the intense competition prevailing among the power producers, which compels them to assimilate modern technologies to ensure the maintenance of power quality while simultaneously minimizing the generation cost with the ultimate goal of improving their customer base.The remnant funds ensuing from the subtraction of the expenses incurred in the process of production from the revenue collected are commonly referred to as profit.In this paper, profit is denoted in the currency of dollars per hour.The comparative analysis of the profitability of regulated and deregulated systems is presented in Figure 7, which unequivocally establishes that the regulated system yields higher profits when juxtaposed with the deregulated system.This clearly indicates that power producers garner profits, thereby enabling customers to reap the rewards of the deregulated system's implementation.From Figure 7, it can be concluded that wind farm deployment offers superior profits for both regulated and competitive power systems, in contrast to systems that lack such deployment.This outcome is bound to stimulate power providers to invest significant capital in renewable power plants as it will procure greater economic paybacks.In the present paper, a wind farm consisting of a fixed amount of 7 MW has been meticulously selected to demonstrate the significant impact of wind farms on both the regulated and the deregulated systems.After conducting a comprehensive comparative study, it has been conclusively determined that a larger volume of wind power placement can result in be er profits for market participants, particularly for customers, which can be referred to as social benefits.The electrical system performance in the competitive power system is determined by two key factors, namely, the locational marginal price (LMP) and the system voltage profile.While the LMP directly influences the system economy, the voltage profile can exercise control over the system's stability and power quality.
Upon thoroughly analyzing all the case studies, it has been observed that Case-4 and Case-9 offer the maximum profits for both the deregulated and regulated systems.Therefore, comparative studies of LMP and voltage profiles have been precisely executed for these two cases.As can be seen from Figures 8 and 9, the comparison of locational marginal prices in the regulated and deregulated systems for Case-4 and Case-9, respectively, reveal intriguing insights into the workings of the system.The LMP, which refers to the locational marginal price, possesses the ability to exert direct control over the system revenue, given that it represents the selling price of the power that is generated.As evidenced in both Figures 8 and 9, the value of the LMP for each bus has undergone a reduction in the deregulated system, which in turn causes a decrease in the selling price of the produced power.Consequently, customers pay a lesser amount for their utilized energy.In such a se ing, it becomes crucial to examine the system voltage profile, which can be seen in Figures 10 and 11 when comparing the regulated and deregulated systems for Case-4 and Case-9, respectively.It is essential to note that the acceptable range for the bus voltage is situated between 0.95 p.u. to 1.05 p.u. and that it is always desirable to maintain the same voltage for all buses to enhance the system's security and stability.The obtained results reveal that the overall system voltage profile has undergone an improvement following the implementation of the deregulated environment.The change of the electricity system from a regulated to a deregulated environment provides more economic profit to the consumer.The profit for the producing stations will be lower, which will increase the profits of the consumers because they will pay less for their power use.The deregulated environment also delivers superior voltage profiles for the system, as demonstrated in Figures 5-11.These findings demonstrate that the deregulated environment outperforms the regulated system in all facets of system stability.Step 3: Measuring the imbalance price and evaluating its impact on the system profit When conducting an economic assessment of a renewable power network, it is crucial to take into account the impact of imbalanced prices.The characteristics of renewable sources are often ambiguous, leading to power plants being unable to meet scheduled power demands, which poses a significant threat to the electrical network.To mitigate the risk of economic loss, there are two primary solutions available: efficient forecasting technologies and the use of energy storage devices.However, the former has its own set of limitations that may make it less effective.Therefore, the use of energy storage devices is a viable option to ensure scheduled power delivery and reduce the chances of economic loss.
During the survey, the data collected on the day of the assessment are categorized as current wind speed (CWS), while the previous day's data are considered as estimated wind speed (EWS).The difference between the two speeds has a direct impact on wind generation, leading to a disparity between expected power generation and actual profits.This difference, commonly referred to as the generation of an imbalance price, is a crucial factor that should be considered when assessing renewable power networks.Real-time current and estimated wind speed data were collected for the city of Vijayawada [39] (as shown in Table 5).Due to the unpredictable nature of wind speed, hourly intervals were taken into account.The collected wind speeds were measured at a height of 10 m, and probable wind speeds at a height of 120 m (wind turbine's hub height) were calculated to determine wind generation at different hours.If the current velocity of the wind surpasses the estimated velocity of the wind, the generating corporations shall receive remuneration in the form of an award.Conversely, if the current velocity of the wind falls below the estimated velocity of the wind, the generation corporations shall receive a penalty for their inability to provide the promised electricity.Upon analysis of the amassed wind speeds, it has been noted that certain repetitive situations have occurred, thus the repetitive scenarios were not taken into consideration (i.e., hours -5, 8, 15, 18, 19, 21, and 23).The wind farm has been situated on bus number 14, which was determined during Step Two, and the cost of the imbalance has been measured by considering the current and estimated wind power.Table 6 displays the impact of imbalance prices on profit, where the estimated profit signifies the system profit exclusive of imbalance prices, whereas the actual profit indicates the profit that takes into account the imbalance price.
Figure 12, as presented in the following, depicts a comprehensive analysis of the profit that has been a ained without considering the imbalance prices and the profit that has been achieved whilst taking into account the imbalance prices for the deregulated system.Upon close examination, it becomes evident that in numerous instances, the actual profit has been diminished in comparison to the estimated profit.This occurrence can be a ributed to the fact that negative imbalance prices are the root cause of this decrement.

Step 4: Implementing V2G technology to enhance the profit margin
To evade such circumstances and eliminate the unsteadiness cost that was discussed in the third step, the utilization of Vehicle-to-Grid (V2G) technology can be executed.V2G technology is a technique whereby the power that is stored in Electric Vehicles (EVs) is utilized by the grid to prevent difficulties during high-demand intervals.In instances where there is low demand, the EVs consume power from the grid.However, when the demand escalates, the energy that is stored inside the EVs can be retrieved from the grid to fulfill the requirement.
As demonstrated in Table 6, the influence of the unbalanced prices on the factual profit is displayed.The method was performed over 24 h.After eradicating any duplicates or analogous wind speed scenarios, 17 distinct cases remained.In this particular scenario, the wind farm has been installed at the most profitable bus in the deregulated system, which is bus number 14, as stated earlier.The transformation in the profit that is caused due to the imbalance can be observed in this scenario.The penalty that is associated with the imbalance is higher than the profit itself.This emphasizes the importance of eliminating the cost of the imbalance, as a larger penalty leads to more losses.The utilization of the V2G system helps in circumventing this issue.It should be noted that the V2G technology is operated on ba eries.The capacity of the electric vehicle (EV) fleet that we are considering in this analysis is a substantial 3 megawa s (MW).It is important to note that the final efficiency of each ba ery utilized in the EV fleet will vary.The amount of output power that can be generated by the EV is heavily reliant on how much capacity we have at our disposal.It is an unequivocal fact that the higher the efficiency, the more output power we can generate, and in turn, the higher our profits will be.In situations where there is an imbalance in prices, the EV fleet will need to step in and supply the missing power to prevent this imbalance from persisting.In such scenarios, the power supplied by the EV fleet is subtracted, and the profit is calculated based on the remaining power that is generated.It is well known that the power system's profit can be maximized by utilizing the latest and greatest vehicle-to-grid (V2G) technology that is currently available.The current iteration of V2G technology is based on the use of lithium-ion ba eries.In this detailed analysis, we have compared the impact of lithium-ion, lead-acid, and supercapacitor batteries on system profits after they have been integrated into the power system.The results of our analysis are found in Table 7, which demonstrates the impact of each type of ba ery on the power grid's overall profitability.It should be noted that the system we have examined in this analysis is deregulated because it is more profitable when compared to a regulated system.Table 7. System economic factor with V2G but without Imbalance Price for deregulated system.exorbitant installation cost.In this particular scenario, the electric vehicle is discharged close to the generator bus.This V2G concept is intricately linked to the electric vehicle's ba ery storage unit.It can charge itself from a bus and subsequently discharge in alternative buses.Hence, this method serves as an effective measure to ensure that the electrical grid is safeguarded from potential severe faulty conditions.
From the data presented in Table 8, it is evident that the incorporation of the Vehicleto-Grid (V2G) system leads to remarkable gains in the power system, despite the presence of system imbalances.As observed, the integration of V2G technology elevates the system's performance and improves its overall gains.The relative gains are succinctly illustrated in Figure 13, which provides a be er comprehension of the system's performance.The aforementioned figure displays the system's profitability clearly and concisely.Based on the results obtained, it can be unequivocally inferred that the inclusion of V2G technology in the power system has a significant impact, particularly when the V2G system is powered by an efficient ba ery or an energy storage system.In both scenarios, with or without an imbalance in the pricing, the V2G system's successful operation leads to a noticeable increase in the profit margin.Step 5: Strategically place UPFC to further improve the profit margin In a vast and complex power network, there are always opportunities for the occurrence of transmission line congestion, which can occur due to the failure or abnormalities of buses, generators, or lines.This congestion places an additional burden on the power customer because of the congestion charges added to the energy selling prices, thereby causing significant economic challenges.In this scenario, the Unified Power Flow Controller (UPFC) can be implemented to flexibly manage the transmission line thermal limit and minimize the congestion problem in the transmission channel.
In this research study, the UPFC placement has been performed to maximize the system profit and give economic benefit to the market players.To find out the optimal position of the UPFC placement in the system, a comprehensive approach has been adopted.The UPFC has been placed in all the transmission lines by changing the compensation level between −0.7 to 0.2 and changing the reactive power injection or absorption (−100 to 100) to the bus simultaneously and finding the system generation cost for all cases.Based on the lower generation cost, the optimal position of UPFC has been decided.It was found that UPFC placement at line no.6 with a compensation level of −0.35 and reactive power absorption of 44.36 (MVAr) provides the lowest system generation cost.So, this condition has been taken as the optimal placement scenario of UPFC in the considered system.Now, the system profit has been calculated along with the Vehicle to Grid (V2G) method and the placement of the UPFC in the system.Figure 14 shows the profit comparison without and with imbalance prices for the V2G method after the placement of UPFC in the system.From the result, it is found that the UPFC placement along with the V2G method can boost the system profit again.By incorporating the UPFC, the transmission line congestion can be eliminated, and the power network can operate efficiently.Therefore, the proposed method can be a potential solution to the existing challenges of power systems and can ensure a reliable and sustainable energy supply.The entirety of this work has been executed with the utilization of specialized MiPower software.The preliminary two phases of this endeavor have been systematically arranged to cater to both the regulated and deregulated system environments.Once determined that the deregulated system surpasses the regulated system in economic facets, the remainder of the study was solely conducted in the deregulated environment.
Only the V2G system is capable of maximizing system profits by avoiding the negative impact of pricing imbalance.Furthermore, we have added UPFC placement to optimize profits once again.Storage devices and other types of FACTS controllers can be employed to improve system efficiency once again.

Conclusions
Renewable energy sources, as opposed to traditional power plants, are highly recommended for increasing profitability due to lower operating and maintenance costs.Renewable energy is readily available, inexpensive, and easily accessible.The intermi ent nature of renewable energy sources might cause inconsistencies in the system, manifesting as an uneven pricing.This, however, may be effectively avoided by using Electric Vehicles (EVs).As noted in the current research, vehicle-to-grid (V2G) technology is a realistic option that may effectively boost the profit of the power system by decreasing the imbalance price.EVs may be discharged at any needed time during peak hours, reducing the danger of grid blackouts.The ba ery of an EV may be charged at a low LMP and drained at a high LMP, guaranteeing that the system profit is automatically raised.It is critical to stress that the idea of distinct LMPs applies only in a deregulated environment.Furthermore, UPFC placement has been carried out, and it has been shown that the profit is maximized in all circumstances.The UPFC placement has been efficiently used to reduce system congestion costs, resulting in economic advantages for energy customers.The findings of this study show that wind farms may be efficiently used to reduce the percentage of fossil fuels in electricity networks.Furthermore, other technologies, such as V2G and UPFC, can be used efficiently to maintain grid stability by minimizing system congestion.The suggested method is universal and may be used to power networks of any scale, integrated or deregulated.This proposed strategy is a generic one that may be applied to any small, large, or hybrid system that involves several types of storage devices to maximize the system's profit.Storage devices and other FACTS controllers can be used in the future to boost the system economy once again.

Figure 2 .
Figure 2. Flowchart of the proposed method for maximizing profit.

Figure 6 .
Figure 6.Generation Cost comparison for regulated and deregulated power systems ($/h).

Figure 7 .
Figure 7. System profit comparison for regulated and deregulated power systems ($/h).

Figure 10 .
Figure 10.Voltage comparison for Case-4 (in p.u.) in regulated and deregulated power systems.

Figure 11 .
Figure 11.Voltage comparison for Case-9 (in p.u.) in regulated and deregulated power systems.

Figure 12 .
Figure 12.Profit comparison without and with imbalance prices (in $/h) for a deregulated system.

Figure 13 .
Figure 13.Profit comparison without and with imbalance prices for the V2G method.

Figure 14 .
Figure 14.Profit comparison with imbalance prices for V2G and UPFC placement.

Table 1 .
Parameters of EV Ba eries.

Table 5 .
Real-time Wind Speed Data of Vijayawada (Km/h).

Table 6 .
Effect of imbalance prices on profit for Deregulated System.

Table 8 .
System economic factor with V2G and Imbalance Price for deregulated system.