The Scientific World Journal

Volume 2013 (2013), Article ID 604852, 16 pages

http://dx.doi.org/10.1155/2013/604852

## Synthesis of Trigeneration Systems: Sensitivity Analyses and Resilience

^{1}Department of Renewable Energy Engineering, Center of Alternative and Renewable Energy, Federal University of Paraíba, Campus I, 58059-970 João Pessoa, PB, Brazil^{2}Group of Thermal Engineering and Energy Systems (GITSE), Aragon Institute of Engineering Research (I3A), Universidad de Zaragoza, Campus Rio Ebro, 50018 Zaragoza, Spain

Received 29 August 2013; Accepted 8 October 2013

Academic Editors: M. Ameri and B. Dou

Copyright © 2013 Monica Carvalho et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper presents sensitivity and resilience analyses for a trigeneration system designed for a hospital. The following information is utilized to formulate an integer linear programming model: (1) energy service demands of the hospital, (2) technical and economical characteristics of the potential technologies for installation, (3) prices of the available utilities interchanged, and (4) financial parameters of the project. The solution of the model, minimizing the annual total cost, provides the optimal configuration of the system (technologies installed and number of pieces of equipment) and the optimal operation mode (operational load of equipment, interchange of utilities with the environment, convenience of wasting cogenerated heat, etc.) at each temporal interval defining the demand. The broad range of technical, economic, and institutional uncertainties throughout the life cycle of energy supply systems for buildings makes it necessary to delve more deeply into the fundamental properties of resilient systems: feasibility, flexibility and robustness. The resilience of the obtained solution is tested by varying, within reasonable limits, selected parameters: energy demand, amortization and maintenance factor, natural gas price, self-consumption of electricity, and time-of-delivery feed-in tariffs.

#### 1. Introduction

Presently, energy consumption of buildings in developed countries comprises 20–40% of total energy use and is greater than industry and transport figures in the European Union (EU) and USA [1].

A trigeneration system (Figure 1) is designed with the purpose of satisfying the predictable demands of electricity, heat for heating and sanitary hot water (SHW), and cooling of a given consumer center. The technology behind trigeneration is fundamentally based on the coupling of a cogeneration module with an absorption chiller. The cogeneration module includes a thermal motor (a gas turbine or reciprocating engine, e.g.) that converts the fuel’s energy into mechanical energy, an alternator that converts the mechanical energy into electrical energy, and a set of heat exchangers to recuperate useful heat. The absorption chiller can produce cooling by means of using recuperated heat. There are different types of trigeneration systems, which are distinguished by the incorporation of additional equipment [2–4]. Usually, the trigeneration system is complemented by hot water or steam boilers and mechanical chillers. Both technologies are used to guarantee supply and also to avoid oversizing the cogeneration module and the associated absorption chiller. The key in operating trigeneration systems is to satisfy the energy demands of the consumer center with a minimal economic cost. So although a trigeneration system can be designed to operate independently from the electric grid, it is beneficial to establish a link with the grid to buy and sell electricity.

The enhanced fuel consumption efficiency, thanks to the energy integration of the processes in its equipment, is the main benefit of the production of three energy services (electricity, heat, and cooling) from the same energy source in an optimized trigeneration system [5, 6]. This better use of fuel resources is important, as it is associated with economic savings and sparing of the environment with less pollution generated. In order to maximize these benefits, the optimal design of trigeneration plants for buildings needs to address two fundamental issues: the synthesis of the plant configuration and operational planning. Daily and seasonal variations of heating and cooling demands are factors that exert the most influence on the appropriate structure of the energy supply system. A structure can only be selected when consideration is given to the optimal operation of the system’s different components on an hour-by-hour basis throughout the year, which in turn depends on energy market prices.

Many different feasible configurations with different operation modes are involved in an analysis, thus resulting in a complex and difficult problem to solve. The review of Chicco and Mancarella [7] summarizes the characteristics of the optimization methods for polygeneration systems. Developing a custom-build model including different technologies, unit sizes, control modes, market, and legal restrictions can be a complex and laborious process, but the end result will be more transparent to their users. Its principal advantage is that it can be easily modified to respond to different scenarios [8].

The actual development of sustainable energy systems remains challenging due to the broad range of technical, economic and institutional factors that need to be considered throughout the system life cycle [9]. It is necessary to delve more deeply into the fundamental properties of successful systems: efficiency, flexibility, and robustness, rather than utilizing traditional methods for analyzing cost, benefits, and risk. The design of an energy production system should consider not only the technical, but also the economic and institutional uncertainties [10]. By uncertainty, we mean the general lack of knowledge about how the future will unfold.

Sensitivity analysis is the study of how the variation in the output of a model can be apportioned, qualitatively or quantitatively, to different sources of variation, and, or how the given model depends upon the information fed into it [11, 12]. Sensitivity analysis is a technique used to determine how different values of an independent variable will impact a particular dependent variable under a given set of assumptions. Sensitivity analysis is very useful when attempting to determine the impact the actual outcome of a particular variable will have if it differs from what was previously assumed. By creating a given set of scenarios, the analyst can determine how changes in one variable will impact the target variable.

Uncertainty issues become more and more important for the long term planning of energy supply systems for buildings. Optimal designs of small cogeneration plants in a market with fluctuating electricity prices are presented and discussed by Lund and Andersen [13]. Basulto Ernst and Perrella Balestieri [14] proposed an approach to model thermal and electric load variability in order to evaluate the effects of load fluctuation on the cogeneration plant design. The influence of the life of a fuel cell stack due to performance degradation on a system’s economy was investigated by Ito et al. [15]. Gamou et al. investigated the influences of tolerating the shortage of energy supplies on the economy of cogeneration systems and optimal equipment capacities [16] and proposed an optimal unit sizing method for cogeneration systems taking into consideration the uncertainty of energy demands as continuous random variables [17].

In the paper of Yoshida et al. [18] the best system structure and operational strategy is determined for the energy supply system for a hospital. Sensitivity analysis is carried out to verify the influence of upgrading the performance of equipment (+5% to +10%), initial capital cost of equipment (−20% to −50%), and price cutting charges of natural gas and electricity (−5% to −10%). Ren and Gao [19] conducted an investigation on the optimal energy system plan for an ecocampus in Kitakyushu, Japan.

The authors of the two aforementioned works [18, 19] have extended existing studies a step further. These works not only account for the increase/decrease in capacity of installed equipment but also note that some equipment may disappear or appear and that the proposed equipment is not of continuous capacity but actually commercially available with specific dimensions and technical characteristics. A similar sensitivity analysis was also carried out by us in two previous papers. In the first paper [20], the effect of the annual amortization factor and maintenance factor fam (−50% to +50%) and natural gas price (−40% to +40%) were verified on the energy supply system of a hospital (same system analyzed in the present paper). In the second paper [21], the effect of these two parameters was analyzed, fam (−25% to +100%) and natural gas price (−30% to +40%), in addition to the effect of legal restrictions on the sale price of electricity and on minimum self-consumption. The advantages of including heat and cold storage were also added to the study.

Although the concepts of resilience and robustness are not novel, the number of papers centered exclusively on the aspect of evaluating resilience or robustness of energy systems is very limited. Morari [22] included aspects of flexibility, operability, and control into the design procedures of a chemical plant. Larsson and Wene [23] presented a method using hedging to carry out a quantitative analysis of the robustness of the Swedish energy system, further applying the method to evaluate the efficiency and robustness of three strategies [24]. Lai and Hui [25] studied flexibility and feasibility characteristics of a trigeneration system with a predefined structure to handle periodical demand deviations.

At this point, we will discuss the innovations that will be added to our research to even further expand the existing knowledge base. Firstly, the robustness of the optimal structure corresponding to the adopted design will be analyzed. In other words, it will be investigated how a concrete design preestablished as an optimal configuration will support external changes. The analysis will not consider the validity or quality of the mathematical model employed but will detail how the optimization decision supports future technical and economic uncertainties (i.e., energy demands, amortization and maintenance costs, and gas prices). Secondly, an approach for resolution of legal constraints (minimum self-consumed electricity, type of feed-in tariff) will be discussed. To the best of our knowledge and based on systematic reviews, no similar studies have been conducted for comparison purposes.

In a previous paper [20] the authors provided detailed information on energy service demands for a 500-bed hospital located in Zaragoza (Spain), explained the superstructure of the energy supply system considered for the synthesis, and developed a mixed integer linear programming (MILP) model for the multiperiod synthesis and operational planning problem, including (1) the determination of the type, number, and capacity of the equipment installed in the energy supply system and (2) the establishment of the optimal operation for the different plant components on an hourly basis throughout a representative year. Now, in this paper, we analyze how to use the mathematical programming model to provide decision makers with information on the underlying decision problems. This paper does not present a new methodology; this paper carries out sensitivity and resilience analyses. They are applied to the configuration of a system with fixed-size commercially available equipment (discrete design variables, not continuous). An insight into a solution reveals how optimal decisions are affected by information updates on demand variations, economic factors, and legal constraints, that is, the degree of resilience of the optimal solution obtained.

#### 2. Description of the Optimal Trigeneration System

Health care is an energy-intensive, energy-dependent enterprise. Hospital facilities are different from other buildings in that they operate 24 h/day year-round and require sophisticated backup systems in case of utility shutdowns. Hospitals are good candidates for trigeneration systems because of their high energy requirements compared to other commercial buildings as well as their need for high power quality and reliability [26].

A previous paper [20] provided detailed information on energy service demands for the hospital, explained the superstructure of the energy supply system considered for the synthesis of the trigeneration system (available technologies as well as technical and economic characteristics of equipment and operation modes), and presented energy purchase/sale tariffs and current legal requirements for operating a cogeneration system in Spain. Regarding the economic objective function, it was observed that the installation of energy-efficient technologies (cogeneration modules and absorption chillers) was beneficial to achieve the minimum annual cost.

##### 2.1. Energy Demand

The energy demands considered for the hospital were heat, cooling, and electricity. The heat load included heat for sanitary hot water and for space heating. In order to model the energy demands, a study period of one year was considered, distributed in 24 representative days (one working day and one holiday/weekend day for each month), each day being divided into 24 hourly periods. The annual electricity consumption of the hospital was 3250 MWh, the cooling demand was 1265 MWh, and the heat requirements (SHW + heating) were 8059 MWh.

##### 2.2. System Configuration

The superstructure of the energy supply system for the hospital considered the possibility of installing energy production technologies such as gas turbine, steam boiler, internal combustion gas engine, hot water boiler, heat exchangers (steam-hot water and hot water-cooling water), double and single effect absorption chillers, mechanical chiller, and cooling tower. All technology and equipment considered in the optimization were commercially available and therefore the size/configuration of the system was determined in terms of pieces of equipment. The optimal solutions obtained in Lozano et al. [20] only present the following technologies: MGWH (internal combustion gas engine + hot water heat recovery system), CGWH (hot water boiler), ICWH (hot water-cooling water heat exchanger), FAWH (single effect absorption chiller, driven by hot water), FMWR (mechanical chiller, driven by electricity and cooled by water), and CTWR (cooling tower, to evacuate the heat from the cooling water to the ambient air). Figure 2 depicts the structure of the optimal economic energy supply system, showing the technologies selected, the present energy utilities, and the interactions between technologies and utilities. The present utilities are: CG (natural gas), WH (hot water, 90°C), WR (cooling water, °C), AA (ambient air, temperature in Celsius), WC (chilled water, 5°C), and EE (electricity). D, S, P and W refer to, respectively, demand, sale, purchase and waste/loss of a utility.

Table 1 depicts the selected equipment and technical production coefficients. The rows contain installed technologies and the columns contain the utilities. is the nominal power of the equipment. The production coefficient with a bold 1 shows the flow that defines the equipment’s capacity. Positive coefficients indicate that the utility is produced, while negative coefficients indicate the consumption of such utility. It was considered that the production coefficients were constant and independent from the production of the equipment at a given moment. The data shown in Table 1 was obtained from equipment catalogs and consultations with manufacturers.

ZI() in Table 1 is the total investment cost of the selected equipment of technology , obtained from the catalog price and multiplied by two factors: (1) a simple module factor that took into account transportation, installation, connection, insulation, and so forth [27–30] and (2) a factor of indirect costs, which includes engineering and supervision expenses, legal expenses, contractor’s fees, and contingencies (equal to 15% of the equipment investment costs).

Considering the lifetime of the plant to be 15 years and an interest rate of 0.10 yr^{−1} (reasonable for the present economic circumstances in Spain), an annual amortization factor of 0.13 yr^{−1} was obtained. Annual maintenance and operating costs, different from energy costs, were considered to be 7% of the total investment cost. The factor fam = 0.20 yr^{−1} took into account both amortization and maintenance factors.

##### 2.3. Energy Prices and Regulation

A purchase cost of €/MWh for natural gas, which includes taxes and the distribution of fixed costs throughout the estimated annual consumption, was considered [20]. Considering other costs such as taxes, and approximating the distribution of fixed costs, an electricity purchase price of €/MWh for off-peak hours and €/MWh for on-peak hours was considered [20].

According to Spanish legislation and accounting for the nominal power of the natural gas cogeneration modules, the price for sold electricity was €/MWh. In this case it is advisable to verify if the system is capable of maintaining an equivalent electrical efficiency, calculated on an annual basis, of at least 55% for internal combustion gas engines [20].

##### 2.4. Optimization Model

An optimization model was built based on mixed integer linear programming and its solution provides the most convenient configuration and operation modes. The objective function considered is the annual total cost (in €/yr): which minimized equipment and fuel costs as well as purchase/sale of energy services. The annual fixed cost of the equipment was expressed by where NIN() and ZI() were, respectively, the number of pieces of equipment installed and the capital cost of each piece of equipment installed for technology .

Considering that the year was divided into days, which were in turn subdivided into hours, () represented the th hour of the th day. The annual energy cost associated with the operation of the system was expressed by where energy flows are expressed in MW. was the consumption of natural gas, and and were the amount of electricity purchased and sold, respectively.

Operation was subject to capacity limits, production restrictions, and balance equations.

The MILP model for the multiperiod synthesis and operational planning problem was characterized by integer variables for the determination of the number of units installed, and by continuous variables for the representation of energy and economic flows and funds. MILP techniques, already applied in the optimization of cogeneration and trigeneration systems by several authors [31–36], were used. More details on the optimization model can be found in Lozano et al. [20]. The model was implemented in the LINGO [37] modeling language and optimizer, a commercial software package for solving optimization problems. The optimal solution was a global optimal which was obtained by the optimization model through an implicit comparison of the annual optimal operation of all possible structures.

##### 2.5. Legal Conditions

The primary energy savings (PES) provided by cogeneration were calculated in accordance with where and are the efficiency reference values given in the EU’s commission decision [38] for the separate production of electricity and heat, respectively. is the cogenerated electricity, is the consumption of natural gas measured by its lower heating value (LHV), and is the cogenerated useful heat.

A legal condition is applied when cogeneration modules are installed specifying that cogeneration systems must have an annual equivalent electrical efficiency (EEE) value, defined as higher than 55%, which is the minimum required by Spanish law for electricity production in a Special Regime [39] when natural gas-fired reciprocating engines are installed.

##### 2.6. Optimal Trigeneration and Conventional Systems

Table 2 displays the structure of the system and relevant annual energy and monetary flows for the optimal economic system. The economic optimization suggested the installation of three cogeneration modules, three hot water boilers, one absorption chiller, three mechanical chillers, four hot water-cooling water heat exchangers, and three cooling towers, as shown in Figure 2.

Electricity was supplied to users by operating gas engine cogeneration modules and by purchasing a small quantity from an outside electric power company. Electricity was used to drive the mechanical chillers and auxiliary machinery in this system. Hot water for SHW, space heating, and to drive the single effect absorption chiller was supplied by the cogeneration modules and gas-fired boilers. Surplus not-consumed cogenerated heat was disposed of through ICWH hot water-cooling water heat exchangers. Cold water for space cooling was supplied by the single effect absorption chiller and mechanical chillers. The system took advantage of the low purchase cost of natural gas and achieved profit by selling as much as possible cogenerated electricity to the electric grid. There is a great amount of heat being wasted into the environment. Note that the equivalent electrical efficiency of the optimal solution is 55%, the lowest amount allowed.

It is worthwhile highlighting the fact that the optimization results shown herein are presented in annual form. As the electricity tariffs vary throughout the day and throughout the year, at some specific times it is advantageous for the energy supply system to sell self-generated electricity to the grid (taking advantage of the high price for electricity export) while purchasing electricity to the grid. Constraints in the optimization model (please refer to [20] for details) prevent the system from importing and exporting electricity from/to the grid simultaneously (the system cannot purchase electricity from the grid and then sell it back).

The characteristics of the conventional energy supply system were obtained when excluding the possibility of cogeneration in the optimization model. The configuration and main energy flows are shown in Figure 3. Electricity was purchased directly from the grid to meet the demands of electricity and cooling through four mechanical chillers and three cooling towers. Heat was produced by six hot water boilers. Table 2 displays the structure of the system and relevant energy and monetary flows for the conventional system.

The annual energy cost savings achieved with the trigeneration system compared to the conventional system are 525 195 €/yr. The installation of a trigeneration system requires an additional investment, compared with the conventional system, of 1 455 900 €/yr, resulting in a simple payback period of less than three years.

#### 3. Energy Demands

The first traditional analyses study the effects of the variation of energy demands. In these first analyses, there is total freedom in the optimization model, which will result in different configurations with different operation strategies.

The energy demands were varied within the range −20% to +20% in 5% steps. Table 3 displays the type and number of installed equipment and annual energy and monetary flows for the optimal solutions. The column in bold indicates the base case.

As the energy demands decreased from the base case, the number of cogeneration modules and the purchase of natural gas decreased. As the energy demands increased from the base case, the basic configuration with three gas engines and one absorption chiller remained constant, but cooling towers, mechanical chillers, and hot water boilers are added.

The solutions presented in Table 3 display the desirable feature of flexibility, as all solutions not only matched the energy demands of the consumer center, but did also so in an efficient and profitable manner. The term flexibility will be used here to describe more than a condition of the system, but a virtue, as the system adapts to different conditions in the environment. This concept takes the definition of feasibility a step further, not only considering that the energy demands of the consumer center were satisfied, but that the system adapted well, economically and efficiently, to the changes. The concept of flexibility expresses a leap between the reference system (that satisfactorily meets the energy demands) and the proposed system with several equipment integrated, which is able to operate in different operational states and with economic benefits.

Previous traditional sensitivity analyses considered the design of a new system with total freedom in the optimization model. However, in real projects, a robust system configuration is desired, with adequate objective function values valid not only at the optimal calculated, but also when there are changes in boundary conditions of parameters. If the configuration obtained is sensitive to small perturbations, it will not be appropriate because the high investment will result in serious risk in practice. So, the second set of analyses will verify the robustness of the optimal economic configuration presented in Table 2 (base case). From an entrepreneurial viewpoint, it will be verified how the base case system will operate when a change in conditions is implemented. The concept of robustness here expresses that the configuration not only fulfils the series of initial conditions in an economic and efficient way, but also in the event of unexpected changes, the system adapts well and still delivers an economic and efficient operation. Robustness analyses are presented as a first approach for dealing with an increasingly common problem, unpredictably changing environment, and how the system adapts to such changing conditions.

The term resilience expresses the capability of the system of adapting to expected changes (flexibility) as well as to unexpected changes (robustness). So, the concept of resilience will encompass the previous concepts of feasibility, flexibility, and robustness of the base case configuration. It will be considered that the system has already been built, and the question is how the system will react to future unforeseeable changes in external conditions. In this situation, only an operational retrofit will take place. The optimization model verifying the resilience will consider a fixed configuration, optimizing the operational strategy throughout the entire year when the energy demands vary between the intervals previously specified.

The starting point to these analyses is the base case configuration, with three gas engines, three hot water boilers, four hot water-cooling water heat exchangers, one absorption chiller, three mechanical chillers, and three cooling towers (i.e., the optimal economic configuration obtained in Section 2). Table 4 shows the results for the operational optimal strategy considering the fixed configuration and that only the energy demands varied.

For variations of over 10% in the energy demands, the solution with the base case configuration was unfeasible, as obviously the existing installed equipment was not sufficient to satisfy the increased energy demands. However, from Table 3 it can be seen that when the energy demands increase, the configuration of the system presents a modular behavior in the sense that only conventional (and cheaper) equipment is added. Therefore, in the event that energy demands increase more than 10%, hot water boilers, mechanical chillers and cooling towers are added to guarantee the supply of the consumer center.

The data shown in Table 4 suggests that the configuration of the base case was reasonable in terms of robustness against perturbations of demand. Variation of energy demands was absorbed by the system, which adapted its operational mode to the new scenarios, even with an increase in energy demands over 10%.

Tables 3 and 4 present different ranges for variations in energy demands. This occurs because Table 3 presents a sensitivity analysis that allows structural changes to adapt to unlimited changes in energy demands. Table 4, on the other hand, studies the resilience of a selected structure (fixed), which is analyzed until the energy demand limit that can be satisfied without incorporation of new equipment.

Figure 4 shows the behavior of three solutions in response to variations in energy demands: Conventional, Ideal, and Base. The Conventional solution meets the energy demands of the hospital through the purchase of natural gas for the boilers, which will satisfy the heat demand and through the purchase of electricity from the electric grid to satisfy the demands of electricity and cooling (via mechanical chillers). The Base solution is the optimal solution corresponding to a system with the base case configuration (data in Table 4). The Ideal solution corresponds to the optimal solution obtained with free selection of technologies (data in Table 3).

From Figure 4 it can be seen that the base case design can be considered a good selection, behaving very closely to the optimal ideal solutions (with free choice of equipment) in an interval of energy demands variation between −15% and +5%. When the energy demands vary up to −15%, the maximum difference between the total annual costs of Base and the Ideal configurations is 5.45%, which is quite acceptable. In this way, the base case design displayed a resilient behavior, delivering good results even when confronted with unpredictable changes in demand conditions.

#### 4. Economic Factors

The following analyses study the effects of the variation of two economic factors: amortization and maintenance factor and price of natural gas. The amortization and maintenance factor weighs capital costs in comparison with energy costs, and depends on the lifetime of the systems, the interest rate, and maintenance and operating cost. Variation of the price of natural gas will vary the relationship with the price of electricity, so the analysis also covers indirectly variations in the price of electricity.

##### 4.1. Amortization and Maintenance Factor

The first analyses are carried out in the traditional sense, with free configuration and operation of the system in the optimization model. The influence of the amortization and maintenance factor fam was analyzed, varying between 0.10 and 0.30 yr^{−1}. Table 5 displays the type and number of installed equipment and annual energy and monetary flows for the optimal design. The column in bold indicates the base case.

A trend was observed: as the fam factor increased, the number of cogeneration modules and absorption chillers as well as the sale of electricity decreased. There is no purchase of electricity with fam less than 0.20 yr^{−1}, when three gas engines and two absorption chillers were installed. With fam = 0.20 yr^{−1}, one absorption chiller with one cooling tower was replaced by one mechanical chiller, reducing the investment. With fam greater than 0.20 yr^{−1} a gas engine was eliminated, reducing the inversion but with a consequent reduction in the production of electricity and cogenerated heat. The sale of electricity decreased and it was necessary to install another hot water boiler to supply heat.

Following the methodology, flexibility analyses followed by robustness analyses, now we will verify the robustness of the base case configuration. It will be considered that the operational retrofit is forced onto the base case system due to changes in fam and verified whether the base case configuration is able to tackle unexpected conditions, resulting in a resilient configuration. Table 6 shows the results for the operational optimal strategy considering the base case configuration when fam varied.

The data shown in Table 6 suggests that the base case configuration operated correctly across a wide range of fam conditions. Logically, variation of fam did not affect the operational strategy of the system.

Figure 5 shows the behavior of three solutions in response to variations in fam: Conventional, Base, and Ideal. The conventional solution meets the energy demands of the hospital through the purchase of natural gas for the boilers, which will satisfy the heat demand and through the purchase of electricity from the electric grid to satisfy the demands of electricity and cooling (via mechanical chillers). The base case configuration is the fixed configuration corresponding to the initial economic optimal (data in Table 6). The ideal solution corresponds to the free selection of technologies (data in Table 5). Figure 5 revealed that the base case design was a wise selection, being stable for a wide interval of fam and behaving closely to the optimal ideal solutions (with free choice of equipment), resulting in a resilient configuration.

##### 4.2. Price of Natural Gas

Secondly, the influence of the natural gas price was analyzed. Table 7 displays the type and number of installed equipment for values of between 0.015 and 0.035 €/kWh and annual energy and monetary flows for the economic optimal. The column in bold indicates the base case.

As the price of natural gas increased, the number of cogeneration modules and absorption chillers as well as the sale of electricity decreased. There is no purchase of electricity with less than 0.025 €/kWh, when three gas engines and two absorption chillers were installed. With €/kWh, one absorption chiller and one cooling tower were replaced by one mechanical chiller. This reduced the investment but required purchasing electricity externally. With €/kWh, one gas engine was eliminated, reducing the inversion but with a consequent reduction in the production of electricity and cogenerated heat. The sale of electricity decreased and it was necessary to install another hot water boiler to supply heat. With €/kWh, only one gas engine was installed, the sale of electricity decreased to a reduced value and it was necessary to install another hot water boiler to supply heat. Not much variety was observed in the optimal configurations, and the results were logical in the sense that the operation of the system adapted to the price of natural gas, realizing profit by taking advantage of its low price and selling electricity to the grid.

Following the proposed methodology, now the robustness of the base configuration will be verified. It will be considered that the operational retrofit is forced onto the system due to changes in the price of natural gas and verified whether the base case configuration is able to tackle unexpected conditions, resulting in a resilient configuration. Table 8 shows the results for the operational optimal strategy considering the base case configuration when the price of natural gas varied.

The data shown in Table 8 suggests that the base configuration was good in terms of optimality and also good in terms of robustness against perturbations. Variations in operation occurred only for high prices ( €/kWh), when less natural gas was purchased (and consequently less cogenerated electricity was sold to the grid).

Figure 6 shows the behavior of three solutions in response to variations in the price of natural gas: Conventional, Base, and Ideal. The base case configuration is the fixed configuration corresponding to the initial economic optimal (data in Table 8). The ideal solution corresponds to the free selection of technologies (data in Table 7).

Figure 6 revealed that the base case design was an appropriate selection, behaving closely to the ideal solutions (with free choice of equipment). Only with high natural gas prices, both the base and ideal solutions are not much better than the conventional solution.

In many practical optimization tasks, there is a need to search for robust plants with adequate configurations to withstand perturbations of market conditions without significant loss of economic performance. With respect to the economic parameters, Figures 5 and 6 revealed that the base case design was resilient to variations of annual amortization and maintenance factor and natural gas price, behaving closely to the optimal ideal solutions (with free choice of equipment). This means that investing in the base case system is convenient, with the exception of a dramatic change in the economic environment.

#### 5. Legal Constraints

In Spain, electricity producers in the Special Regime (those that use cogeneration, renewable sources, and waste products) can sell their surplus electricity at a regulated tariff. Cogeneration plants are restricted basically by the following legal constraints: (i) electric power must be lower than 50 MW; (ii) a minimum equivalent electric efficiency must be fulfilled, depending on the cogeneration technology and the fuel consumed; and (iii) a specific quota of the electricity produced must be self-consumed by the owner of the cogeneration plant. During the last years, legal restrictions have been modified [40]. The following analyses verify the effect of legal constraints in Spain regarding minimum self-consumption and time-of-delivery feed-in tariffs on the optimal economic energy supply system. An additional legal condition for all scenarios is an annual equivalent electrical efficiency value higher than 55%, which is the minimum required by Spanish law when cogeneration modules with natural gas-fired reciprocating engines are installed. The amortization and maintenance factor fam and prices of natural gas and purchased electricity were the same for all scenarios (fam = 0.20 yr^{−1}, = 0.025 €/kWh, €/kWh).

##### 5.1. Self-Consumption

In recent years, legal restrictions have been modified and the most significant difference has been the mandatory minimum amount of self-consumed electricity. In 1998, the self-consumption had to be higher than 30% of the electricity produced in the cogeneration plant [41]; in 2004 this limit was reduced to 10% [42]; and in 2006 this restriction was eliminated [43]. Only the surplus produced electricity can be sold to the electric grid.

This section applied the aforementioned different values (corresponding to the legal restrictions on self-consumption of electricity) to the economic optimization model, yielding three scenarios (SC30, SC10, and SC0), shown in Table 9. The scenario SC0, column in bold, corresponds to the base case.

As the real self-consumption of scenario SC0 was 23.83%, the same configuration and operation was maintained when the obligation of self-consumption was raised to 10% in Scenario SC10. However, a slightly different configuration was obtained in Scenario SC30. The obligation of a minimum electricity self-consumption of 30% affected significantly the amount of electricity sold to the electric grid (Scenario SC30: 6620 MWh/yr versus scenarios SC0 and SC10: 11,389 MWh/yr), installing one less gas engine and one more hot water boiler.

The obligation of self-consumption of a portion of the electricity produced by the owner of the cogeneration plant has been a strong restriction in the configuration and operational strategies corresponding to the optimal design. In trigeneration systems, part of the self-consumption could be justified by the operation of mechanical chillers. In fact, this condition limits the quantity of cogeneration modules and absorption chillers to install. The self-consumption obligation has been a persistent barrier to a wider uptake of cogeneration in the residential Spanish sector [21]. As can be seen, the installation of energy-efficient technologies (cogeneration modules and absorption chillers) was fomented by the most recent legal scenario, in which all electricity produced by cogeneration modules can be sold to the electric grid. Various gas engine cogeneration modules were combined with both absorption and compression chillers to satisfy cooling loads.

The right column of Table 9 shows the optimal operation of the base system when an electricity self-consumption of 30% is imposed. The annual total cost obtained (616,644 €) is logically greater than that corresponding to Scenario SC30 with ideal flexible configuration (580,839 €). However that base cost (616,644 €) is significantly lower than the annual total cost of the conventional configuration presented in Table 2 (804,184 €). Again, the base system displayed a desirable robustness feature, being able to adapt to a reasonable variation in the obligatory minimum self-consumption of cogenerated electricity.

##### 5.2. Time-of-Delivery Ratio

Time-of-delivery feed-in tariffs help create a more efficient electricity system while providing a means to encourage peak shaving and this can create a number of benefits for electricity customers, grid operators, and society. Some countries provide higher payment levels to encourage electricity generation at times of high demand. Because electricity is more valuable during these times, an incentive structure is one way of aligning the feed-in tariff payment to be more market-oriented [44]. From an investor’s point of view, optional hourly differentiation in feed-in tariffs could increases the economic performance and guarantees a secure and predictable cash flow over a determined time period. This contributes to reducing risks and improving returns.

Previous optimizations were carried out considering constantly the price of electricity feed-in to the grid ( €/kWh). The time-of-delivery factor reflected the fact that electricity delivered to the grid during peak times was more valuable than electricity delivered during other times. The Royal Decree 661/2007 [45] divides the day into two periods: 16 on-peak hours (8 h to 24 h) with an increase in price and the 8 remaining off-peak hours (0 h to 8 h) with a discount. Final feed-in electricity price was calculated in function of the time-of-delivery ratio (TDR) solving the following equations: Data utilized in the optimization model until now did not account for time of delivery and therefore the TDR is 1.0. Ratios of 1.5 and 2.0 were chosen to carry out the sensitivity analyses, and Table 10 shows the obtained results. The scenario SR0, column in bold, corresponds to the base case.

Scenario SR15 presented the same configuration as the base case with the addition of one cooling tower. Operation changed throughout the day to adapt to delivering electricity to the grid at on-peak times. With the implementation of hourly differentiation, no purchase of electricity from the grid occurred. Interestingly, no significant increase in the sale of electricity was verified. Scenario SR20 presented a slight increase in the sale of cogenerated electricity, taking advantage of the higher relationship between on-peak and off-peak prices to realize profit. However, the initial investment in equipment was considerably higher, installing one more gas engine, one less hot water boiler, and switching one mechanical chiller for an absorption chiller.

Only with an exceptional increase in time-of-delivery ratio there was a change in configuration, and the operation of the system did not change significantly. The installation of a thermal energy storage system could change these results: the system would be more flexible and could accumulate cogenerated thermal energy during a time period, to be consumed in other.

In the right column of Table 10 the optimal operation of the base system configuration with a TDR equal to 2.0 is shown. The annual total cost obtained (550,282 €) is slightly higher than that corresponding to Scenario SR20 with ideal flexible configuration (532,662 €), an even lower than the annual total cost corresponding to Scenario SR0 (570,169 €). Again, the base system displayed a desirable robustness feature, being able to adapt to a reasonable variation in the time-of-delivery ratio. Also note that the base system even takes advantage of time-of-delivery feed-in tariff.

#### 6. Conclusions

Several sensitivity analyses were carried out to verify the most influential factors on the structure and operation of a trigeneration system designed for a medium-sized hospital.

The terms feasibility, flexibility, robustness, and resilience were defined in the context of synthesis of energy supply systems for buildings. Feasibility concerns about the system (both reference system and trigeneration system) ability to ensure the energy demands of the consumer center. Flexibility took the definition of feasibility a step further, expressing that the system adapted well, economically and efficiently, to expected external changes. The concept of flexibility expressed an upgrade from the reference system (capable to meet the variable energy demands) to the integrated trigeneration system (able to operate efficiently in different expected external conditions). The concept of robustness expressed that the configuration not only fulfilled the expected external conditions in an economic and efficient way, but in the event of unexpected changes, the system adapts well and still delivered an economic and efficient operation. The term resilience expressed the ability of the system to withstand expected changes (flexibility) as well as unexpected changes (robustness).

In the technical sensitivity analyses, as the energy demands decreased, the number of cogeneration modules and the purchase of natural gas decreased. In a resilience analysis considering the variation of energy demands by the consumer center, it was verified that the configuration corresponding to the economic optimal trigeneration system (base system) could absorb variations within the range of −15% and +5%, presenting a performance significantly close to the ideal solution (with free configuration).

In the economic sensitivity analyses, as the amortization and maintenance factor increases, the number of cogeneration modules and absorption chillers decrease along with a decrease in the sale of electricity. An increase in the price of natural gas decreases the benefits achieved, selling less and less electricity and installing less cogeneration modules and absorption chillers. In a resilience analysis considering economic parameters, it was verified that the configuration corresponding to the base system is a satisfactory selection, being stable for a wide interval of amortization factors and natural gas prices, with a behavior very close to the ideal solution.

The obligation of a minimum self-consumption of 30% limited significantly the amount of electricity produced and therefore also the sale of electricity, which confirms that this requirement has been a legal barrier to the penetration of cogeneration in the residential-commercial sector. A change in configuration will only be necessary if there is a significant increase in the time-of-delivery ratio, when the system will realize profit as a consequence of the hourly differentiation in feed-in tariffs.

#### Nomenclature

: | Annual fixed cost of the equipment [€/yr] |

: | Annual operational cost (energy) [€/yr] |

: | Annual total cost [€/yr] |

: | Day of the year |

EEE: | Equivalent electrical efficiency [%] |

: | Cogenerated electricity [MWh/yr] |

: | Electricity demand [MW] |

: | Electricity purchased (imported from grid) [MW] |

: | Electricity sold (exported to the grid) [MW] |

fam: | Amortization factor [yr^{−1}] |

: | Consumption of natural gas (cogeneration) [MWh/yr] |

: | Consumption of natural gas [MW] |

: | Hour of the day |

: | Index refers to technology |

NIN(): | Number of pieces of equipment (technology ) installed |

PES: | Primary energy savings [%] |

: | Price of purchased electricity [€/MWh] |

: | Price of sold electricity [€/MWh] |

: | Price of natural gas [€/MWh] |

: | Nominal power [MW] |

: | Cogenerated useful heat [MWh/yr] |

: | Heat demand [MW] |

: | Cooling demand [MW] |

TDR: | Time-of-delivery ratio |

Total investment cost [€] of technology | |

: | Capital cost [€] of each piece of equipment installed for technology . |

*Greek Letters*

: | Efficiency value for separate production of electricity |

: | Efficiency value for separate production of heat. |

#### Acknowledgments

This work was developed within the framework of research projects ENE2007-67122 and ENE2010-19346, funded in part by the Spanish Government (Energy program) and the European Union (FEDER program).

#### References

- L. Pérez-Lombard, J. Ortiz, and C. Pout, “A review on buildings energy consumption information,”
*Energy and Buildings*, vol. 40, no. 3, pp. 394–398, 2008. View at Publisher · View at Google Scholar · View at Scopus - G. Chicco and P. Mancarella, “From cogeneration to trigeneration: profitable alternatives in a competitive market,”
*IEEE Transactions on Energy Conversion*, vol. 21, no. 1, pp. 265–272, 2006. View at Publisher · View at Google Scholar · View at Scopus - D. W. Wu and R. Z. Wang, “Combined cooling, heating and power: a review,”
*Progress in Energy and Combustion Science*, vol. 32, no. 5-6, pp. 459–495, 2006. View at Publisher · View at Google Scholar · View at Scopus - J. Deng, R. Z. Wang, and G. Y. Han, “A review of thermally activated cooling technologies for combined cooling, heating and power systems,”
*Progress in Energy and Combustion Science*, vol. 37, no. 2, pp. 172–203, 2011. View at Publisher · View at Google Scholar · View at Scopus - E. T. Calva, M. P. Núñez, and M. A. R. Toral, “Thermal integration of trigeneration systems,”
*Applied Thermal Engineering*, vol. 25, no. 7, pp. 973–984, 2005. View at Publisher · View at Google Scholar · View at Scopus - L. M. Serra, M.-A. Lozano, J. Ramos, A. V. Ensinas, and S. A. Nebra, “Polygeneration and efficient use of natural resources,”
*Energy*, vol. 34, no. 5, pp. 575–586, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. Chicco and P. Mancarella, “Distributed multi-generation: a comprehensive view,”
*Renewable and Sustainable Energy Reviews*, vol. 13, no. 3, pp. 535–551, 2009. View at Publisher · View at Google Scholar · View at Scopus - L. R. Hinojosa, A. R. Day, G. G. Maidment, C. Dunham, and P. Kirk, “A comparison of combined heat and power feasibility models,”
*Applied Thermal Engineering*, vol. 27, no. 13, pp. 2166–2172, 2007. View at Publisher · View at Google Scholar · View at Scopus - J. Fiksel, “Designing resilient, sustainable systems,”
*Environmental Science and Technology*, vol. 37, no. 23, pp. 5330–5339, 2003. View at Publisher · View at Google Scholar · View at Scopus - M. Houwing, A. N. Ajah, P. W. Heijnen, I. Bouwmans, and P. M. Herder, “Uncertainties in the design and operation of distributed energy resources: the case of micro-CHP systems,”
*Energy*, vol. 33, no. 10, pp. 1518–1536, 2008. View at Publisher · View at Google Scholar · View at Scopus - A. Saltelli, “Sensitivity analysis for importance assessment,”
*Risk Analysis*, vol. 22, no. 3, pp. 579–590, 2002. View at Publisher · View at Google Scholar · View at Scopus - P. Liu, D. I. Gerogiorgis, and E. N. Pistikopoulos, “Modeling and optimization of polygeneration energy systems,”
*Catalysis Today*, vol. 127, no. 1–4, pp. 347–359, 2007. View at Publisher · View at Google Scholar · View at Scopus - H. Lund and A. N. Andersen, “Optimal designs of small CHP plants in a market with fluctuating electricity prices,”
*Energy Conversion and Management*, vol. 46, no. 6, pp. 893–904, 2005. View at Publisher · View at Google Scholar · View at Scopus - M. A. Basulto Ernst and J. A. Perrella Balestieri, “Influences of thermal and electric load fluctuations in the cogeneration attractiveness,”
*Applied Thermal Engineering*, vol. 26, no. 14-15, pp. 1500–1505, 2006. View at Publisher · View at Google Scholar · View at Scopus - K. Ito, S. Gamou, and R. Yokoyama, “Optimal unit sizing of fuel cell cogeneration systems in consideration of performance degradation,”
*International Journal of Energy Research*, vol. 22, no. 12, pp. 1075–1089, 1998. View at Google Scholar · View at Scopus - S. Gamou, R. Yokoyama, and K. Ito, “Optimal unit sizing of cogeneration systems under the toleration for shortage of energy supply,”
*International Journal of Energy Research*, vol. 24, no. 1, pp. 61–75, 2000. View at Google Scholar · View at Scopus - S. Gamou, R. Yokoyama, and K. Ito, “Optimal unit sizing of cogeneration systems in consideration of uncertain energy demands as continuous random variables,”
*Energy Conversion and Management*, vol. 43, no. 9–12, pp. 1349–1361, 2002. View at Publisher · View at Google Scholar · View at Scopus - S. Yoshida, K. Ito, and R. Yokoyama, “Sensitivity analysis in structure optimization of energy supply systems for a hospital,”
*Energy Conversion and Management*, vol. 48, no. 11, pp. 2836–2843, 2007. View at Publisher · View at Google Scholar · View at Scopus - H. Ren and W. Gao, “A MILP model for integrated plan and evaluation of distributed energy systems,”
*Applied Energy*, vol. 87, no. 3, pp. 1001–1014, 2010. View at Publisher · View at Google Scholar · View at Scopus - M. A. Lozano, J. C. Ramos, M. Carvalho, and L. M. Serra, “Structure optimization of energy supply systems in tertiary sector buildings,”
*Energy and Buildings*, vol. 41, no. 10, pp. 1063–1075, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. A. Lozano, J. C. Ramos, and L. M. Serra, “Cost optimization of the design of CHCP (combined heat, cooling and power) systems under legal constraints,”
*Energy*, vol. 35, no. 2, pp. 794–805, 2010. View at Publisher · View at Google Scholar · View at Scopus - M. Morari, “Flexibility and resiliency of process systems,”
*Computers and Chemical Engineering*, vol. 7, no. 4, pp. 423–437, 1983. View at Google Scholar · View at Scopus - T. Larsson and C.-O. Wene, “Developing strategies for robust energy systems. I: methodology,”
*International Journal of Energy Research*, vol. 17, no. 6, pp. 503–513, 1993. View at Google Scholar · View at Scopus - T. Larsson, “Developing strategies for robust energy systems. II: application to CO
_{2}risk management,”*International Journal of Energy Research*, vol. 17, no. 6, pp. 515–535, 1993. View at Google Scholar · View at Scopus - S. M. Lai and C. W. Hui, “Feasibility and flexibility for a trigeneration system,”
*Energy*, vol. 34, no. 10, pp. 1693–1704, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. Carvalho,
*Thermoeconomic and environmental analyses for the synthesis of polygeneration systems in the residential-commercial sector [Ph.D. thesis]*, Universidad de Zaragoza, Zaragoza, Spain, 2011. - R. A. Zogg, K. Roth, J. Brodrick et al.,
*Cooling, Heating and Power (CHP) for Commercial Buildings Benefit Analysis*, Arthur D. Little, 2002. - L. Goldstein, B. Hedman, D. Knowles et al., “Gas-fired distributed energy resource technology characterizations,”
*National Renewable Energy Laboratory Report*NREL/TP-620-34783, 2003. View at Google Scholar - G. Ulrich and P. Vasudevan,
*Chemical Engineering Process Design and Economics: A Practical Guide*, Process Publishing, 2nd edition, 2004. - W. D. Seider, J. D. Seader, D. R. Lewin, and S. Widagdo,
*Product and Process Design Principles*, Wiley, 3rd edition, 2008. - S. Horii, K. Ito, P. S. Pak, and Y. Suzuki, “Optimal planning of gas turbine co-generation plants based on mixed-integer linear programming,”
*International Journal of Energy Research*, vol. 11, no. 4, pp. 507–518, 1987. View at Google Scholar · View at Scopus - R. Yokoyama, K. Ito, K. Kamimura, and F. Miyasaka, “Development of a general-purpose optimal operational planning system for energy supply plants,”
*Journal of Energy Resources Technology, Transactions of the ASME*, vol. 116, no. 4, pp. 290–296, 1994. View at Google Scholar · View at Scopus - R. Yokoyama, Y. Hasegawa, and K. Ito, “A MILP decomposition approach to large scale optimization in structural design of energy supply systems,”
*Energy Conversion and Management*, vol. 43, no. 6, pp. 771–790, 2002. View at Publisher · View at Google Scholar · View at Scopus - S.-D. Oh, H.-J. Lee, J.-Y. Jung, and H.-Y. Kwak, “Optimal planning and economic evaluation of cogeneration system,”
*Energy*, vol. 32, no. 5, pp. 760–771, 2007. View at Publisher · View at Google Scholar · View at Scopus - H. Seo, J. Sung, S.-D. Oh, H.-S. Oh, and H.-Y. Kwak, “Economic optimization of a cogeneration system for apartment houses in Korea,”
*Energy and Buildings*, vol. 40, no. 6, pp. 961–967, 2008. View at Publisher · View at Google Scholar · View at Scopus - M. Casisi, P. Pinamonti, and M. Reini, “Optimal lay-out and operation of combined heat & power (CHP) distributed generation systems,”
*Energy*, vol. 34, no. 12, pp. 2175–2183, 2009. View at Publisher · View at Google Scholar · View at Scopus - LINGO, “the modeling language and optimizer. Lindo Systems,” 2013, http://www.lindo.com/.
- “COMMISSION DECISION establishing harmonised efficiency reference values for separate production of electricity and heat,” Official Journal of the EU, 6. 2. , L 32, 183–188, 2007.
- LAW 54/1997, of the Spanish Electricity Sector. BOE 285, pp. 35097–35126, 1997 (Spanish).
- J. Ramos,
*Optimal design and operation of cogeneration systems for commercial and residential buildings [Ph.D. thesis]*, Universidad de Zaragoza, 2012 (Spanish). - RD, 2818/1998, on the production of electricity by facilities supplied by renewable energy resources or sources, waste and cogeneration. BOE 312, pp. 44077–44089, 1998 (Spanish).
- RD 436/2004, on the establishment of the methodology for updating and systematization of the legal and economic frameworks of electricity production in a special regime. BOE 75, pp. 13217–13238, 2004 (Spanish).
- RDL 7/2006, on the adoption of urgent measures in the electric sector. BOE 150, pp. 23979–23983, 2006 (Spanish).
- A. Klein, B. Pfluger, A. Held, M. Ragwit, and G. Resch,
*Evaluation of Different Feed-in Tariff Design Options: Best Practice Paper for the International Feed-in Cooperation*, Fraunhofer ISI, Karlsruhe, Germany, 2nd edition, 2008. - RD 661/2007, on the regulation of electricity production in a special regime. BOE 126, pp. 22846–22886, 2007 (Spanish).