Coordinated Operation of the Constituent Components of a Community Energy System to Maximize Benefits While considering the Network Constraints

Smart community with locally generated renewable energy is a new paradigm that leads to a system that is more sustainable, secure, and cost-effective to the community while enabling connection of more distributed energy resources. In this paper, a method to maximize the utilization of the renewables while maximizing the profit of a smart community within system constraints was suggested by introducing an optimum schedule of smart appliances in the community. Further dynamic line rating of the network connection is considered to investigate the advantage of using the dynamic rating against static rating. Different operating modes based on the variations of available renewable energy generation, wind speed, tariff, grid curtailment, and user preferences were investigated. A modified genetic algorithm-based optimization was implemented to obtain the optimum smart community’s appliance schedule. The optimum appliance schedules were obtained considering different case studies representing possible operating modes of the system. The simulations show that the use of dynamic line rating and optimum appliance schedule provide higher profit to the community. The algorithm managed to run the optimization with 12,500 controllable entities within an average execution time of 2000s.


Introduction
ere is a growing interest for the community energy projects that have an emphasis on local engagement, local leadership and control, and the local community benefiting collectively from the outcomes [1]. Community power will create a new paradigm that is a locally controlled energy system with distribution technologies and market mechanisms. is paradigm leads to a system that is more sustainable, secure, and cost-effective to the community while enabling connection of more and more renewable-based distributed energy resources. In community energy systems, where the loads and generation both are dynamic, increasing the self-utilization of renewable energy and reducing the peak load in the domestic sector via a localized demand side management system is important [2].
Numerous operational paradigms and market mechanism are reported in the literature for the community energy/power system. An energy management system to schedule consumers based on dynamic pricing where consumers act as prosumers (produce energy and consume energy) is introduced in Kitakyushu Smart Community Creation Project [3,4]. A self-sustainable community system comprises prosumers where the locally generated energy is consumed to match the demand by self-supply and selforganized trade among sellers and buyers, and imported power from the local market for prosumers is presented in [5]. As a different approach, a distributed load scheduling scheme without overrevealing consumer power consumption for a smart community connected to utility and smallscale local supplier is introduced in [6]. Additionally, an optimal scheduling method of distributed generation and residential loads to reduce customer electricity and reduce the peak load for a smart community comprises interruptible loads, controllable loads, and roof-top solar panels, and storage based on load and generation dispatching without discomforting the user is introduced in [7].
Relevant control policies such as (a) the price control mechanism to discourage noncollaborative behaviors of renewable energy generation in order to optimize renewable generation output without shifting load, (b) the power flow control method to avoid peak loads using DSM and energy storage to save the annual energy cost of a grid-connected community with high PV penetration, (c) the feed-in tariff mechanism for the PV customers to reduce peak demand and increase self-consumption of PV generation, and (d) a real-time pricing based on wholesale market were also introduced as operational paradigms for the community energy/power system [8,9]. e peak-to-average reduction (PAR) by community-based to increase the community interaction among households by sharing individual usage and scheduling the appliances by considering the surrounding community consumption patterns is considered [10]. In a different study, the peak-to-average ratio is minimized at minimum power generation cost via demand side management by motivating consumers who own storage using a dynamic price [11].
In addition to the above studies, optimum management of electrical power and energy within small communities is achieved using the community power flow target (CPFT) technique [12]. Furthermore, an optimum schedule to minimize cost is achieved by trading electricity through a local flexible market in a community system with renewable energy providers and prosumers [13]. Moreover, collaborative actions of prosumer community groups are inspired in order to achieve multiple goals such as demand constraints, cost constraints, and income maximization [14,15].
In order to achieve the abovementioned operational paradigms and market mechanisms, different optimization techniques such as linear optimization, game theory-based optimization, and heuristic methods of optimization are used in community energy systems.
A linear optimization method is suggested in [16] to obtain the optimum schedule for prosumers controlled by the aggregator who only controls 200 water heater loads to maximize the benefit to the whole prosumer population and minimize the imbalance cost of the aggregator. Similarly, the linear optimization is used to minimize cost and peak demand subjected to comfort constraints of a single house containing battery storage, water heaters, and air conditioners [17]. Receding horizon optimization method is used in [18] to obtain the optimum usage of renewable sources (solar, wind, diesel generator, and storage) of a single household along with demand response to minimize the cost over a moving time horizon.
An ordinal state-based potential game approach is used to minimize the total energy purchase for a residential smart grid considering thermal limits of feeders and transformers without a central coordinator [19]. is system considers energy provider as an external party. An artificial neural network model is used to maximize the self-consumption of PV of a house with PV generation, storage, grid connection, and smart appliances [20]. Based on multiobjective decisionmaking methodology, the cost of the distributed network is minimized by reducing the peak load while preventing overloading of network and transformers at peak demand [21].
Heuristic optimization methods provide a better solution approach for combinatorial optimization problems of energy management in community power systems [22,23]. e greedy algorithm-based load shifting mechanism is used to achieve a solution closer to the optimum solution to improve the self-consumption of PV generation in 200 Swedish households [24]. Greedy algorithm is also used to schedule the heater, CHP, and storage while considering uncontrolled appliances according to their flexibility to minimize the power exchange with the grid while achieving local supply and demand matching [25]. Additionally, different metaheuristic methods are used for the optimization of an energy resource management system with controllable variables such as demand response, electric vehicle, and storage to maximize the profit [23].
Genetic algorithm (GA) is a widely used heuristic optimization method to achieve operational paradigms in community energy systems. GA-based method is used for single and multiple objective optimization to match distribution system's controlled resources with the operator's objectives based on controlled resources sensitivities and operational costs [26]. Furthermore, GA is applied to identify the optimum shifting of a load block (part of the load profile) to reduce peak load while ensuring the minimum disruption to the commercial and residential loads [27]. GA is also used to optimize three objective functions, namely, minimized operational cost, minimized operational unsafely, and minimized operational delays using an energy management system [28]. Moreover, GA-based model is used for the optimization of the profit of an aggregator which decides day-ahead customer incentive price (CIP) and the schedule of the customers [29].
Even though the numerous operational paradigms and market mechanism and optimization techniques are described in the literature, the following limitations are identified.
None of the studies considers operational mechanisms that ensure the maximum utilization of the line capacity between the community system and DNO. At present, the line capacity of the existing lines is determined conservatively [30,31]. In practice, the conductor current capacity is determined based on the maximum allowable temperature and the worst case scenario for weather and other conditions [31]. Practically, the worst conditions rarely occur. is artificial bottleneck created by the line capacity hinders efficient utilization of assets and the cost-effective and efficient operation of the community energy project. e optimization problem associated with a community energy system requires a complex mathematical model to represent real-world random processes and to execute with a large number of variables. Except in references [23,29,32], in most of the above studies, a single house or a limited number of houses with controllable loads were considered.

2
Journal of Electrical and Computer Engineering However, none of them considered a large number of controllable entities within a single distribution network that requires robust optimization tools and a less computation time.
One of the main contributions of this paper is determining an optimum operating paradigm based on the DSM of community loads and the dynamic line rating of the network connection thus maximizing the profit to the community. e scheduling of noncritical loads of each premise was considered while ensuring user preferences, dynamic line rating of the utility connection, and renewable generation within the community.
Another contribution of this paper is the introduction of an optimization algorithm that requires a comparatively low computational time for a system having a large number of houses with many controllable appliances, thus controlling a larger number of controllable entities.
is optimization problem is a combinatorial problem which also has a dynamic feasible region of the solution space.
In summary, the key contributions of this paper are as follows: (1) Introducing a method for obtaining the appliance schedule at the maximum profit of a smart community who has its own renewable energy generation based on a modified genetic algorithm (2) Investigate the benefit of dynamic line rating of the utility connection against static rating that ensures the maximum utilization of the line capacity between the community system and network operator e paper is organized as follows. Section 2 provides a formulation of the methodology of optimization of the community energy system using the genetic algorithm. Section 3 presents the development of the case study. Section 4 provides the results and discussion with simulation studies for the proposed approaches, and Section 5 concludes the paper.

Community Energy System.
A generic system of a smart community is given in Figure 1. e following assumptions were made: (a) e consumers are collaboratively participating in DSM activities which ensure the optimum profit is achieved (b) All the reactive power requirement of the community loads is fully compensated by the smart inverters of the renewable energy sources; thus, only active power balance and the cost of active power transfer are considered.
e operating paradigm assumed was maximizing the profit to the community or minimizing the cost of consumption within the community while satisfying the operational constraints. e grid connection allows the consumers to export excess of renewable energy or import any required power to satisfy the demand.

Appliance Schedule and Total
Demand. It was assumed that the nth house has A n number of appliances. e appliance schedule is defined as X for all N houses in 24 hours as in equation (1). In order to generate this schedule, it was assumed that 24 hours of a day is equally divided into T number of operating time slots: where h � (24/T), 2 × (24/T), . . . , 24, x h a y n ∈ 1, 0 { }. e power demand at time slot h is defined by D h as follows:

Operational Modes.
According to the operating conditions of the system shown in Figure 1, three operational modes were identified and given in Table 1. In each time slot h, k k�1 P h RE k is the total power generation from all renewable energy sources, D h is the total demand of the smart community, P h export is the maximum power that can be exported to grid from community renewable energy sources when grid curtailment is active, P h max is the maximum active power rating of the conductor A-B ( Figure 1

), P h
Conductor is the actual power transferred through the conductor A-B, and P h excess is k k�1 P h RE k − D h . ese operating modes introduce dynamic constraints that create a dynamic feasible region for the solution space of the optimization problem.
For each time slot h, the operating mode of the system is identified based on Table 1. e optimization algorithm decides the optimum operating point of the system for each time slot to minimize the cost within the system constraints.
In Mode 1, it is possible to send the total excess power generation from renewable energy sources after selfconsumption to the grid if P h max > P h excess . If P h export < P h excess which limits the power exported to the grid, more smart appliances are scheduled to be operated within that time slot or renewable generation is curtailed. e excess power transfer in conductor A-B is reduced based on the conductor power rating when P h max ≤ P h excess even though P h export > P h excess . is is achieved by curtailing or switching off the least profitable renewable generators or scheduling more smart appliances to increase the self-consumption of renewable power generation.
In Mode 2, when the total power generation from renewable energy sources is insufficient to satisfy the demand, the additional power is taken from the grid while considering the conductor power rating.
In Mode 3, too much demand is scheduled such that the capability of the line is exceeded and there is not enough renewable generation to supply the load. is condition is avoided by properly scheduling the noncritical appliances, and thus, the operation is moved into Modes 1 and 2. e above three modes were executed by considering a range of constraints defined in Section 2.4 onwards. e cost of the community for time slot h was calculated using equations (3), (4), and (5). As Mode 3 is not a valid operating condition, it was avoided by assigning a maximum cost for that mode.
is was achieved by multiplying the cost function by a factor of 2.
For the system operating in Mode 1, For the system operating at Mode 2, (4) For the system operating at Mode 3, e total cost of the community for the day is given by the following equation:

Operational Constraints Considered.
e appliance schedule of the community at the minimum cost or maximum profit was obtained by developing an optimization algorithm. In this algorithm, the constraints given in Table 2 were considered for each constituent component. e algorithm given in Figure 2 was used to obtain the optimum appliance schedule at minimum cost while considering the constraints given in Table 2. Details of constraints used for the optimization algorithm is given in Sections 2.5 Ⓐ, 2.6 Ⓑ, 2.7 Ⓒ, and 2.8 Ⓓ.

Initialization of Appliance Schedule.
e initial appliance schedule defined in Section 2.2 must ensure user comfort. According to their preferences, the consumer will provide the smart appliances that should be operated and the preferred operating times or time range within the day. Each house has a different number and type of smart appliances operated within the time slot h. It was assumed that the appliances are not interrupted during the operating cycle.
Once the consumer priority list (this could be the start time of an appliance, the maximum time period between the start and stop time of an appliance, etc.) is given, the appliance schedule is initialized. e constraint given in the following equation was used to define the ON/OFF state of the appliance:   Journal of Electrical and Computer Engineering where X h � [X h a y n ] i i is the index of the appliance a y n within h time slot defined using user preferences. For all N houses, the order of operation of appliances was sorted according to the user preferences. en, the initial appliance schedules were generated. e matrix of appliance schedule is represented as in Figure 3.
Considering the appliance's ON/OFF state for the time slot h for nth house with A n appliances, the algorithm defines the operating order by considering the user preferences and the cost/profit to the community.

Constraints for Power Generation of Renewable Sources.
e following constraints were considered for the renewable energy sources:

Operating Power Limits of Renewable Energy Sources.
Each renewable energy generator has the maximum generation capacity and minimum generation capacity constraints at each time slot h as given in equation (8). P h RE k ,max is often based on the weather predictions, whereas P h RE k ,min is a technology-specific constraint:

Distribution Network
Constraints. e following system constraints were considered: e current carrying capacity of a power line dynamically changes with the weather conditions. It is significantly affected by the wind speed [31], and as the wind speed increases, the dynamic line rating increases. Ambient temperature also has a large effect on conductor dynamic line rating as it affects the convection heat transfer, radiation heat transfer, and resistance [31]. As the wind and ambient temperature vary from time to time, there is always room for loading the line without violating its actual rating.
is requires sensing parameters such as conductor temperature and weather conditions and then determining the line capacity dynamically. Among the available dynamic line rating systems, measuring conductor temperature, ambient temperature, wind speed, and current in real time is suggested in some of the studies [33][34][35]. e dynamic line rating or the maximum real-time current capacity of conductor section A-B in Figure 1 was calculated using equation (9) [36]. e exact procedure to calculate I h dyn and different parameters of the equation is given in an author's previous paper [37]:

Journal of Electrical and Computer Engineering
e dynamic line rating varies with the weather conditions and that introduces a new maximum power constraint of the conductor at each time slot h and is given in the following equation: where P h max is decided from P h dyn by considering a safety margin.

Voltage Conditions of the System.
e voltage constraints are introduced for the conductor section A-B at the grid end and consumer end to keep the line voltage at limits. e voltage at the consumer end of the conductor was calculated using equation (11). e actual voltage depends on whether the conductor exports or imports active and reactive power: Under the worst case condition, the maximum voltage at the consumer end occurs, when all the power generated by the wind farm is exported, and no reactive power is absorbed from the grid. However, the minimum voltage occurs when the wind farm is not generating and active and reactive power of loads is absorbed by the grid. erefore, the voltage constraints given in equation (12) should satisfy the voltages of A-B conductor:

Modified Genetic Algorithm-Based Optimization
Technique. In general, the genetic algorithm (GA) can be considered as an evolutionary algorithm in applications involving nonsmooth solution surface with discontinuities. Considering the random nature of demand loads, GA provides more accurate profiles of unmonitored consumers for analyzing purpose which gives a better solution related to user behavior and other random activities. GA-based optimization is capable of cooperating the random variables such as variations in RE generation, network capacity, user preferences, and a larger number of variables. e basic iterative steps of the genetic algorithm are initialization evaluation, crossover, and mutation. e x T a n 1 x 1 a n 1 x h a n 1 x T a n y x 1 a n y x h a n y x T a n A 1 x h a n A 1 x T x 1 Figure 3: Appliances schedule matrix for the smart community for a day.
population is the set of solutions that creates the solution space and a single solution in the solution space is an individual/chromosome [38]. In the initialization step, random solutions in the cost surface are generated subjected to constraints. e crossover step involves interpolation and extrapolation of the best solutions in the piecewise solution space in search of better solutions. en, the mutation step is used to randomly change the generated solution to a different area of the cost surface avoiding the local minima/ maxima in the solution space.
As explained in Introduction, most of the studies involving the GA have applied to a single house or a limited number of houses with controllable loads. e implementation of such a GA approach [38] failed for this case due to a large number of variables and constraints involved. erefore, in this paper, for the appliances schedule of the smart community subjected to multiple constraints, a modified genetic algorithm (modified GA) was suggested.
is modified GA is suggested as an algorithm to solve a combinatorial optimization problem which also has a dynamic feasible region of the solution space. is modified GA is capable of searching for the best solution across the nonsmooth/piecewise cost surface subjected to multiple constraints while avoiding local minima/maxima.
In Algorithm 1, the initial population of individuals/ chromosomes representing appliance schedules (X) for all 24 hours per day was generated randomly based on constraints in sections E and F. Considering the total demand and available renewable energy generation at each time slot h, the fitness value (cost of community) of each individual was calculated for each schedule using Algorithm 2. e objective function of the modified GA is given as follows: From the calculated fitness values, the half of the schedules (parents) with least values were selected and they were used to form a new crossover schedules (children). Other than the conventional genetic algorithm concept [38], here the mutation process is only executed for the children, not for the total population. A selected percentage of total appliances' time slots of operation in appliance schedules generated as children were shifted (mutation process) for another random h time slot to generate a new population of appliance schedules. e mutation step was applied only for children to avoid the local maxima while keeping the best solutions in the population. After the mutation step, again the fitness value for each appliance schedule was calculated.
ese steps were repeated iteratively as given in Algorithm 1 to get the optimum solution. e appliance schedule which gives the minimum fitness value within the system constraints after a number of iterations were selected as the appliance schedule of the day. e algorithm is executed for a number of iterations in order to find the appliance schedule (X final ) at minimum cost within the system constraints.

Selected Case Studies.
In order to demonstrate the bestoperating scenarios of the community energy system, 8 case studies were defined. e operational parameters for each case study were selected as mentioned in Table 3.
When the power generated by renewable energy sources is greater than the demand, the power generated from renewable energy sources are consumed by the community and any excess power generated from renewable energy sources are exported to the grid at C h RE . On the other hand, if power generated by renewable energy sources is less than the demand, then additional power requirement is met by importing the power from the grid at C h G . e total cost of the community is defined based on equations (3), (4), and (5). Equation (3) represents a profit to the community, while equations (4) and (5) represent costs to the community.
Considering cost and profit conditions at each time slot h, the total cost to the community for a day was calculated by equation (6). C community was minimized using the optimization algorithm to achieve the appliance schedule at the minimum cost/maximum profit.

Parameters of the System Selected.
e community system given in Figure 4 was used for case studies. It comprises 2500 houses each house with 5 shiftable appliances. e total load of the community system is 5 MW. e system owns a 10 MW wind power generation. e optimum smart appliance schedule of the community was obtained while minimizing the cost considering the different case studies defined in Section 3.1.

Smart Appliances Power
Ratings. At each house, 5 appliances were selected as smart appliances [2,30]. e appliance's power ratings are given in Table 4 as a matrix assuming that it is constant for 15 minutes. It was assumed that all 5 appliances must operate once per day. For the base case, it was assumed that turn on time of each appliance shows a normal distribution having a mean value and a standard deviation shown in Table 4.

Wind Farm Power Output.
e total wind power generation was assumed as 10 MW with 0.9 power factor. Twenty 500 kW Vestas wind turbines were selected. e power curve of a single turbine is given in Figure 5. e cutin wind speed of the turbine is 4.0 m/s, and cut-out wind speed is 25.0 m/s. It was assumed that, at a given time, they can be represented by a 10 MW coherent generator.
Wind speed profile at wind farm considered for the case study is given in Figure 6. As it is not possible to execute the optimization algorithm within a reasonable execution time (using the PC considered) while considering the stochasticity of wind, a wind speed profile with one hour average was considered for the case study.

Wind Power Selling Price and Grid
Tariff. Economy 7 tariff and Economy 10 tariff that are commonly used in the UK were used as grid tariff. In these case studies, it was assumed that the cost is in a generic currency called "#." Excess wind power generation of the system is sold to the grid at 4# less than the grid tariff. e values are given in Figure 7.

Wind Profile at the Conductor Level and Dynamic Line Rating Values.
e dynamic line rating of conductor section A-B in Figure 1 was calculated using the conductor level wind profile obtained from equation (14). As the wind farm is nearby, the 1/7th rule was used to calculate the wind speed at conductor height (W conductor ): Using the calculated W h conductor at each hour, dynamic line rating of a selected conductor was obtained using equation (9).

Maximum Power Exported to the Grid if Grid Curtailment
Is Active. For case studies 3, 4, 7, and 8, the maximum power (1) If End (8) End (9) Calculate total cost (10) C community � [ T h�1 C h community ] × (24/T) ALGORITHM 2: Cost calculation based on the operating mode.
(1) Set IterMax � 5000 (maximum number of iterations) (2) Set Iter � 1 (3) Start (4) Initialize population: Generate S (S � 64) number of X random chromosomes (parents) within initialization constraints (Sections B, E, and F) (5) while Iter < IterMax do (6) Calculate cost for each chromosome in the population: run Algorithm 2 (7) Crossover step: generate children: update population (8) Mutation step: only for children generated (mutation rate 20%): update population (9) Run Algorithm 2 (10) Store minimum cost schedule X Iter (11) Iter � Iter + 1; go to 5 {continue to the next iteration} (12) end while (13) Store X final (minimum of all X iter ) (14) End ALGORITHM 1: Main steps of the optimization algorithm.  Dynamic line rating 7 Static line rating ON 8 Dynamic line rating 8 Journal of Electrical and Computer Engineering values exported to the grid (P h export ) is given in Figure 8 (blue curve). For case studies 1, 2, 5, and 6, the maximum power exported to the grid is not limited and all the available wind generation is exported to the grid. is is shown by the red curve in Figure 8

Results for the Base Case.
Using the mean value and standard deviation of each appliance shown in Table 4, the base case, load profile of the community was obtained and shown in Figure 9.
Using the wind power profile generated using Figures 5 and 6 and considering static line rating and no curtailments, the cost/ profit to the community for each time interval was obtained and shown in Figure 10. e total cost to the community that was obtained for the base case is 1.5234 × 10 9 #.

Results of the Optimization Algorithm.
e appliances schedule for the day at the minimum cost of the system in Algorithm 2 for case study 1 was obtained using the optimization algorithm. e algorithm parameters used are 64 chromosomes and 5000 iterations for the study.   e initial appliances schedule generated using the user preferences for the first 100 appliances for 20 houses in feeder 1 is given in Figure 11. e plot is only given for 100 appliances because it is not legible if all 12,500 appliances in the system are shown in a single plot. e time slot h for the case studies was taken as 15 minutes.
As the input for the optimization algorithm, 64 different appliances schedules (chromosomes) were initially generated. e profits of the community at each initial appliance schedule are given in Figure 12. e profit of the community for 5000 iterations with the crossover and mutation steps of the optimization algorithm (given Algorithm 2) is shown in Figure 13. is figure shows the maximum profit out of 64 chromosomes at each iteration. After 5000 iterations, it was observed that the profit of the community converges to more or less a maximum. e appliances schedule at a maximum profit (minimum cost) at the 5000th iteration is given in Figure 14 for the 100 appliances shown in Figure 11 along with the starting time slot of each appliance to achieve the maximum profit. Figure 15 shows the profit of the community for all 64 chromosomes at the 5000th iteration.      e conductor static line rating was used as the maximum current capacity of A-B conductor for this case study. e static power rating and the power flow in conductor A-B when the smart community is operating at the maximum profit are given in Figure 16. e scheduled demand of the community at the optimum appliance schedule obtained from the algorithm together with the grid tariff and wind generation selling price is shown in Figure 17.
For case study 2 where the maximum power flow of A-B conductor is the dynamic line rating which varies with the wind speed, the power flow of the A-B conductor at the optimum appliance schedule is given in Figure 18 Figure 19(a). For case studies 5-8, the profit values for 5000 iterations of the optimization algorithm are shown in Figure 19(b).
According to obtained appliances schedule, the power flow in the A-B conductor for cases 1, 2, 3, and 4 is given in Figure 20(a). e static and dynamic line ratings are also shown. A-B conductor power flow for case studies 5, 6, 7, and 8 is shown in Figure 20       community at the optimum appliance schedule for studies 1, 2, 3, and 4 is given in Figure 21(a). e demand of the smart community at the optimum appliance schedule for case studies 5, 6, 7 and 8 is given in Figure 21(b).

Comparison of Profit with Dynamic Line Rating and Static
Line Rating. e optimum appliance schedules were obtained considering real wind speed measurements at a wind farm in California. e wind profile for seven days is given in Figure 22. e profit of the community for each day when the base case load profile was used with the static rating of the conductor, the optimum load schedule with the static rating of the conductor, and optimum load schedule with dynamic rating of the conductor are shown in Figure 23. Figure 23 clearly shows that when the smart appliances of the community are scheduled optimally using the suggested algorithm, the profit of the community was maximized. is can be clearly seen when one compares the base case profit with the profit for optimum scheduling. e profit can be further increased if the dynamic rating of the line that connects the community system to the grid is considered.

Discussion
As discussed in Section 2.8, when compared to the conventional genetic algorithm concept [38], in the modified GA, the mutation process is only executed for the children, not for the total population. In order to demonstrate the    performance of the modified GA, the optimization results for case study 1 (64 chromosomes and 2000 iterations) using both the conventional GA [38] and modified GA were performed, and results are given in Table 5. As can be seen, the modified GA is much faster than the conventional algorithm and provides better optimization result.
Even though the modified GA is trying to optimize the profit to the community, in turn, it increases the utilization of the renewable energy sources within the community, thus providing added benefits in terms of CO 2 reductions.

Conclusions
e maximum profit of the smart community which produces renewable energy on their own is achieved by introducing an optimum appliance schedule while maximizing the renewable energy usage within operational constraints. A generalized methodology was developed that can be applied to optimize the profit of a smart community for different operating modes based on the availability of renewable generation, wind speed, tariff, grid curtailment, conductor current capacity, and other system constraints.
is method ensures the user comfort as it satisfies the user preferences on smart appliance operating times, maximizes the profit to the community, and provides benefits to the society as it allows maximum use of the renewable energy sources within the community energy system. e simulation results obtained from the case studies show that the introduction of the optimum scheduling while considering the dynamic line rating as a system constraint increases the profit of the community nearly by 1.5-fold. e average simulation time required to obtain the optimum solution with 12,500 controllable entities was 2000s. Even though it is not included in this paper, the authors have already developed a sensor network to determine the dynamic line rating, and integration of different algorithms and field testing are in progress.
In this study, the parameters such as conductor current carrying capacity and voltage limits were considered. is is a limitation of the study as there are other parameters that impact the optimum operation and reliability of the community energy systems.