1. Introduction
The limited availability of fossil fuels, as well as the limitation of present day electrical energy distribution paradigms, have led to the adoption of new distribution approaches such as Micro Grid paired with localized energy production, in most cases based on renewable energy sources.
Although several energy production technologies can be adopted, such as fuel cell power generators [
1,
2], combined heat and power plants [
3,
4], wind micro turbine [
5,
6], or a combination of several technologies [
7], photovoltaic energy production plants are the most commonly used. Reduced maintenance requirements, absence of production costs and pollution, be it either CO
emissions or noise, are among the strong points of photovoltaic solutions. Nonetheless, even though the benefits of the photovoltaic technology steadily promote the adoption of solar plants, several shortcomings are to be addressed, in order to optimize the energy yield and overcome some limitations of this technology. Differently from other renewable energy based technologies, in fact, the photovoltaic production does not depend only on the energy availability of the source, that is the mean irradiation level, but it relates also to the degree of homogeneity of the irradiation over the plant [
8,
9,
10,
11].
In fact, since a photovoltaic plant is a large array of photovoltaic cells [
12], whose output shows a non-linear Power-Voltage (P-V) characteristic and one maximum power point (MPP), the interaction among the cells may limit the overall power output of the plant. In this case, MPP tracking (MPPT) technologies may play an important role [
13,
14,
15,
16] in the plant performance. However, if the plant occupies a large area, partial shading of the plant may occur, thus disrupting the activity of the MPPT algorithm.
In this case, the design of the plant topology represents one of the key factors to limit the effects of partial shading, although the improvement of the system performance cannot disregard the balance between construction costs and maintenance costs. To investigate this problem, a software framework has been developed by the authors to simulate the behaviour of a real life PV plant and evaluate its performance under various weather conditions [
17].
In a Micro Grid environment, however, when an energy management system is used, a power plant is an integral part of the system [
18], rather than a separate entity, in that its performance can affect the efficiency of the energy management. In fact, if energy management systems are deployed, the ability to correctly predict the plant behaviour, in order to assess the hourly energy production, is required in order to optimally allocate the resources.
For instance, although a crude estimate of the production can be used, based on the solar irradiation forecasts [
19], a detailed modelling that takes into account not only the plant behaviour but also the weather forecasts can allow a better assessment of the production so that the energy yield is not overestimated.
On purpose, in this work, a software framework that simulates the energy output of a configurable PV system is proposed to evaluate the system performance in different conditions. Indeed, although many PV Plant design tools are available, such as the System Advisor Model provided by NREL [
20], in most cases, they are aimed at commercial applications rather than research; thus, they model commercially available devices, and rarely provide the means to implement and investigate specific aspects of the PV plant such as the MPPT algorithm. In order to overcome this limitation, a simulation framework has been devised.
The framework is able to take into account weather conditions, solar irradiations, partial shading, the type and arrangement of PV modules, and implements the Perturb and Observe (P&O) [
13,
14,
21] and the Incremental Conductance (IC) [
15,
16,
22,
23,
24] MPPT tracking algorithms both with and without Global Peak Tracking (GPT) [
25]. The framework has been integrated into a residential and Micro Grid management framework [
26,
27,
28], in providing energy yield forecasts, to plan ahead the use of the energy storage subsystems. The framework can be used both as a design tool to properly gauge the power required from the plant and as a forecasting tool to support the energy management. The integrated framework is also available upon request.
Two case studies have been considered in the evaluation: the simulation of a real life power plant and the simulation of an energy management system. The power plant has a total surface of about 6700 m and a nominal power output of about 1000 kWp. In the energy management case study, a real life Micro Grid has been considered, with a district composed of 44 buildings. The simulation has been performed with different irradiation conditions, topologies, and MPPT algorithms. The results show that, by using the proposed framework, it is possible to properly estimate the cost estimation in the design of a Micro Grid.
The outline follows. In
Section 2, the elements at the base of the PV model are presented, whereas
Section 3 introduces the energy management framework. In
Section 4, we describe the simulation scenario and analyse the results for a case of study.
Section 5 draws the conclusions.
3. Residential Environment Real Life Based Model
This section focuses on the other side on the residential environment simulation model, and focuses on the model that is used to manage both energy and resources within the Micro Grid environment.
3.1. Reference Environment
The Micro Grid residential environment, namely the Leaf House, is the reference used to implement the proposed framework. The Leaf House is one of the six international case studies selected by the IEA Task 40/ECBCS Annex 52 “Towards Net Zero Energy Solar Buildings” [
36].
By monitoring said environment, a data set has been compiled by collecting data regarding both local demand, of electricity and heat, and local solar based production, of heat and hot water. The integrated subsystems have also been used as a reference to model the various elements of the proposed framework [
37]. Many of the details regarding both the environment and the framework are omitted for conciseness sake, but they can be found in our previous work [
37].
3.2. Modelling Approach
The Micro Grid simulation framework has been implemented to model the energy distribution within the environment. Thus energy production, consumption, storage and transport have been modelled. The energy costs, then, have been included to weight the different contributions, as to lower the energy bill, as well as to improve the efficiency of the residential environment.
Since the modelling process has required only linear equations to represent the energy balances, the framework has been implemented as a Mixed Integer Linear Programming (MILP) problem. The MILP problem models the flux of energy among the subsystems within the residential environment. Solving the problem provides the optimal energy management schedule as a result, which leads to an improved environment efficiency.
The behaviour of the system has been modelled as a set of algebraic expressions that describes the balance of energy both within each module and within the environment among the modules.
With respect to the previous works [
26,
37], the structure of the framework and the simulation algorithm remain unchanged; therefore, those aspects are not discussed in the present manuscript.
The MILP problem assumes the generic form:
Subject to:
where
is the coefficient vector of the objective function to be minimized, the matrix
is the coefficient matrix of the linear constraints, modelled as inequalities, and
is the vector of the problem variables. Based on this representation, the variables used to model the energy fluxes are recalled:
: amount of energy purchased to supply the entire structure;
: amount of energy surplus resulting from the entire structure;
: amount of solar thermal energy production;
: amount of energy being stored;
: the energy purchase price;
: energy required by the i-th electrical block with .
The objective function to be minimized has been based on the overall electrical and thermal energy costs. The total energy that has to be purchased,
, is given by the sum of the purchased energy necessary to supply each block at the
t-th timeslot:
The energy surplus
is the sum of the surplus provided to each block from the local power plant at the
t-th timeslot:
Therefore, the objective function can be expressed as:
where
represents the overall energy surplus to be demoted,
represents the solar thermal energy production to be promoted, and
denotes the energy routed towards the storage, which is accounted for to price the activity of the storage to be restricted.
The quantities and are arbitrary values acting as scaling factors. Said values have been introduced to exert additional control over the activity of the system. They have been chosen based on the fact that energy is accounted in Wh, and the price is accounted in € per Wh, that is, the price of a Wh of purchased energy has an order of magnitude equal to .
In fact, since the energy being stored has a value (), the manager is required to limit the activity of the storage. Similarly, since the energy surplus and the solar thermal energy have a value, the manager is required to account their amount. In fact, on the one hand, removing these amounts from the objective function allows the manager to ignore solar production, leaving the energy unused, or to dissipate the energy surplus through the storage to lower the unused surplus. On the other hand, including said amounts in the objective function while assuming a scaling factor equal to 1 forces the energy manager to minimize both the amount of energy surplus and the storage activity, rather than the energy bill. Thereby, the scaling factors are used to weight the optimization priority of some aspects of the system activity with respect to the management of the energy purchase. As such, they are part of the energy management policy and can be adjusted based on the user needs.
4. Case Study and Experimental Results
In the present work, both a photovoltaic power plant and a residential environment have been modelled to implement a framework that can be used either as a design tool or a management tool in a Micro Grid environment. For instance, both the models of the photovoltaic plant and the residential environment have been based on real-life facilities. The software framework is based on MathWorks MatLab R2014b, the Parallel Computing Toolbox 6.5, the OPTI Toolbox version 2.11 [
38] and the Solving Constraint Integer Programs (SCIP) 3.0.2 solver. The experiments have been performed on a Windows 8.1 HP Pavilion Laptop, based on an Intel Core i7-4700HQ CPU and with 8 GB of RAM.
4.1. Power Plant Simulation Case Study
The simulation model of the photovoltaic power plant has been complemented with data obtained from real-life PV modules. As a reference, a plant based on 4160 CanadianSolar PV panels (model CS6P-240P [
39]) has been used. The total surface of the panels amounts to 6691.42 m
2, and the nominal output power of the plant amounts to 998.4 kWp. The panels are divided in 208 strings of 20 modules each. Moreover, the strings are divided in 13 groups of 16 strings each. The panels face south and with a 30
tilt angle with respect to the horizon. Shadowing from the panels has been avoided by placing the panels far enough from each other. A simplified sketch of the plant surface is presented in
Figure 5.
The performance of the model has been evaluated on two different irradiation conditions, that is:
- (a)
sunny day,
- (b)
single cloud shading.
The sunny day scenario (a) is based on the irradiation profile and weather conditions of 28 August. In this case, a uniform irradiation level across the plant is assumed. The single cloud scenario (b), on the other hand, simulates the shading effect of a cloud that moves across the plant, which results in the irradiation level, over the plant, to not be uniform. In this case, the irradiation profile, used in the sunny day scenario, has been modified to model the effect of partial shading. Regarding the temperature, in order to simplify the analysis and focus on the effect of partial shading, a constant temperature value of about 25 °C has been used as input in both scenarios.
Based on these irradiation scenarios, three different topologies have been evaluated, along with a baseline configuration, based on a fixed efficiency level for the panels rather than an accurate simulation model:
- (1)
a centralized set-up has been modelled by assuming a dual inverter for the entire plant (two in total) [
40,
41,
42];
- (2)
a macro-block set-up has been modelled by assuming the adoption of one inverter for each subset of panel strings (13 in total);
- (3)
a micro-block set-up has been modelled by assuming the adoption of one inverter per panel string (208 in total);
- (4)
a micro-block baseline set-up has been devised by assuming a fixed 15% efficiency level without inverter losses.
For instance, the baseline configuration (4) has been proposed since, in literature, a fixed efficiency value is often used to compute the energy production from solar irradiation.
In the evaluation, the three different topologies are modelled in combination with four different MPPT algorithm configurations:
- (i)
Perturb and Observe;
- (ii)
Incremental conductance;
- (iii)
Perturb and Observe with Global Point Tracking subroutine;
- (iv)
Incremental conductance with Global Point Tracking subroutine.
The data on solar irradiation have been collected from the italian repository on solar irradiation [
35]. In the current work, the time resolution of the PV plant simulation is 1 min, although this value can be adjusted in accordance with the MPPT device in use.
For each topology, the best performing MPPT algorithm configuration has been selected and their results have been compared. Among these, the simulated output of the configurations (1) and (2), along with the baseline approach (4), have been used as input data to energy managers of the residential environment.
4.2. Power Plant Simulation Results
In the previous work [
17], focused on simulating the effect of partial shading on a photovoltaic power plant, the evaluation, based on different weather conditions, has highlighted that, with respect to a micro-block based plant (3), the energy yield losses of a macro-block based plant (2), amount to about 5%, under sunny or cloudy conditions, but can grow up to 20% in a single cloud scenario. On the other hand, for a two inverter plant (1), the energy yield losses amount to about 5% in cloudy conditions, to about 10% in sunny conditions, but can rise to about 30% in a single cloud scenario.
Furthermore, although different MPPT strategies have been investigated, for all scenarios and configurations, the performance difference among them is not enough to overcome the performance difference resulting from the plant design. Moreover, on a yearly perspective, the income difference can estimated to amount to about 3200 € per year.
Indeed, in a Micro Grid environment, the design of the plant can affect the energy demand of the Micro Grid towards the main grid; however, even the energy management process may be affected. On purpose, the PV simulation model proposed in [
17], which includes a realistic model of solar irradiation that varies in intensity in accordance with both the time of the day and the day of the year, and a model of the plant shading, has been used to evaluate the performance of a PV power plant based on the scenario (a), that assumes the irradiation conditions of a sunny day, and the scenario (b), that assumes the irradiation conditions due to a single cloud moves across the plant, thus shadowing part of the plant in the meantime. Although the actual irradiation levels for each of the 208 groups of panels of the plant are different, by averaging across the plant, the effect of the simulated partial shading can be evaluated, and the irradiation profile for both scenarios can be compared in
Figure 6. The average energy yield amounts to 3031 Wh/m
in the case of the sunny day, whereas it amounts to 2434 Wh/m
.
Based on the PV simulation model, the power outputs of different configurations have been reported for the sunny day scenario in (
Figure 7), whereas the power outputs of the same configurations for the single cloud scenario have been presented in (
Figure 8).
In both scenarios, for each of the PV plant configurations, all four of the MPPT algorithms have been evaluated, and the best performing ones have been compared. For instance, regarding to Configurations (1) and (2), the P&O paired with the GPT subroutine is the best performing MPPT algorithm. In the case of Configuration (3), the IC MPPT algorithm is the best performer.
As a reference, Configuration (4) is proposed. In this case, the power output is computed by using the irradiation and shading models but assuming a fixed 15% efficiency level for the whole plant, rather than the PV cell model.
For instance, the value of 15% corresponds to the peak efficiency of each panel, based on the manufacturer specifications. Since the internal losses of the plant are not accounted for, the baseline setup operates the higher overestimation of the power output in both the sunny and the single cloud scenario.
With regards to the most complex topology (3), where each string has its own inverter, since the area of each string is small enough, the irradiation is roughly homogeneous over each string, thus the maximum efficiency can be achieved. Nonetheless, if we compare the result of the Configuration (3) against the baseline counterpart, it can be observed that the difference in power output is higher in the early and late hours, when the lower irradiation levels result in a lower efficiency level. Moreover, this behaviour can be observed in both the sunny and the single cloud configuration.
On the other hand, for both Configurations (1) and (2), the simulated power output overlaps in the case of the sunny day Scenario (
Figure 7). Moreover, the difference in power output, with respect to the baseline, reaches its maximum during the central hours of the day.
In the case of the single cloud Scenario (
Figure 8), a cloud starts shadowing the plant at about 10 in the morning, and moves completely past the plant at 14; thus, the plant is affected by partial shading in the mean time. In this scenario, Configurations (1) and (2) achieve different results, in accordance with the fact that, with a greater number of inverters, the MPPT algorithm operates in a smaller area, thus improving the performance of the panel output. Therefore, the expected power output for the Configuration (1) is much lower than the expected output of Configuration (2).
Moreover, if the results relating to the single cloud scenario are compared against the results based on the sunny day scenario, it is clear that the performance of the micro-bloc configuration is barely affected by partial shading. On the other hand, the performance of macro-block topology is much more degraded, and the one of the dual inverter configuration even more so. Thus, partial shading does not simply lead to a lower energy yield due to the lower energy levels received by the panels, but also results in a degraded performance of the panels, due to the non-uniform working conditions of the panels.
In terms of energy yield, the absolute results are reported in
Table 1. In the best case scenario, the overestimation of the baseline approach amounts to 6% of the yield of a multi string configuration in sunny days. In the worst case scenario, the overestimation of the baseline approach amounts to 65% of the energy yield of a dual inverter configuration if a cloud overshadows the plant.
In other words, the baseline configuration represents the theoretical optimum in terms of power and energy output, whereas the other configurations describe the actual output of a specific real plant topology. Based on the results, the double inverter configuration is the worst performing and the most affected by partial shading, whereas the micro-block configuration is the closest to the theoretical optimum and it is virtually not affected by partial shading. Nonetheless, it should be noted that, in order to implement Configuration (1), only two inverters are required, whereas Configuration (3) is based on 108 inverters. Therefore, the improved performance of Configuration (3) implies a much higher hardware cost, and, thus, it is not usually a viable solution.
4.3. Energy Management Simulation Case Study
The simulation framework of the Micro Grid environment models a district composed of 44 buildings, each based on the “Leaf House” described in
Section 3.1. Each building is connected to the grid and to the local power plant, and includes its own energy manager, two 5.8 kWh Li-ion batteries and electrical storage, a 20 m
solar thermal collector, a 1300 litre hot water storage tank, and a 16.6 kW geothermal heat pump. For instance, each building has three stories, two of them have been provided with electrical storage, and the third one is connected directly to the grid and the photovoltaic plant. The solar thermal collector, the hot water storage and the geothermal heat pump, on the other hand, serve the three apartments.
The energy management framework can be used as management tool as well as a design tool. If input data are provided, the framework computes the schedule of the energy management. On the other hand, by providing the computed management schedule along with the input, the framework simulates the energy management process.
The input data set includes the hourly energy PV production, the hourly energy electrical load, the hourly thermal solar production and the hourly thermal needs of the apartments. In the current work, to focus on the improvement provided by the integration with the photovoltaic plant simulation model, aside from solar production, all the remaining data used as inputs are historical records collected from the reference environment, which have been presented in the previous works [
26,
37]. The solar production, conversely, has been obtained from the photovoltaic plant simulation as described in the previous section.
For simplicity’s sake, the 44 buildings have been considered identical, thus the hourly energy electrical load, the hourly thermal solar production and the hourly thermal needs are the same for all of the buildings.
The baseline configuration energy yield has been used as a reference, since the baseline configuration is commonly used in the literature to compute the energy availability of Photovoltaic Plants. The double inverter configuration energy yield, on the other hand, has been proposed as a test case, due to the fact that double inverter plants result in less hardware costs, and thus are more commonly used, with respect to macro-block and micro-block topologies.
To assess the performance in a design process, a design reference, based on the energy yield of the baseline configuration, is compared against a design example based on the energy yield of the double inverter configuration. In both cases, since the management schedule is computed and its execution is simulated based on the same PV plant model, the two phases of the two design processes are matched.
To evaluate the effect of different PV plant modelling, the energy yield of the baseline configuration is used to compute a management schedule, whereas the energy yield of the double inverter configuration is used to represent the yield of a real power plant and simulate the performance of the environment. In this case, the design process is mismatched.
4.4. Energy Management Simulation Results
By means of the power output obtained in the previous simulation (
Section 4.2), the hourly energy yield has been computed and used as an input of the energy management simulation of the district. For instance, the baseline configuration and the double inverter configuration have been considered as the ideal case scenario and the real case scenario, respectively.
By comparing the performance resulting from the design simulation, for both scenarios, it is possible to evaluate the effects of the energy production overestimation on the design of a Micro Grid. On the other hand, to investigate the energy management simulation, the energy yield of the baseline configuration has been used to plan the management schedule, whereas the energy yield of the dual inverter configuration has been used to simulate the schedule execution. This simulation allows for evaluating the effects of the energy production overestimation in the everyday activity of the energy manager.
With respect to the design process of a Micro Grid, in a sunny day scenario, the power output is described in
Figure 7. In this case, if the baseline configuration model is used, the amount of energy, to be delivered to each building, is expected to be 68.6 kWh; therefore, the additional amount of energy, supplied by the main grid, required to satisfy the needs of the users of each building, can be assumed to be 10.6 kWh, thus the expected energy cost amounts to 1.38 €. On the other hand, based on the double inverter configuration, the energy expected to be delivered amounts to 62.3 kWh, the energy expected to be supplied from the main grid amounts to 11.2 kWh, and the resulting energy cost amounts to 1.46 €.
In other words, in the case of the sunny day scenario, a design based on a baseline configuration model results in an expected cost that is 5.5% lower than the actual cost.
In a single cloud scenario, the power output is described in
Figure 8. If the baseline configuration model is used, at design time, the energy delivered to the building is expected to amount to 55.2 kWh; the energy supplied from the main grid, then, is assumed to amount to 11.3 kWh, and the resulting energy cost amounts to 1.47 €. If the double inverter configuration model is used, however, the expected energy to be delivered amounts to 33.4 kWh, whereas the amount supplied from the main grid is 15.8 kWh, and the estimated energy cost amounts to 2.05 €.
Therefore, with respect to the case of the single cloud scenario, the use of a baseline configuration produces an estimated cost that is 28.3% lower than the actual cost. Moreover, based on the baseline configuration model, if a cloud shades the plant, the expected cost increase amounts to 6.5%, whereas, if the analysis is based on a double inverter configuration model, the increase of the expected cost amounts to 40%. Hence, in the design of a Micro Grid, the accuracy of the PV plant model and the ability to account for the effect of partial shading are mandatory to correctly assess not only the area and the topology of the plants, but also the characteristics of the many devices and facilities such as the electricity storage.
To investigate the effect of a simplified model on the design process, a mismatched design approach has been proposed. In this case, the energy schedule is planned by using the energy availability computed by means of the baseline configuration model. The schedule execution, however, is simulated using the energy availability computed by means of the double inverter configuration model, which correctly describes the PV plant being used.
In a sunny day scenario, the schedule is computed expecting that 68.6 kWh of energy will be supplied to each building. The delivered energy, however, amounts to 62.3 kWh, whereas the energy supplied from the main grid amounts to 13.1 kWh, which results in an energy cost equal to 1.71 €. In a single cloud scenario, the schedule is computed expecting that 55.2 kWh will be supplied to each building. The delivered energy, in this case, will amount to 33.4 kWh; therefore, the energy supplied from the main grid is equal to 18.8 kWh and its cost amounts to 2.49 €.
Therefore, if a baseline configuration model is used to design a Micro Grid that implements a double inverter plant, the energy cost is actually higher than the value that can be expected from a matched design evaluation. In fact, in a sunny day scenario, the energy cost is 23.9% higher than the one computed in the baseline configuration matched design, and 17.1% higher than one computed in the double inverter configuration matched design. In a single cloud scenario, the energy cost is also 69.3% higher than the cost expected from the baseline configuration matched design, and 21.5% higher than the cost expected from the double inverter configuration matched design.
If the performance drop is considered, the occurrence of the shading effect causes the energy cost to rise from 1.71 € to 2.49 €, which is equal to an additional 45.6% of the price of a sunny scenario. Thus, the partial shading affects the performance of the energy manager significantly, especially if the model of the PV plant, including the partial shading itself, is not adequate. This allows us to conclude that the integration of the SW framework, proposed in [
17], within the energy manager is very effective in order to maximize the energy saving in Micro Grid scenarios.
The cost values of the energy being purchased from the grid for each building are reported also in
Table 2.
5. Conclusions
In the current work, a software framework that models the behaviour of a real life photovoltaic power plant has been integrated with a software framework, aimed at energy management in a Micro Grid environment, with the objective of investigating the effect of accurate energy production estimation in both the design and the management processes of a Micro Grid environment. The software is also made available upon request.
The PV plant simulation model is based on a real-life PV power plant that operates based on the behaviour of the PN junctions within the panels, the effect of MPPT based inverters, the partial shading as well as the elevation angle of the sun and the tilt angle of the panels. The energy management simulation model is also based on a real-life Micro Grid environment and operates by computing the energy flux within the systems of the environment. Thus, the flux of both electrical and thermal energy among the devices in the house are used to schedule the energy management activity. Since the energy management framework is suitable for both design and management, the addition of a PV plant simulation model further enhances the accuracy of cost estimations, energy needs and building performance.
In fact, with respect to the accurate PV modelling, a simplified model leads to the overestimation of the energy availability. For instance, the experiments reveal that an estimation based on a simplified PV model can exceed by 65% the actual production. This can affect both design and management of a Micro Grid, since it leads to an underestimation of energy needs and costs.
In particular, in sunny days, the expected cost based on a simplified PV model can be about 5.5% lower than the cost based on the double inverter model. In single cloud scenarios, however, the underrating can reach 28.3%. The same holds for the management process. In fact, if the expected energy yield is estimated by means of a simplified PV model, the actual cost can be from 17.1% to 21.5% higher than the theoretical cost expected at design time. The obtained results show that the proposed software framework can be employed as a useful design tool for properly sizing the power plant as well as for improving the performance of the energy manager.
Although the results highlight the benefits of an accurate PV plant model, further enhancement and development are required, in order to better integrate the PV model in the energy management framework. On purpose, an evaluation based on a full fledged design software such as the System Advisor Model provided by NREL will also be carried out. Moreover, the support from weather stations as well as an improved modelling of the shading may be required to increase the accuracy of the energy yield prediction. To better analyse the issue, however, weather forecasts as well as weather historical data may be needed to evaluate the energy management process in a proper fashion.