The Optimization of Steam Generation in a Biomass-Fired Micro-Cogeneration Prototype Operating on a Modiﬁed Rankine Cycle

: According to the United Nations, one of the sustainable development goals is to ensure access to affordable, reliable, sustainable, and modern energy for all. Among other options, these goals can be achieved by developing and introducing micro-scale combined heat and power systems powered by renewable energy sources, including solar and biomass energy. Considering renewable energy-powered cogeneration technologies, the most promising are steam/vapor turbines, Stirling engines


Introduction
Global warming, environmental degradation, and a high share of energy generated from fossil fuels have emerged as significant concerns worldwide.Considering different sectors, around 30% of total energy is consumed for the operation of buildings (it is almost 130 EJ of energy).Another 21 EJ is used for other construction services.This energy is used mainly for central heating and hot water preparation [1,2].To attain national energy savings goals and reduce carbon footprint, it is necessary to reduce the energy consumption of buildings.Furthermore, from the standpoint of sustainable development goals, bioenergy can be considered as an essential alternative for energy generation, thereby mitigating the advance of global warming caused by the extensive use of fossil fuels [3].The development of clean technologies and the reduction in greenhouse gas emissions also depend on the impact of environmental taxation [4].However, the use of biofuels has gained global interest because of their environmental benignity.Various conversion technologies have been developed and introduced to convert biomass into various energy products [5].
Combined heat and power generation (CHP), including micro-scale cogeneration systems (mCHP), can be considered as an alternative to traditional systems in terms of considerable energy saving and environmental conservation [6].Such systems may help improve energy security, reduce greenhouse gas emissions to the atmosphere, provide cost savings due to the omission of electricity transmission or fuel transportation, and provide higher reliability since the system can work independently of the grid [7,8].Nowadays, major efforts are focused on developing and implementing micro-CHP systems powered by renewable energy sources [9][10][11].Among other options, cogeneration systems with solar concentrators [12,13], biomass-fired boilers [14], and wood-fired stoves [15] are considered.Moreover, hybrid systems are becoming more and more popular [16].Considering an increased consumption of primary fuels, rising electricity prices, and technological progress of the micro-scale cogeneration units, biomass-fired micro-cogeneration systems have become ever more economically competitive compared to traditional installations.On the other hand, biomass-fired micro-cogeneration systems should be still improving to ensure high reliability and reduce investment costs [17,18].
In fact, the most popular biomass-fired micro-cogeneration technologies are those based on Stirling engines (SEs), the organic Rankine cycle (ORC), and thermoelectric generators (TEGs).Other technologies, such as the steam Rankine cycle (SRC), are not widely popular [19,20].Classic, large-scale steam power plants operating according to the Rankine cycle require high operational parameters-typical steam boilers can handle up to 30 MPa and a maximum temperature of ca.650 • C [21].In advanced ultra-supercritical thermal power plants, the steam parameters can reach 700 ÷ 760 • C, 30 ÷ 35 MPa [22].Such parameters are unattainable in micro-scale systems (and would be subjected to additional formal and legal requirements).Considering these limitations, ORC systems are better suited than conventional steam cycles for micro-scale plants with a few dozen kW e .The enthalpy drop is much lower than that of those systems since the ORC uses organic fluids with favorable thermodynamic properties.Therefore, a turbine may expand the flow through a few stages [23,24].On the other hand, water use is environmentally friendly and cheaper when compared to organic fluids.Moreover, the available temperature and heat generated in biomass-fired boilers are higher than in geothermal units.Therefore, introducing micro-cogeneration systems based on the modified Rankine cycle is a potentially interesting option, e.g., for residential applications, as the potential for primary energy savings and greenhouse gas (GHG) reduction is considered very high [25].
An example of a micro-CHP system that operates according to the Clausius-Rankine cycle with a single-stage piston engine as the expander was shown in Ref. [26].The thermal and electrical power of the analyzed system were 104 kW t and 23 kW e , respectively, while the electrical efficiency was 14% and the total efficiency was 78%.Ref. [27] discussed the potential of introducing the Clausius-Rankine multi-stage system to increase the cogeneration process's efficiency.It was assumed that the first stage would work with water as the working medium and the second stage would work with the organic fluid R11.The expected increase in the efficiency of waste heat utilization, in this case, was estimated at 15%.The example of the ORC system powered by a biomass boiler was examined in Ref. [14].The proposed system had an electricity output of 2 kW e , with an electrical efficiency of 7.5-13.5%.Another example of an ORC system that was supplied with biomass energy (a 50 kW t pellet-fired boiler) was discussed in Ref. [28].In this case, the maximum electrical power was 860 W e [28].Carraro et al. [29] developed a combined heat and power system with a biomass boiler supplying the micro-ORC unit.The system was presented as suitable for application in isolated microgrids.The authors obtained efficiency at the level of 7.3%, the energy utilization factor of the cogeneration system equal to 62%, and the ORC unit equal to 93%.With an oil temperature of about 150 • C, the achieved power production was 2.53 kW e.
In addition to performance analysis of micro-CHP systems, many studies have been focused on analyzing the dedicated constructions of the turbines or the heat exchangers [30].In Ref. [31], a process integrating hydrothermal carbonization, chemical looping with oxy-gen uncoupling, and the combined cycle was proposed for power generation, providing fast biomass processing speed, low SO x and NO x emissions, and efficient carbon capture.Considering a hydrochar feed rate of 100 kg/h, the observed net power generation was 260 kW e , while the thermal efficiency was 35.3%.With carbon capture and compression to 100 bar, the thermal efficiency has dropped to 32.4%.Moreover, several investigations have been devoted to micro-scale trigeneration systems.For example, in Ref. [32], a trigeneration system powered by a pellet boiler with a maximum power of 50 kW t was presented.The water was heated to the temperature of 100-140 • C and used to evaporate the low boiling agent HFE7100 in the evaporator.The modified scroll compressor then propelled the low-boiling medium vapors.The electrical power obtained was equal to 0.5 kW e , with a boiler heating power of 9.6 kW t and a cooling capacity of 6.6 kW c .Worldwide literature also contains investigations based on dynamic simulations, including design and process integration of the ORC units utilizing biomass for power generation [33], exergoeconomic analysis of an integrated electric power generation system based on biomass utilization and ORC unit [34], performance analysis of a small-scale ORC trigeneration system [35], biomass gasification micro-cogeneration plants [36], hybrid biomass-solar CHP systems [37], and others [38,39].
This paper focuses on optimizing the currently developed prototypical micro-CHP system.The essential part of the presented work was the experimental analysis of the steam generation process in the evaporator and the superheater, steam temperature and pressure variations in the steam bus, and operational characteristics of the power generator.Based on the experimental results, a retrofitting optimization was performed to maximize the piston engine's power.By considering several technological improvements, an in-house MATLAB [40] code incorporating the system's thermodynamic and heat transfer model was developed.The prepared code was coupled with the REFPROP 9.0 [41] database to determine the water's unknown thermophysical properties and state functions.The system optimization performed in the MATLAB environment showed that the examined SRC could be an efficient biomass-fired CHP unit.As such, it can successfully serve as one of the alternative cogeneration technologies.

Materials and Methods
The proposed design of the analyzed micro-cogeneration system was based on the modified Rankine cycle operation.Three main assumptions were made at the development phase of this system:

•
The use of a batch boiler dedicated to straw combustion as a heat source;

•
To maintain heat as a main product of the system's operation;

•
To provide low investment costs.
The system's high efficiency was not a crucial factor from the standpoint of its development because straw was assumed to be a low-cost (or free) and widely available fuel.Therefore, the proposed system can be an interesting option for areas where straw is widely available (agricultural and others).On the other hand, if straw transport is necessary, it should also be considered when assessing the whole installation's profitability.

Construction of the Prototypical System
The analyzed system is divided into three circuits: the thermal oil circuit, the steam-condensate circuit, and the water circuit.In the thermal oil circuit, the oil is heated in a 100 kW t strawfired batch boiler.During the presented investigations, Orlen ITERM 6 Mb oil (commonly used in industrial heating and cooling installations) was used.The temperature range of ITERM 6Mb oil is determined by its solidification point, typically −13 • C, and the autoignition temperature is typically 252 • C. The density of the oil changes from 906 kg/m 3 (0 • C) to 775 kg/m 3 (220 • C), while its specific heat changes from 2.1415 kJ/(kgK) to 2.2797 kJ/(kgK), respectively.Hot thermal oil is transferred to shell and tube heat exchangers operating as an evaporator and superheater (shell-and-tube heat exchangers of the JAD type are mostly used in standard industrial installations or heat substations [42]).
Moreover, an additional oil-to-water plate heat exchanger was used in the thermal oil circuit, which may be activated when the oil temperature exceeds the upper allowed temperature.Steam generated in the evaporator is then superheated in the superheater and conditioned in the steam dryer and reducing valve.After that process, the steam reaches the expander-double cylinder, acting steam engine V-type 20 hp (the nominal power of the steam engine was declared for the steam pressure of 13.8 bars and the rotation speed of 700 rpm).The engine is connected to a power generator by a belt.Partially expanded steam is condensed in the condenser (shell and tube heat exchanger of JAD type).After condensation, water is pumped to the degasser and the evaporator.The general view and simplified scheme of the system is shown in Figure 1.
The operation of the discussed system €s controlled by a PLC controller equipped with a set of extension modules, measurement elements, and actuators.Among others, the following parameters are measured and recorded by the system:

•
Flue gas temperature at the outlet from the boiler; • Thermal oil temperature (in the selected points) and flow; • Condensate and steam temperature and pressure (at the selected points);

•
The current and voltage generated in the power generator.
The main parameters of the equipment used during the discussed experiments are summarized in Table 1.−13 °C, and the auto-ignition temperature is typically 252 °C.The density of the oil changes from 906 kg/m 3 (0 °C) to 775 kg/m 3 (220 °C), while its specific heat changes from 2.1415 kJ/(kgK) to 2.2797 kJ/(kgK), respectively.Hot thermal oil is transferred to shell and tube heat exchangers operating as an evaporator and superheater (shell-and-tube heat exchangers of the JAD type are mostly used in standard industrial installations or heat substations [42]).Moreover, an additional oil-to-water plate heat exchanger was used in the thermal oil circuit, which may be activated when the oil temperature exceeds the upper allowed temperature.Steam generated in the evaporator is then superheated in the superheater and conditioned in the steam dryer and reducing valve.After that process, the steam reaches the expander-double cylinder, acting steam engine V-type 20 hp (the nominal power of the steam engine was declared for the steam pressure of 13.8 bars and the rotation speed of 700 rpm).The engine is connected to a power generator by a belt.Partially expanded steam is condensed in the condenser (shell and tube heat exchanger of JAD type).After condensation, water is pumped to the degasser and the evaporator.The general view and simplified scheme of the system is shown in Figure 1.
The operation of the discussed system €s controlled by a PLC controller equipped with a set of extension modules, measurement elements, and actuators.Among others, the following parameters are measured and recorded by the system:

•
Flue gas temperature at the outlet from the boiler; • Thermal oil temperature (in the selected points) and flow; • Condensate and steam temperature and pressure (at the selected points); • The current and voltage generated in the power generator.
The main parameters of the equipment used during the discussed experiments are summarized in Table 1.Furthermore, the following parameters are controlled by the PLC controller: inlet air temperature and flow, thermal oil flow, condensate, and steam flow, as well as cooling water flow (via inverters).The parameters mentioned above are available in a visualization created in the CoDeSys software (version 2.3).

Experimental Procedure
The main goal of the investigations carried out so far was to determine the working parameters of the discussed CHP system, assess the current limitations, and optimize the system configuration (using mathematical modeling).Table 2 presents assumptions for two measurement series that differed, e.g., in the steam engine operation and a way of controlling the condensate pump operation (continuous and two-state control).
Table 2.The assumptions for the analyzed series.

Parameter Series 1 Series 2
The amount of rectangular straw bales in the initializing load 4 4 The amount of additional rectangular straw bales added during the combustion process 9 4 Assumed flue gas temperature at the boiler's outlet 320-340 During the described tests, grey straw in the form of rectangular bales was burned.Straw bales were characterized by the weight that ranged from 7 to 13 kg and the average moisture content, which amounted to 17.5% in series 1 and 13.7% in series 2. Depending on the analyzed series, various additional fuel inputs were realized: from 4 to 9. The weight of straw bales fed by the fuel feeder per hour was similar in both series: 45-46 kg/h.Taking into account the average caloric value of the burned straw (ca.14.4 MJ/kg-value calculated according to data included in [43]), the chemical energy in combusted straw may be estimated at a level of ca.650-660 MJ/h.

Retrofitting Optimization of the System
An enhanced thermodynamic model is developed to conduct a retrofitting optimization of the system under examination.First, several technological improvements are set out and applied as one of the modeling assumptions.Then, to examine the system's operation over a wide range of working conditions, several parameters are introduced (evaporation ratio ER) in this work or adopted (superheating degree SD) from the well-established studies.Next, after defining key equations for the thermodynamic and heat transfer analyses, the optimization problem is formulated.Several constraints are imposed to ensure reliable and technically feasible outcomes.To correctly predict the performance of the modernized system, the geometrical limitations (the heat exchangers stay the same) that keep the calculated heat exchanger areas close to their real values are also included.

Thermodynamic Model
To enhance the performance of the system, the following technological improvements are included in the model: (1) the pipes connecting the superheater with the steam engine are well insulated, and their dimensions are lowered so that there are no heat and pressure losses during the flow of the steam, (2) the new power generator with a power capacity of up to 10.0 kW e is applied, allowing the steam engine to develop higher power output, i.e., >1.50 kW, (3) system automation is introduced providing the system to operate at close-to-steady-state conditions.
In addition, to simplify modeling of the system, the following assumptions were made: (1) there are no heat and pressure losses in the heat exchangers and all connecting pipes, (2) the piston engine operates with a constant isentropic efficiency of η i,PE = 0.50 [44], (3) the pump operates with the efficiency of η i,P = 0.75 [45], (4) the kinetic and potential energy changes of the fluids are neglected.
Based on the abovementioned assumptions, the system should operate according to the thermodynamic cycle depicted in Figure 2. In the same figure, simplified temperature distributions of the heat carrier (thermal oil) and heat sink (cooling water) are illustrated as well.Water that implements the depicted thermodynamic cycle undergoes the following thermodynamic processes: • Isobaric preheating (st,1-st-pre), evaporation (st,pre-st,eva), and superheating (st,eva-st,2) in the heat exchangers ("evaporator" and "superheater"); determined with the use of mass (Equation ( 1)) and energy (Equation ( 2)) balance equations: As mentioned in the previous sections, the evaporation process of the steam takes place partially in the "superheater", which results from an insufficient heat transfer area of the "evaporator" (the names of these heat exchangers are given in quotes throughout this section since in the current configuration of the system, they do not work according to their original purpose).For this reason, at the outlet of the "superheater", the thermal oil is cooled down to the temperature toil,2a, which is lower than the temperature toil,sup required to accomplish the superheating process (see Figure 2).Therefore, the specific value of toil,2a depends on the extent to which the steam is evaporated in the "superheater".To include this phenomenon in the model, the evaporation ratio (ER) indicator is proposed in this study, and it is formulated as follows: As seen in Equation (3), ER is defined as the ratio of the heat transferred during the evaporation of the steam in the "superheater" to the heat required for completing the evaporation of this fluid.The physical meaning of ER can be described by considering its limiting values, i.e., 0.00 and 1.00.For ER = 0.00, no evaporation heat is transferred in the "superheater", while for ER = 1.00, the entire evaporation process is accomplished in the "superheater".
A key parameter to be distinguished in the modeling of the Rankine cycle is the degree of superheating.In Figure 2, it is represented by Δtsup that is defined as the In Figure 2, there is also an approximate illustration of the expansion process (st,2,ex-st,4,ex) that takes place in the existing, non-optimized installation state.Due to the partial expansion of the steam in the pipes connecting the superheater with the engine, the ideal state st,2 is shifted to st,2,ex.This effect and the higher steam pressure at the engine outlet substantially reduce the engine's pressure ratio, thus decreasing the engine power outputs.The latter aspect is further discussed in Section 3.
While creating a thermodynamic model of the system, each component (or subcomponent covering a certain process) is considered a control volume.The unknown thermodynamic quantities, including heat transferred by the water in the individual processes, the power output of the piston engine, or power consumed by a pump, are determined with the use of mass (Equation ( 1)) and energy (Equation ( 2)) balance equations:
As mentioned in the previous sections, the evaporation process of the steam takes place partially in the "superheater", which results from an insufficient heat transfer area of the "evaporator" (the names of these heat exchangers are given in quotes throughout this section since in the current configuration of the system, they do not work according to their original purpose).For this reason, at the outlet of the "superheater", the thermal oil is cooled down to the temperature t oil,2a, which is lower than the temperature t oil,sup required to accomplish the superheating process (see Figure 2).Therefore, the specific value of t oil,2a depends on the extent to which the steam is evaporated in the "superheater".To include this phenomenon in the model, the evaporation ratio (ER) indicator is proposed in this study, and it is formulated as follows: As seen in Equation (3), ER is defined as the ratio of the heat transferred during the evaporation of the steam in the "superheater" to the heat required for completing the evaporation of this fluid.The physical meaning of ER can be described by considering its limiting values, i.e., 0.00 and 1.00.For ER = 0.00, no evaporation heat is transferred in the "superheater", while for ER = 1.00, the entire evaporation process is accomplished in the "superheater".
A key parameter to be distinguished in the modeling of the Rankine cycle is the degree of superheating.In Figure 2, it is represented by ∆t sup that is defined as the difference between the temperature of the steam at state st,2 and the temperature of the steam at state st,eva.Apart from its impact on the power output and thermal efficiency of the cycle, ∆t sup also determines the state of the steam at the outlet of the piston engine.The latter aspect can be expressed by the steam quality x st,4 (see Figure 2), the value of which should be kept above a certain level to avoid excessive formation of the water droplets.By recalling the superheating degree parameter (SD) applied in the study by Chatzopoulou et al. [46], the degree of superheating can be formulated as follows: where ∆t pinch,min is the minimum allowable temperature difference between the thermal oil and water across the heat exchangers, and its assumed value is equal to 3.00 K.The SD parameter allows conveniently specifying a maximum possible superheating of the steam under given values of the evaporation temperature t eva and the temperature of the heat carrier t oil,1 .Specifically, for SD = 1.00, the oil temperature t oil,1 differs from the steam temperature t st,2 by the minimum limit value.Meanwhile, for SD = 0.00, there is no superheating of the steam, and its state st,2 corresponds to the point that lies on the saturated vapor curve, i.e., the point marked as st,eva.Another parameter substantially affecting the system performance is the difference ∆t eva between the heat carrier temperature t oil,eva and the water temperature t st,pre at the saturated liquid point (see Figure 2).By adopting the nomenclature given in Figure 2, this parameter can be formulated as follows: Many scholars have shown that ∆t eva affects both thermodynamic performance [47] (via an impact on the net power output) and economic viability [48] (via an influence on the heat exchanger area).Even though the economic aspect is not an issue in this study (the model is built for an existing system with a predefined heat exchangers size), an impact on the heat transfer area is still crucial since it is one of the deciding factors in determining the feasible working conditions of the system.
The thermodynamic parameters of the evaporation t eva and condensation t con temperatures of the steam (marked in Figure 2) strongly affect the thermal efficiency of the SRC.Hence, they are also key for improving the performance of the entire SRC installation.
As one of the most significant performance indicators of the power plant capacity, the electrical power output of the piston engine is examined in this study.It is determined using the following equation: The mechanical η m and electrical η el efficiency are assumed to be equal to 85% and 95% [49], respectively.The specific enthalpy h st,4 is calculated by applying definition of the isentropic efficiency of the piston engine: Apart from electricity production, the considered system is designed to supply the heat through the condensation process st,4-st,5.To evaluate the cogeneration performance of the Rankine cycle, the energy utilization factor ε R is determined using the following equation: The net power output P net is calculated as the difference between the electric power of the piston engine and the power consumed by the pump: The power consumption of the pump is calculated as: As with determining the specific enthalpy h st,4 at the outlet of the piston engine, the specific enthalpy h st,1 at the outlet of the pump is computed with the use of isentropic efficiency of the pump: The heat transferred during the evaporation and condensation processes are calculated from the following relationships: . .
In the case of the SRC, the power consumed by the pump is usually negligible when compared to the power generated by the expander [50].To verify this statement for the examined installation, the ratio RCG between the consumed and generated power of the cycle is calculated using the following equation: The thermodynamic analysis is complemented by determining the thermal efficiency of the Rankine cycle:

Heat Transfer Analysis
The simplified heat transfer model is constructed to estimate the overall heat transfer coefficients k for the heat exchangers and to calculate the heat exchangers' heat transfer areas.The overall heat transfer coefficients are estimated based on their mean values (see Table 3) that are calculated for the selected experimental data points (the time interval between 95.0 min and 100 min was selected-see Figure 3).Meanwhile, the heat transfer areas are determined while conducting retrofitting optimization of the system (see Section 2.8).For both procedures, i.e., for determining coefficients k and heat transfer areas A, the logarithmic mean temperature difference (LMTD) method is employed.The equations corresponding to the individual heat exchangers and their sections are given below.specific enthalpy hst,1 at the outlet of the pump is computed with the use of isentropic efficiency of the pump: The heat transferred during the evaporation and condensation processes are calculated from the following relationships: In the case of the SRC, the power consumed by the pump is usually negligible when compared to the power generated by the expander [50].To verify this statement for the examined installation, the ratio RCG between the consumed and generated power of the cycle is calculated using the following equation: The thermodynamic analysis is complemented by determining the thermal efficiency of the Rankine cycle:

Heat Transfer Analysis
The simplified heat transfer model is constructed to estimate the overall heat transfer coefficients k for the heat exchangers and to calculate the heat exchangers' heat transfer areas.The overall heat transfer coefficients are estimated based on their mean values (see Table 3) that are calculated for the selected experimental data points (the time interval between 95.0 min and 100 min was selected-see Figure 3).Meanwhile, the heat transfer areas are determined while conducting retrofitting optimization of the system (see Section 2.8).For both procedures, i.e., for determining coefficients k and heat transfer areas A, the logarithmic mean temperature difference (LMTD) method is employed.The equations corresponding to the individual heat exchangers and their sections are given below.• "Evaporator" The "evaporator" is divided into sections in which the processes of preheating and evaporation are conducted.It is worth noting that evaporation occurs in the "evaporator" and "superheater".Therefore, the LMTD equations corresponding to the preheating and evaporation processes in the "evaporator" are as follows: A eva,E = .
Q eva,E k eva ∆t log,eva,E • "Superheater" In the "superheater", the evaporation process of the steam is completed, and then the superheating process of the saturated steam takes place.Thereby, the applied equations for the individual sections of the "superheater" (subscript S) can be written as: • "Condenser" In the condenser (subscript CON), only two-phase condensation of the steam takes place, and hence, the heat transfer equation can be written in the following form: The fluids flow counter-currently in the heat exchangers.Accordingly, the general formula for the logarithmic mean temperature difference can be written as follows: where the subscripts hot and cool refer to the hot and cool medium, while the subscripts in and out pertain to the inlet and outlet state of the fluid.

Input Parameters
The parameters that are constant during the optimization procedure are listed in Table 3.As indicated in Table 1, the temperature range of the thermal oil during the measurement series is between 190 • C and 210 • C. To assess the system's maximum performance, the upper bound of that range is taken as the inlet thermal oil temperature t oil,1 .Since there were little variations in the volume flow rate of the thermal oil .
V oil , it was decided to calculate its mean value, relying on the measurement data encompassing the time interval of 95.0-100 min.The cooling water at the inlet to the condenser is set at the ambient temperature of 20.0 • C. The temperature difference ∆t con (see Figure 2) is assumed to be equal to 10.0 K, similarly as in [51].

Validation of the Model
The validation of the thermodynamic model applied in this study was shown in detail in [48], and therefore it is not presented herein.

Optimization Problem
As mentioned previously, the retrofitting optimization of the steam cycle is aimed at maximizing the electrical power output of the system.Thereby, the electrical power P el is selected as the criterion to be optimized, and the genetic algorithm (GA) is employed as a tool to find the optimal operating conditions of the system.The parameters that are selected as decision variables include the following: (1) evaporation temperature t eva , (2) superheating degree parameter SD, (3) temperature difference ∆t eva , (4) condensation temperature t con , and ( 5) evaporation ratio ER.The single-objective optimization that aims to find the optimal value of P el is formulated as follows: subject to t eva ≥ t con (25) 0 x st,4 ≥ 0.90 (29) A S − A S,real A S,real ≤ 0.05 (32) The vector of decision variables → X can be written as: To obtain technically feasible solutions to the problem defined in Equation ( 24), the constraints given in Equations ( 25)-( 30) are imposed on the selected thermodynamic and heat transfer parameters.By imposing the constraint given in Equation ( 25), the nonfeasible configurations of the Rankine cycle are excluded.The superheating degree SD and evaporation ratio ER are parameters defined in a range between 0.00 and 1.00, which is considered in the constraints presented in Equations ( 26) and (28).The temperature difference ∆t eva is limited (Equation ( 27)) similarly as in [47].The limitation imposed on the steam quality (Equation ( 29)) allows avoiding excessive formation of the water droplets at the end of the expansion process in the piston engine.The pinch point temperature difference ∆t pinch,HX (i.e., the smallest temperature difference between the fluids across the heat exchanger) is always greater than ∆t pinch,min (Equation ( 30)) to exclude infeasible heat transfer conditions.
Since the optimization is performed for an existing system with a predefined heat exchangers size (the values of A S,real , A E,real and A CON,real are given in Table 3), the calculated heat transfer areas of the "evaporator", "superheater" and condenser should not deviate from their real values by more than 5.00%, which is expressed in Equations ( 31)- (33).

Results and Discussion
The energy flow in the boiler and oil circuit was analyzed at the beginning of the presented investigation.Data in Table 4 show that more than 50% of the heat generated in the boiler was transferred from oil to condensate and steam in the evaporator and superheater (63.6% and 54.7%, respectively).Heat losses in the pipes and fittings were quite high-from 4.8% (series 2) to 8.6% (series 1).The uncertainties of energy values were calculated using the root sum of the squares.On the other hand, taking into account the chemical energy contained in the straw inputs and the amount of heat generated in the boiler, its efficiency was quite low-ca.51.7% and ca.47.3% during series 1 and 2, respectively (compared to the nominal value of 82% given by manufacturer).Such low boiler efficiency resulted, e.g., from the combustion process starting on a cold boiler, working with a chimney draft up to 3-4 times higher compared to typical water units (high chimney draft was required to provide an assumed oil temperature at the outlet from the boiler), as well as from the manual control of the system operation.

The Steam Temperature and Pressure at the Outlet from the Superheater
The comparison of steam temperature and pressure variations at the outlet from the superheater during series 1 and series 2 is shown in Figure 3.In both series, the maximum steam temperature was ca.200 • C (it was reached in the 9 0t h minute).During the operation of the steam engine, the average steam temperature was ca.185-190 • C.During series 1, the maximum steam pressure of 8.5 bar was reached in the 6 0t h minute, while in series 2, the maximum steam pressure of 7.5 bar was observed in the 7 5t h minute.In both cases, after opening the reduction valve, the pressure in the steam-condensate circuit was lowered due to the partial expansion of the steam in the pipeline.As a result, the average steam pressure at the superheater outlet during steam engine operation was, respectively, ca. 5 bars during series 1 and ca. 4 bars during series 2. The variations in the steam pressure were related to, among others, the current setting of the reduction valve, the set of electric loads connected to the steam engine, and the way the operation of the condensate pump was controlled.

A Comparison of Continuous and Two-State Control of Condensate Pump Operation
Steam parameters at the superheater outlet depended on different factors, including the reducing valve set, steam engine operation (including electric load set), and condensate pump operation.Two different ways of controlling the condensate pump operation were analyzed during series 1 and 2. The level of water in the evaporator was assumed to be 1000 mm.In the case of series 1, the water level in the evaporator was controlled by continuously adjusting the setting of the condensate pump via the inverter.The average water level in the evaporator was ca.933 mm.On the other hand, during series 2, the twostate control method was tested.Each time the water level exceeded the assumed value, the condensate pump was switched on for 10-30 s (the exact time was determined by the water level).To illustrate the differences in the water level variations in the evaporator during series 1 and series 2, the time between 70 and 100 min was tested, as presented in Figure 4.In the case of continuous control (series 1), the average water level in the evaporator was equal to 942 mm, while in the case of two-state control (series 2), the average water level in the evaporator was significantly lower-equal to 775 mm.On the other hand, it depended on the selection of signaling levels.During series 2, the average water level was 751 mm between the 7 0t h and 7 5t h minutes (when the pump was turned off when the water level reached 1000 mm) and 840 mm between the 8 3r d and 8 7t h minutes (when the pump was turned off when the water level reached 1100 mm).
Steam parameters at the superheater outlet depended on different factors, including the reducing valve set, steam engine operation (including electric load set), and conden sate pump operation.Two different ways of controlling the condensate pump operation were analyzed during series 1 and 2. The level of water in the evaporator was assumed to be 1000 mm.In the case of series 1, the water level in the evaporator was controlled by continuously adjusting the setting of the condensate pump via the inverter.The averag water level in the evaporator was ca.933 mm.On the other hand, during series 2, the two state control method was tested.Each time the water level exceeded the assumed value the condensate pump was switched on for 10-30 s (the exact time was determined by th water level).To illustrate the differences in the water level variations in the evaporato during series 1 and series 2, the time between 70 and 100 min was tested, as presented in Figure 4.In the case of continuous control (series 1), the average water level in the evapo rator was equal to 942 mm, while in the case of two-state control (series 2), the averag water level in the evaporator was significantly lower-equal to 775 mm.On the othe hand, it depended on the selection of signaling levels.During series 2, the average wate level was 751 mm between the 7 0t h and 7 5t h minutes (when the pump was turned off when the water level reached 1000 mm) and 840 mm between the 8 3r d and 8 7t h minutes (when the pump was turned off when the water level reached 1100 mm).

The Efficiency of the Evaporator and Superheater
The heat required for the evaporation of water in the evaporator and superheating o steam in the superheater was calculated for the time between the 7 5t h and 8 5t h minutes The calculated values were compared with the amount of heat received from the oil.Th efficiency of evaporation and superheating processes was determined.The results (alon with the boundary conditions) are presented in Table 5.The average superheater powe related to its surface was over three times lower than that of the evaporator.Moreover, th efficiency of the superheater was almost 17 times lower than the evaporator efficiency (i was caused, e.g., by the fact that condensate was partially evaporated in the superheate area, which was not included in the calculations).On the other hand, in the next version

The Efficiency of the Evaporator and Superheater
The heat required for the evaporation of water in the evaporator and superheating of steam in the superheater was calculated for the time between the 7 5t h and 8 5t h minutes.The calculated values were compared with the amount of heat received from the oil.The efficiency of evaporation and superheating processes was determined.The results (along with the boundary conditions) are presented in Table 5.The average superheater power related to its surface was over three times lower than that of the evaporator.Moreover, the efficiency of the superheater was almost 17 times lower than the evaporator efficiency (it was caused, e.g., by the fact that condensate was partially evaporated in the superheater area, which was not included in the calculations).On the other hand, in the next version of the micro-cogeneration system (version ready to test in real conditions before its final commercialization), the size of the superheater should be limited.As previously calculated, the required superheater size is lower than the evaporator.The currently installed superheater is oversized because its function may be switched to the evaporator (shell and tube heat exchangers are connected in series now, but they may also be connected in parallel).
Table 5.The efficiency of the evaporator and superheater during series 2 (between 7 5t h and 8 5t h minutes).

Position Evaporator Superheater
The average temperature at the inlet to the heat exchanger [ • C] 55.0 168.7 The average temperature at the outlet from the heat exchanger [ Condensate and steam temperature distribution in the steam-condensate circuit were analyzed during series 2. The electric load was set during tests to determine the operating characteristics of the power generator.The average steam temperature in the main phase of the system operation was measured as 151.7 • C, 171.6 • C, and 123.5 • C at the evaporator outlet, the superheater outlet, and the steam engine inlet, respectively.The average steam temperature drop in the pipeline between the superheater and the steam engine was, therefore, 48.1 K (compared to 52.8 K in the case of series 1).Such a significant decrease in the steam temperature resulted mainly from the large pipe volume (and consequently reduced steam velocity), the too-small thickness of the pipes' thermal insulation (only 30 mm of mineral wool), and heat losses on partially uninsulated valves and other components.Moreover, during the described tests, all installation run-ups were performed from a cold state, so a part of the heat transferred from the oil to condensate, and steam was used to preheat steam/condensate circuit components (in the initial phase of the steam/condensate circuit operation).Variations in the condensate temperature were caused by way of controlling its level in the evaporator (two-state control strategy during series 2).The variations in the steam and condensate temperatures in the steam-condensate circuit when the steam engine operated during series 2 are shown in Figure 5.

Condensate and Steam Pressure Distribution in the Steam-Condensate Circuit
During series 2, the reduction valve was opened in the 3 5t h minute of the combustion process (the beginning of the main phase).Up to the 7 5t h minute, steam flowed through the bypass (the steam engine was switched off).Hence, there was a gradual increase in pressure in the individual parts of the steam-condensate circuit for this series.As the reference point, the pressure at the superheater outlet was chosen.After reaching the level of 7.0 bars, the steam engine was switched on, and after reaching the level of 7.5 bars, the set

Condensate and Steam Pressure Distribution in the Steam-Condensate Circuit
During series 2, the reduction valve was opened in the 3 5t h minute of the combustion process (the beginning of the main phase).Up to the 7 5t h minute, steam flowed through the bypass (the steam engine was switched off).Hence, there was a gradual increase in pressure in the individual parts of the steam-condensate circuit for this series.As the reference point, the pressure at the superheater outlet was chosen.After reaching the level of 7.0 bars, the steam engine was switched on, and after reaching the level of 7.5 bars, the set of reduction valve was changed from 30% to 80%.Modification of the reducing valve setting caused an increase in the steam flow and a significant drop in the steam pressure at the superheater outlet (from 7.5 to 4.0 bars).Then, between 84 and 103 min, steam pressure at the superheater outlet was maintained at an average level of 4.3 bars.At the same time, the average steam pressure at the inlet of the steam engine was only 3.3 bars, and the average steam pressure at the inlet of the condenser was 2.7 bars (see Figure 6).

Condensate and Steam Pressure Distribution in the Steam-Condensate Circuit
During series 2, the reduction valve was opened in the 3 5t h minute of the combustion process (the beginning of the main phase).Up to the 7 5t h minute, steam flowed through the bypass (the steam engine was switched off).Hence, there was a gradual increase in pressure in the individual parts of the steam-condensate circuit for this series.As the reference point, the pressure at the superheater outlet was chosen.After reaching the level of 7.0 bars, the steam engine was switched on, and after reaching the level of 7.5 bars, the set of reduction valve was changed from 30% to 80%.Modification of the reducing valve setting caused an increase in the steam flow and a significant drop in the steam pressure at the superheater outlet (from 7.5 to 4.0 bars).Then, between 84 and 103 min, steam pressure at the superheater outlet was maintained at an average level of 4.3 bars.At the same time, the average steam pressure at the inlet of the steam engine was only 3.3 bars, and the average steam pressure at the inlet of the condenser was 2.7 bars (see Figure 6).

Steam Temperature and Pressure Variations in the Steam Pipeline
The main problem from the standpoint of the steam-condensate circuit operation is a significant drop in temperature and pressure.Table 6 shows steam temperature and pressure changes in the evaporator and superheater, the pipeline between the superheater outlet and steam engine inlet, and the steam engine (during series 2).The highest pressure drop (0.89 bar) was observed in the pipeline between the superheater and the steam engine (approximately 0.06 bar/m).The pressure drop in the pipeline was greater than in the steam engine.This situation was caused mainly by the steam cooling in the pipeline (a

Steam Temperature and Pressure Variations in the Steam Pipeline
The main problem from the standpoint of the steam-condensate circuit operation is a significant drop in temperature and pressure.Table 6 shows steam temperature and pressure changes in the evaporator and superheater, the pipeline between the superheater outlet and steam engine inlet, and the steam engine (during series 2).The highest pressure drop (0.89 bar) was observed in the pipeline between the superheater and the steam engine (approximately 0.06 bar/m).The pressure drop in the pipeline was greater than in the steam engine.This situation was caused mainly by the steam cooling in the pipeline (a temperature drop of 52.3 K) and local pressure losses on the elbows, valves, and other elements.The power generated in the power generator resulted from the actual steam parameters (pressure, flow, temperature) and the setting of the electric load.During this process, maximum power point tracking was realized by changing the settings of the electric load from 0 to 2.0 kW e .The maximum power was approx.1.15 kW e, and it was achieved when thermal power generated in the boiler was observed at the level of approx.110 kW t .Consequently, the share of electricity generation in the total energy generation was only 1.05%.Such low power resulted mainly from a very low power generator capacity (simple construction of the generator with a maximum power of ca.1.5 kW e was used at the current stage).Other limitations were also caused by a low steam inlet pressure (a consequence of limitations in the oil and steam temperature and steam bus construction, including, e.g., large pipe capacity) or too-large steam pressure at the engine outlet.

Optimization Results
The results of the optimization procedure are listed in Table 7.As seen, the optimized value of the electrical power output of the system is equal to 9.03 kW e .For a more complete picture of the relation between the power output P el and individual decision variables, a parametric analysis was conducted, and its findings are presented in Figure 7.As shown in Figure 7b, the superheating degree SD parameter slightly affects the power output Pel.However, SD plays a key role in satisfying constraints defined in Equation (32) since it affects the heat transfer area of the "superheater".
In the case of the temperature difference Δteva and the condensation temperature tcon that are examined in Figure 7c,d, similar trends can be observed.For both parameters, their lower values are associated with higher power outputs Pel, which is reflected in the A peak value (~10 kW e ) of the power output P el is observed in Figure 7a, in which the influence of the evaporation temperature t eva is examined.It is noted that the optimized value of t eva (143 • C) is higher than t eva corresponding to the point of maximum power output.The inability to obtain the highest value of P el is related to severe constraints (particularly those related to heat transfer areas) imposed on the system parameters.For example, the values of t eva lower than 143 • C correspond to higher mass flow rates of the steam (due to lower heat required for the preheating and evaporation of the water), which results in unacceptably high heat transfer areas.
As shown in Figure the superheating degree SD parameter slightly affects the power output P el .However, SD plays a key role in satisfying constraints defined in Equation (32) since it affects the heat transfer area of the "superheater".
In the case of the temperature difference ∆t eva and the condensation temperature t con that are examined in Figure 7c,d, similar trends can be observed.For both parameters, their lower values are associated with higher power outputs P el , which is reflected in the optimal solutions listed in Table 7.
As shown in Figure 7e, the evaporation ratio ER does not affect the power output P el of the system.However, as a parameter which determines the heat distribution between the "evaporator" and "superheater", it allows finding a number of feasible solutions under different working conditions of the system.In other words, by applying ER in the optimization procedure, a more flexible selection of the operating parameters is provided and, thereby, higher power outputs of the SRC installation can be found.
The optimized values of the remaining performance indicators that were considered within the frame of thermodynamic analysis are listed in Table 8.Compared to the existing installation, the retrofitted SRC system features an increased electrical power output P net (9.01 kW e compared to 1.15 kW e ) and improved thermal cycle efficiency η R (10.9% compared to 1.05%).After optimizing its performance, the SRC installation also exhibits excellent energy utilization factor ε R of about 98%.It is worth noting that this result is similar to that achieved (93.0%) for the highly efficient micro-CHP installation based on the ORC technology [30].As anticipated, the power consumption of the pump accounts for a very small fraction of the piston engine power, which is reflected in a low value of the RCG ratio (0.22%).For comparison, in the micro-CHP systems that operate with other working mediums (hydrocarbons, refrigerants), such a low power requirement is practically unattainable, and the RCG ratio may reach the value of even more than 20.0% [51].
Even though the findings which are summarized in Table 8 are based on the optimization procedure and have not yet been experimentally recreated, they indicate the strong potential of the examined system after introducing the previously mentioned improvements.The experimental verification of an upgraded configuration of the installation will be addressed in future studies.

Conclusions
The prototype of the micro-CHP system with a straw-fired boiler and modified Rankine cycle was briefly characterized and tested.An experimental analysis of the selected steam-condensate circuit was conducted, including a comparison of two control scenarios, the condensate level in the evaporator, steam temperature, and steam pressure variations, as well as the operating characteristics of the power generator.The main findings resulting from the carried-out investigations are as follows:

•
The use of continuous control of condensate pump operation allowed providing a more stable condensate level in the evaporator.Between the 70 t h and 100 t h minutes of the combustion process, the average water level was 942 mm in the case of a continuous control and 775 mm in the case of a two-state control.

•
In the considered time, the average superheater power related to its surface was over three times lower compared to the evaporator, and the efficiency of the superheater was calculated to be ca.17 times lower than the evaporator efficiency.

•
Significant drops in the steam temperature and pressure were observed in the pipeline between the superheater outlet and steam engine inlet: 52.3 K and 0.89 bar, respectively.

•
The maximum obtained electrical power was only ca.1.15 kW e .The main reason for such a low value was a very low power generator capacity, but other limitations were caused also by low steam pressure (which was a consequence of limitations in oil and steam temperature and steam bus construction, including large pipe capacity).Based on the observed system limitations, the required modifications were listed.

•
Based on the suggested technological improvements, an original thermodynamic model incorporating new (evaporation ratio, ER) and well-established (superheating degree, SD) parameters was developed.Making use of the model, a retrofitting optimization of the system was conducted.

•
The results of a retrofitting optimization of the system show that the electrical power output may be as high as 9.0 kW e .

•
At the optimal operating conditions, the studied system was characterized by an energy utilization factor of 97.9%.
Overall, it was demonstrated that the small-scale SRC has potential to serve as an alternative technology for micro-and distributed cogeneration systems.Being a technology that can be supplied with renewable biomass energy, and that is based on a cheap and environmentally friendly working medium (water), it perfectly fits into the idea of sustainable development of energy systems, and hence, it should be further promoted.

Figure 1 .
Figure 1.The general view (a) and simplified scheme (b) of the analyzed micro-CHP system.Figure 1.The general view (a) and simplified scheme (b) of the analyzed micro-CHP system.

Figure 1 .
Figure 1.The general view (a) and simplified scheme (b) of the analyzed micro-CHP system.Figure 1.The general view (a) and simplified scheme (b) of the analyzed micro-CHP system.

Figure 2 .
Figure 2. T-s diagram of the Rankine cycle.

Figure 2 .
Figure 2. T-s diagram of the Rankine cycle.

Figure 3 .
Figure 3. Steam temperature (a) and pressure z (b) variations at the outlet from the superheater during series 1 and series 2.

Figure 4 .
Figure 4.The differences in the water level variations in the evaporator during series 1 and series (between 7 0t h and 10 0t h minutes).

Figure 4 .
Figure 4.The differences in the water level variations in the evaporator during series 1 and series 2 (between 7 0t h and 10 0t h minutes).

Figure 5 .
Figure 5. Variations in steam and condensate temperature during series 2.

Figure 5 .
Figure 5. Variations in steam and condensate temperature during series 2.

Figure 6 .
Figure 6.Variations in the steam and condensate pressure during series 2.

Figure 6 .
Figure 6.Variations in the steam and condensate pressure during series 2.

Figure 7 .
Figure 7. Relationships between the electrical power output P el and individual decision variables: (a) evaporation temperature t eva , (b) superheating degree SD, (c) temperature difference ∆t eva , (d) condensation temperature t con , and (e) evaporation ratio ER.

Table 1 .
The main parameters of the equipment used during the discussed experiments.

Table 3 .
Constant parameters for conducting optimization procedure.

Table 4 .
Energy flow in the boiler and oil circuit.

Table 6 .
Temperature and pressure variations in the selected parts of the steam-condensate circuit.

Table 7 .
Results of a single-objective optimization.

Table 8 .
Performance indicators corresponding to optimal working conditions of the System.