 Research
 Open Access
 Published:
Thermal modeling and simulation of a singleflash geothermal power plant involving noncondensable gas: a case study of Kamojang geothermal field in Garut, West Java, Indonesia
Geothermal Energy volumeÂ 11, ArticleÂ number:Â 6 (2023)
Abstract
The presence of noncondensable gases (NCGs) in a geothermal fluid disrupts the vacuum process in the condenser, reducing turbine efficiency and decreasing the total power output of the geothermal power plant (GPP). Therefore, to optimize the thermodynamic efficiency of a GPP, NCGs should be removed using a gas removal system. Since there is a substantial lack of design and simulation software for a GPP including NCG removal alternatives, in this study, we aimed to model and develop a softwarebased interface to simulate mass and energy balance involving an NCG fraction in a singleflash GPP as well as examine the thermodynamic performance of the gas removal system, which is the most important step in the planning and designing phase of a GPP. This software was validated using outputs of Kamojang GPP Units 2, 3, and 4 located at Kamojang geothermal field, Garut, West Java, Indonesia. Units 2 and 3 use two ejectors which are installed in series, and Unit 4 utilizes a hybrid system (HS) that is mostly a combination of vacuum pumps and a steam jet ejector (SJE). Our results showed that Kamojang GPP Units 2 and 3 generate 55.295Â MW of power with an absolute error of 0.53%, whereas Unit 4 generates 60.218Â MW of power with a 0.36% absolute error concerning the field data. These results correspond with the expected minimum error; therefore, our modelâ€™s parameters are considered valid and can be used for simulation. We found that using the simulation, the total steam saved by the HS at Kamojang GPP Units 2 and 3 was 534Â kW. Furthermore, the net power production was reduced by 1.6% for the HS and 2.03% for the SJE with every 1% increase in the NCG fraction. The power requirement of the vacuum pumps remained less than the power generated by the motive steam which the ejector requires to dispose of the same amount of NCG, indicating that Kamojang GPP Units 2 and 3 will be more efficient if an HS is used.
Introduction
The Kamojang geothermal field, located in Garut, West Java, Indonesia (Fig.Â 1), was developed by Pertamina and is estimated to have a potential capacity of 300Â MW. The Kamojang geothermal power plant (GPP) has adopted a singleflash system whose current installed capacity is 235Â MW and which consists of five generating units. Unit 1 has a capacity of 30Â MW; Units 2 and 3 have a capacity of 55Â MW and are operated by PT. Indonesia Power and Unit 4 and 5 have a capacity of 60Â MW and 35Â MW, respectively, and are operated by PT. Pertamina Geothermal Energy. One of them in the Kamojang area is a smallscale GPP of 3Â MW owned by the Agency for the Assessment and Application of Technology Indonesia (BPPT). In a singleflash GPP, the fluid at the wellhead is a saturated liquid (Ameri et al. 2006) which is passed into a flasher (separator) to separate the liquid and vapor phases. During the flashing process, the fluid pressure decreases, causing a decrease in temperature and vapor fraction. At this condition, enthalpy remains constant, while entropy increases. The steam generated from the flasher is directed into a turbine to generate electricity, while the remaining liquid is reinjected into the reinjection well.
FigureÂ 2 shows the list diagram of the research steps. First, the initial data and research hypotheses were defined. Second, the governing equations for each segment were separately derived. Third, the proposed model was developed using the Visual Basic programming language in accordance with the first two steps, and finally, according to the modeling, the output results were shown and the selection of a gas removal system at the Kamojang GPP was discussed.
Geothermal fluids have a relatively high content of noncondensable gases (NCGs). The NCG is typically composed of CO_{2}, H_{2}S, NH_{3}, CH_{4}, N_{2,} and C_{2}H_{6}, with CO_{2} making up more than 85% of the content (Michaelides 1982). Numerous studies have examined the energy analysis of GPPs, but they only took NCG into account in the gas extraction system and not in the full cycle (DiPippo and Marcille 1984; DiPippo 1992, 1994, 2004; Cadenas 1999; Cerci 2003; Siregar 2004; Kwambai 2005; Aqui et al. 2005; Dagdas et al. 2005; Ozturk et al. 2006; Kanoglu et al. 2007). Khalifa and Michaelides (1978) conducted the initial research on the impact of NCGs on the effectiveness of GPPs. According to their study, the network output dropped by up to 20â€“25% when geothermal steam containing 10% by weight of CO_{2} was used compared to when clean steam was used. The number of NCGs present in geothermal steam has a substantial impact on a GPP's ability to generate electricity (DiPippo 2015; Sulistyardi 2010; Zarrouk and Moon 2014). The fraction of NCG varies worldwide depending on the resource, from near nil to as high as 25% by weight of steam (Hall 1996; Coury et al. 1996). Currently, the NCG content in the Kamojang geothermal field is approximately 0.5% to 1.7% (Wahyuningsih et al. 2005). Michaelides (1980) constructed a flash system at a wellhead and selected the flash temperature based on the NCG content to separate the NCGs before they enter the turbine. If the NCG content is high, it is advised that while designing plants, NCG separation should be considered both thermodynamically and economically (Tajima and Nomura 1982; Montero 1990; Yildirim and Gokcen 2004).
The amount of NCG in the condenser could be reduced using a gas removal system. The cost of the gas removal system in a geothermal system is high because of the elevated gas levels (Vorum and Fritzler 2000). The electricity produced is used to remove the NCG from the condensers and exhaust them into the atmosphere or into a system for abatement; this significantly reduces the efficiency of power generation (Duthie and Nawaz 1989). The conventional NCG removal systems are steam jet ejectors (SJE), liquid ring vacuum pumps (LRVP), centrifugal compressors, and hybrid systems (HS) (Millachine 2011). Michaelidas (1982) conducted a study to analyze the capabilities of various NCG removal systems and found that it is advisable to use an ejector when the NCG levels are relatively low and use an ejector compressor when they are high. Siregar (2004) examined LRVPs and SJE in one of his studies in order to improve the process by which power is generated in Indonesia's Sibayak geothermal field. He found that NCG was present in 3.07% by weight of steam, and the power consumed by the LRVP was estimated at 803Â kW for a singleflash GPP with a 20MW capacity. Swandaru (2006) conducted similar research on Indonesiaâ€™s Patuha geothermal field and found that NCG concentration was 1.77% in the field (by weight of steam). In a threestage NCG removal system, the first two stages are SJE while the third is LRVP. Swandaruâ€™s study determined the steam consumption of SJEs and the power consumption of LRVP. Ozcan and Gokcen (2010) reported that thermodynamic simulation results for suitable usage of gas removal system (GRS) were recommended as the SJE used for NCG 0â€“2%, the HS used for NCG 2â€“10%, and the compressor for NCGâ€‰>â€‰10%. Marza (2011) stated that at a pressure of 0.08Â bar in a steam condition of 0.5â€“1.5% NCG, the use of steam for the SJE and HS is almost the same. However, with a higher NCG content in the steam, almost three times as much motive steam is required for the steam jet than for the HS.
Various applications have been developed to simulate the mass and energy equilibrium of a GPP. The earliest was GEOCOST (Bloomster et al. 1975), which only includes the SJE and only applies to low NCG concentrations. Another is GETEM, which determines the performance of singleflash GPPs and only considers the SJE and LRVP as NCG removal systems (Chung et al. 2010). The most extensive and expensive software is ASPENHYSYS, a modeling tool for design, optimization, business planning, asset management, and monitoring of energy system performance. It is possible to create mass and energy balances with this software, but no information about the NCG removal system is obtained (AspenHYSYS 2010). Ozcan and Gokcen (2010) developed a code based on mass and energy balances using Engineering Equation Solver (EES). The absence of an NCG removal system in most GPP design and simulation software contributes substantially to less accurate results.
This research aimed to develop a softwarebased interface to determine a singleflash GPP (with particular emphasis on NCG) that maximizes power output, including mass and energy balances with steadyflow conditions and is quick and userfriendly. We created and developed a mass and energy balance modeling software involving NCG using Visual Basic programming language. This software was used to test the performance of GPP and conduct a study on GRS selection and was validated using the process flow diagram of Kamojang GPP Units 2, 3, and 4 located at Kamojang geothermal field, Garut, West Java, Indonesia. Units 2 and 3 use two ejectors installed in series. This type of gas removal requires a large amount of motive steam which can generate a lot of power when driving a turbine. The GPP requires motive steam of around 10500Â kg/h or the equivalent of 1.5Â MW, which is not a small amount. Unit 4 utilizes an HS which is mostly a combination of vacuum pumps and an SJE. Based on the results of thermodynamic and energy conversion models and simulations involving NCG at the GPP, we conducted a GRS selection study, including a study to replace the existing GRS with a hybridtype GRS, with the hopes of improving the performance of the GPP. The scenarios were reviewed by the net Specific Steam Consumption (SSC), which is defined as the ratio between the amount of steam available and the power generated. An economic assessment is not within the scope of this study.
Thermodynamics model
Mass and energy balance
The initial design of a power plant begins with the selection of the corresponding thermodynamic cycle, construction of a power plant model, and determination of the technical specifications for each component of the equipment through simulation. Every device is modeled using heat and mass balance (Siregar 2004; Moran et al. 2011; Pambudi et al. 2015). The first law of thermodynamics applies the principle of conservation of energy to systems in which heat transfer and work performance are methods of transferring energy. The main mass and energy balance equations used in the steadystate model are shown in Eq.Â 1 (Mohtaram et al. 2021, b; Omidi et al. 2019; Chen et al. 2021):
where \(\dot{Q}\)Â is the sum of heat transferred into and out of the system,Â \(\dot{W}\) is the net work done on the system, \(\sum {\dot{m}}_{e}{h}_{e}\) is the output enthalpy rate to the control volume, and \(\sum {\dot{m}}_{i}{h}_{i}\) is the input enthalpy rate to the control volume.
The flashing and separation processes
The temperatureâ€“entropy (Tâ€“S) diagram for a singleflash GPP is shown in Fig.Â 3. State 1 is a twophase fluid with very high water content. State 2 is the flashing process in the separator. The flashing process is modeled under conditions of constant enthalpy, so it can be assumed that \({h}_{1}={h}_{2}\), where \({h}_{1}\) is the enthalpy at state 1 and \({h}_{2}\) is the enthalpy at state 2.
State 3 is the state of the water that has separated from the steam, and the separation process can be condensed at constant pressure as an isobaric process after the flash has occurred. State 4 is the entry point of the turbine in which the steam has separated from the water, while State 5 is the turbineâ€™s exit point; it is also the point of entry into the condenser. If this process is ideal, then the entropy of the steam when coming out of the turbine will be equal to that when it entered the turbine (isentropic) or the exit point of the turbine falls on state 5Â s. The closer this process is to be isentropic, the higher the efficiency obtained will be. The condensation process occurs in the condenser, and the state of the fluid leaving the condenser is point 6; this is the state of saturated water. The temperature of the fluid at state 6 is further lowered in the cooling tower before finally being injected back into the earth through the condensate injection well.
FigureÂ 4 shows the flow process of the separator, demister, and flash tank. The separation process is isobaric once the flash takes place. The pressures at states 1, 2, and 3 are equivalent and equal to the separator pressure (\({P}_{1}={P}_{2}={P}_{3}={P}_{separator})\), and the vapor quality at state 1 (\({x}_{1})\) can be expressed as:
Moreover, the mass flow rate of steam from the separator to the turbine \(({\stackrel{.}{m}}_{2})\) is calculated as follows:
where \({\stackrel{.}{m}}_{1}\) is the mass flow rate at state 2.
The mass flow rate of the fluid at state 4 (\({\stackrel{.}{m}}_{4})\), which leaves the separator and leads to the demister, can be determined using Eq.Â 4:
where \({\stackrel{.}{m}}_{5}\) is the mass flow rate at state 5.
The pressure loss occurring when the fluid passes through the demister is 10Â kPa, and the flash mass flow rate is approximately 1% of the steam mass flow rate (Swandaru 2006). The mass flow of the fluid from state 7 \({\stackrel{.}{(m}}_{7})\) to the turbine can then be determined using Eq.Â 5:
where \({\stackrel{.}{m}}_{6}\) is the mass flow rate at state 6.
The turbine expansion process
The input condition of the working fluid and the exhaust pressure is set for a turbine in steady operation. The process is shown in Fig.Â 5 from state 4 to state 5 which is an ideal turbine process; this is the ratio of the actual work of the turbine to the work that occurs in the isentropic process. Isentropic efficiency of a turbine (\({\eta }_{t})\) is written as shown in Eq.Â 6:
where h_{5a} and h_{5a,s} are the enthalpy values at the exit state for the actual and isentropic processes, respectively. According to Cengel and Boles (2018), the isentropic value of turbine condensation is determined by measuring the actual work output to measure the condition of the inlet and outlet pressures.
The turbine expansion flow process is shown in Fig.Â 6. An LRVP replaces the secondstage ejector in normal operation, allowing the secondstage ejector to be used as a redundancy. The work generated by the turbine per unit mass of steam results from the assumption that the processes taking place in the turbine are adiabatic and reversible (isentropic); the changes in the kinetic and potential energies when entering and exiting the turbine are neglected. The turbine generates energy in the form of Eq.Â 7, and the turbine's isentropic efficiency (\({w}_{t})\) is calculated as follows:
The turbine's isentropic efficiency (\({\eta }_{t})\) is calculated as follows:
where \({h}_{8}, {h}_{9}, {and h}_{9,s}\) are enthalpy at states 8 and 9 and isentropic at state 9, respectively.
The mass flow of steam to the turbine (\({\stackrel{.}{m}}_{8})\) is calculated using the following equation:
The steam quality at state 8 (\({X}_{8})\) is the same as that at state 7 (\({X}_{7})\), where the efficiency of the generator is \({\eta }_{g}\), the power of the turbine generator (\({W}_{g})\) is determined using Eq.Â 10 with \({W}_{t}\) being turbine power:
The condensing process
The function of a condenser is to condense incoming exhaust steam and provide a subatmospheric environment. The condenser pressure depends only on the amount of NCG present in the condenser and the maximum temperature reached by the cooling water. There are two types of condensers, namely the directcontact and surface condensers; the most common type used in GPP is the directcontact condenser (Siregar 2004). The flow diagram of a directcontact condenser is shown in Fig.Â 7. The steam condenses on the water droplets, and the condensate flows through the barometric foot into a tank with a sealing hole to overcome atmospheric pressure. NCG and a small amount of steam is drawn from the condenser through the NCG exhaust system. Condenser pressure needs to be adjusted because of the gases that are dissolved in the cooling water. The extraction volume flow rate of condensable gas is higher than that of NCG. The new condenser pressure (\({P}_{con,x})\) is determined using Eq.Â 11:
where \({P}_{con}\) is the condenser pressure, \({P}_{NCG}\) is the pressure of NCG, and \({P}_{steam}\) is the pressure of steam.
Heat energy in the condenser (\({Q}_{con})\) can be calculated using Eq.Â 12:
where \(h_{{8^{\prime}}}\) is enthalpy at state 8 after iterating using \({P}_{con,x}\), \(m_{{8^{\prime}}}\) is the mass flow rate at state 8 after deducting the mass flow rate used in the firststage steam ejector, and \({h}_{9.1}\) is enthalpy to the hot well pump (HWP).
The condenser enthalpy (\({h}_{con})\) is calculated using Eq.Â 13:
where \({h}_{con,s}=({h}_{l,con}+({X}_{con}({h}_{v,con}{h}_{l,con}))\) and \({X}_{con}=({s}_{total}{s}_{l,con})/({s}_{v,con}{s}_{l,con}),\)\({h}_{sep}\) is enthalpy at the separator, \({h}_{l,con}\) is liquid enthalpy at the condenser, \({h}_{v,con}\) is vapor enthalpy at the condenser, \({s}_{l,con}\) is liquid entropy at the condenser, \({s}_{v,con}\) is vaporâ€“liquid at the condenser, and \({s}_{total}\) is the entropy of the NCG (in this case, CO_{2}) obtained using an equation based on the function from temperatures 220â€“590Â K. The equation of mass balance from the cooling tower (\({\stackrel{.}{m}}_{ct}\)) is as follows:
where \({\stackrel{.}{m}}_{con}\) is the mass flowrate at the condenser, \({\stackrel{.}{m}}_{9C{O}_{2}}\) is the mass flow rate of carbon dioxide, \({\stackrel{.}{m}}_{ic}\) the mass flowrate at the intercondenser, and \({\stackrel{.}{m}}_{ac}\) is the mass flow rate after the condenser.
The extraction gas system
To reduce the motive steam consumption of the ejector, the secondstage SJE can be replaced by a vacuum pump. The product of the integration of the SJE with the vacuum pump is usually called an HS. To calculate the power consumption required to clear a particular amount of saturated water vapor of an NCG from a condenser, it is necessary to know the mass flow rate and molecular weight of the NCG, as well as the suction pressure, discharge pressure, gas suction temperature, mass flow rate of the water vapor, and steam pressure (Geothermal Institute 1996). FigureÂ 8 shows the stage ejector flow diagram. To calculate the mass flow rate of the extraction gas and steam required for the SJE, the steps below should be followed:

1.
Calculate the gas volume and mass flow rates of vapor water using Daltonâ€™s laws of partial pressure and the ideal gas equations. In the situation where water vapor saturates NCG, the gas volume flow rate (\(\stackrel{.}{V})\) is calculated thus:
$$\stackrel{.}{V}=\frac{{\left(\stackrel{\cdot }{m}RT\right)}_{ncg}}{({P}_{t}{P}_{wv})},$$(15)where P is pressure (N/m^{2}) and T is the temperature of the NCG (K).
The mass flow rate of the NCG to be discharged from the condenser is determined by the mass flow rate of the fluid entering the condenser. Each stage uses equal pressure ratios based on system suction and discharges a 90 % condenser pressure; 105 kPa, which is the permissible pressure drop, is 0.019 bara at the intercooler and aftercooler (Swandaru 2006).

2.
Calculate the entrainment ratio using the equation generated from the entrainment ratio curve. EquationÂ 16 can be used to compute the entrainment ratio of an NCG (\({E}_{NCG}):\)
$${E}_{NCG}=\left[\left(5.73\cdot 1{0}^{4}x18.36\right)+\frac{(2.01\cdot {M}_{NCG}^{0.86})}{(18.36.+{M}_{NCG}^{0.86})}\right].$$(16)The water vapor entrainment ratio (\({E}_{wv})\) can be calculated using Eq.Â 17:
$${E}_{wv}=\left[\left(5.73\cdot 1{0}^{4}x18.36\right)+\frac{(2.01\cdot {M}_{wv}^{0.86})}{(18.36.+{M}_{wv}^{0.86})}\right].$$(17) 
3.
Calculate total air equivalent (TAE) using Eq.Â 18:
$$TAE=\frac{{M}_{NCG}}{{E}_{NCG}}+\frac{{M}_{wv}}{{E}_{wv}}.$$(18) 
4.
Calculate compression ratio, which is defined as the ratio of discharge to suction, using Eq.Â 19:
$$\frac{{P}_{toic}}{{P}_{con}}=\frac{{P}_{toac}}{{P}_{ic}},$$(19)where \({P}_{con}\) is the pressure at the condenser, \({P}_{toic}\) is the pressure before the intercondenser, \({P}_{ic}\) is the pressure at the intercondenser, and \({P}_{toac}\) is the pressure after the condenser.

5.
Determine the expansion ratio (defined as the ratio of the motive steam pressure to the suction pressure) for the first (\({E}_{r1})\) and second (\({E}_{r2})\) stages using Eqs.Â 20 and 21:
$${E}_{r1}=\frac{{P}_{11}}{{P}_{con}},$$(20)$${E}_{r2}=\frac{{P}_{ic}}{{P}_{toac}}.$$(21) 
6.
Determine the airtosteam ratio using the airtosteam ratio curve.
To numerically approximate the airtosteam ratio curve, digitized it for various compression ratio values and then logarithmically interpolate it to obtain a logarithmic equation for each compression ratio value in the airtosteam ratio curve.

7.
Determine motive steam mass flow rate at the first (\({\stackrel{.}{m}}_{11})\) and second (\({\stackrel{.}{m}}_{10})\) stages using Eqs.Â 22 and 23:
$$\dot{m}_{11} = \frac{{TAE_{1} }}{{U_{1} }},$$(22)$${\stackrel{.}{m}}_{10}=\frac{TA{E}_{2}}{{U}_{2}}.$$(23)
Assuming that the process is adiabatic (Qâ€‰=â€‰0) and the entire NCG (CO_{2} in this case) is sucked in by the ejector, then the mass and energy balance of the ejector of stage 1 (\({h}_{toic})\) wIll be calculated using Eq.Â 24 and the mass and energy balance equations at stage 2 ejectors (\({h}_{toac})\) will be calculated using Eq.Â 25:
The intercondenser
The function of the intercondenser is to condense the firststage motive steam and remove part of the water vapor that initially saturated the NCG; it is shown in Fig.Â 9.
Assuming cold water absorbs all heat and there is no loss to the environment, the mass flow rate of the intercondenser (\({\stackrel{.}{m}}_{from ct})\) will be calculated using Eq.Â 26:
where \({\stackrel{.}{{\varvec{m}}}}_{{\varvec{t}}{\varvec{o}}\boldsymbol{ }{\varvec{i}}{\varvec{c}}}\) is the mass flow rate before the intercondenser, \({\stackrel{.}{{\varvec{m}}}}_{{\varvec{t}}{\varvec{o}}\boldsymbol{ }{\varvec{i}}{\varvec{c}},{\varvec{C}}{{\varvec{O}}}_{2}}\) is the mass flow rate of carbon dioxide before the intercondenser, and \({\stackrel{.}{{\varvec{m}}}}_{{\varvec{i}}{\varvec{c}},{\varvec{v}}{\varvec{a}}{\varvec{p}}{\varvec{o}}{\varvec{r}}}\) is the mass flow rate of vapor at the intercondenser.
Determining the mass balance equation in the intercondenser is shown by Eq. 27:
where \({\stackrel{.}{m}}_{to con}\) is the mass flow rate before the condenser and \({\stackrel{.}{m}}_{ic}\) is the mass flow rate at the intercondenser.
Aftercondenser
The aftercondenser acts as the noise suppressor; the aftercondenser process is shown in Fig.Â 10.
The formula for calculating the mass flow rate from the cooling tower at the second stage (\({\stackrel{.}{m}}_{from\_ct2}\)) is shown in Eq.Â 28:
where \({\stackrel{.}{{\varvec{m}}}}_{{\varvec{t}}{\varvec{o}}{\varvec{a}}{\varvec{c}}}\) is the mass flow rate before the aftercondenser and \({\stackrel{.}{{\varvec{m}}}}_{{\varvec{t}}{\varvec{o}}{\varvec{a}}{\varvec{c}},{\varvec{C}}{{\varvec{O}}}_{2}}\) is the mass flow rate of carbon dioxide before the aftercondenser. The formula for calculating the energy at the gland ejector (\({{\varvec{E}}}_{{\varvec{g}}{\varvec{e}}})\) is shown in Eq.Â 29:
where \({\stackrel{.}{m}}_{ge,v}\) is the mass flow rate of vapor at the gland ejector, \({\stackrel{.}{m}}_{ge,C{O}_{2}}\) is the mass flow rate of carbon dioxide at the gland ejector, \({\stackrel{.}{m}}_{aa}\) is the mass flow rate of vapor at ambient air, \({h}_{aa}\) is enthalpy at ambient air, \({h}_{to con2}\) is enthalpy before condenser, and \({h}_{from ct2}\) is enthalpy from the cooling tower. For determining the mass balance in the intercondenser, Eq.Â 30 is used:
The cooling tower
A wet cooling tower with a mechanical induction system will be used as the heat rejection system of the plant as shown in Fig.Â 11.
The energy balance equation for the cooling tower is shown below:
where \({\stackrel{.}{m}}_{a}\) is the air mass at the cooling tower, \({\stackrel{.}{m}}_{a,ca1}\) is the air mass from the cooling tower, \({\stackrel{.}{m}}_{a,ca2}\) is the mass of exhaust air, \({\stackrel{.}{m}}_{toct}\) is the mass flow rate from the HWP or condenser, \({h}_{toct}\) is enthalpy from the condenser, \({h}_{topp}\) is enthalpy to the condenser and primary pump, \({h}_{a,ca1}\) is cool air enthalpy, \({h}_{a,ca2}\) is the enthalpy of exhaust air, \({\omega }_{ca1}\) is specific humidity of cool air, and \({\omega }_{ca2}\) is the specific humidity of exhaust air. The value of specific relative humidity and air enthalpy is determined using the psychometric diagram.
The hot well pump (HWP)
The HWP is the main pump used to pump water from the condenser to the cooling tower for cooling. HWP power \({(W}_{HWP})\) can be calculated using Eq.Â 32:
where \(g\) is the gravitational constant, \({h}_{headpump}\) is a head pump, and \({\eta }_{pump}\) is the pump efficiency.
The flow diagram for the mass and energy balance module is shown in Fig.Â 12. This figure shows the input and output parameters of each submodule, and the submodules operate simultaneously, using the output parameters of each submodule as input parameters for the others. The main power of the module are the net power, total auxiliary power of GPP, and SSC of the GPP. The module first identifies the optimum separator and condenser pressures that give the maximum net power output and minimum total auxiliary power; it then calculates net power production and total auxiliary power for NCG removal systems using optimum separator and condenser pressures. This module also determines the mass flow rate, enthalpy, temperature, and pressure at each GPP state.
Results and discussion
The first step of modeling is analyzing the heat and mass balance of every vessel of GPP Units 2 and 3 (SJE) and Unit 4 (HS).
The ejector system
Our model was only validated with the annual average electricity production capacity (net power output) of Kamojang GPP Units 2 and 3, both of which use compressors as an NCG removal system. Data were used in calculating the output power of the second and third units of the Kamojang GPP, as shown in Table 1.
The GPP input interface of the mass and energy balance module is shown in Fig.Â 13.
In our model, when the Run Button was clicked, it displayed output specifications of each GPP module, such as turbine data, generator data, gas extractor data, condenser, intercondenser, aftercondenser, cooling tower, and pump in the list box and SI unit, shown in Fig.Â 14, the screen results for Kamojang Units 2 and 3type ejector systems (Fig.Â 15), and the screen results for Kamojang Units 2 and 3type HSs (Fig.Â 16). The results of the comparison and validation of our modelâ€™s data with those of GPP Kamojang Units 2 and 3 using an ejector system are shown on Table 2.
The model was validated using the construction data of the mass and energy balance of Kamojang GPPâ€™s Units 2 and 3 (100% load). The model was then validated using both process flow diagram (PFD) and daily operational data. The minimum error expected in this calculation was 5%. The validation results showed that the generator output of our model was 55.294Â MW, a difference of approximately 0.53% (0.2Â MW) compared to that of the design data used for the Kamojang GPPâ€™s Units 2 and 3, which generate 55Â MW generator output. The specifications of other components also had an error ofâ€‰<â€‰5%. Since the calculation error wasâ€‰<â€‰5%, this model is considered valid for use in the simulation. Based on the results on Table 2, the total steam required to generate a net power output of 55Â MW using the HS (384408Â kg/h) is lower than that required to generate the same net power output using the ejector system (388944Â kg/h). Therefore, the HS saves 4536Â kg/h of steam, an equivalent of 693Â kW of power, because the HS requires less motive steam to attract NCGs. Regarding auxiliary energy consumption, that of the HS was higher than that of the ejector system; for a net power output of 55Â MW, auxiliary power consumption from the HS was 1313Â kW while that for the ejector system was 1154Â kW. The difference in auxiliary power consumption of 159Â kW is equivalent to the amount of electric power installed by the LRVP when using an HS. When the amount of LRVP power (159Â kW) that needs to be added to the HS is subtracted from the 693Â kW of power it saves, the total amount of steam saved by the HS is 534Â kW or 0.97% of the power output. Horas et al. (2017) also stated that based on the thermodynamic model in the Darajat GPPâ€™s Unit 3, the HS can save energy by 1.11% compared to SJE.
FigureÂ 17 shows a graph of the effect that NCG in the range of 0 to 20% has on the turbine output. The figure indicates that net power output decreases with increasing NCG fraction. The SJE has a dramatic decrease in net power output by NCG fraction compared to the HS. A 1% increment in NCG fraction results in a decrease in net power output of 2.03% for the SJE and 1.6% for the HS. Therefore, the separation pressure is very important to maximize the net power output. This is consistent with the findings of a study by Ozcan and Gokcen (2013) which was based on thermodynamic calculations using the EES at GPP KizildereTurkey; they had concluded that for every 1% increase in NCG concentration in steam, there is a 2.2% decrease in NCG concentration in steam for the HS and a 2.7% decrease for the SJE. The use of steam for the SJE and HS is nearly identical at a pressure of 0.1Â bara in a steam condition of 0.5 to 1.5% NCG fraction. Marza (2011) confirmed this finding in his research where he found that at a vapor condition of 0.08Â bara at a high NCG fraction (NCGâ€‰>â€‰1.5%), the SJE required roughly three times as much motive steam as the HS.
The hybrid system
Data used in calculating the output power of the Kamojang GPP Unit 4 are shown in Table 3.
Table 4 also shows the results of the comparison and validation of our model data with the design data of Kamojang GPPâ€™s Unit 4 using an HS.
The model was validated using the mass and energy balance design data of GPP Kamojang Unit 4 (100% load). The validation results showed that the generator output of our model was 60,218Â MW, a difference of approximately 0.36% (0.2Â MW) compared to the design data of the GPP Kamojangâ€™s Unit 4, which generates an output of 60Â MW. The specifications of other components also had an error ofâ€‰<â€‰5%. Sasradipoera (2000) reported that the wells in the Kamojang geothermal field show a 5% decrease in production per year. Given this decline in production from the wells in the Kamojang geothermal field, it can be said that the use of an HS will extend the life of the wells as this GRS saves more steam.
In this research, a sensitivity analysis of several factors influencing the selection of a GRS was performed. The factors analyzed were the amount of NCG content, turbine inlet pressure or steam drive pressure, and condensing pressure. One of the parameters commonly used to express the performance of a GPP is the amount of specific steam (SSC) consumed by the GPP. The SSC can be expressed as a ratio between the amount of steam available and the power generated. FigureÂ 18(a) is a graph showing the relationship between NCG content and gross SSC for each type of GRS. Here, SSC_{gross} is the amount of specific steam consumed to produce gross turbine power from each GRS. The gross turbine power of the HS is greater than that of the ejector system because the HS requires more auxiliary power to drive the LRVP. FigureÂ 18(b) shows the relationship between the NCG content and the SSC_{nett} of each type of GRS. SSC_{nett} is the net power produced by the generator after subtracting the auxiliary power. Based on Fig.Â 18a, b, it can be concluded that the total steam consumption for the generation of GPP is more efficient with the HS than with the ejector system, taking into account the auxiliary energy. The amount of LRVP power required by the HS to remove an amount of NCG remains less than the amount of power that can be generated by the motive steam, which the ejector requires to remove the same amount of NCG.
FigureÂ 19a, b shows the relationship between the turbine inlet pressure of SSC_{gross} and that of SSC_{nett} for each GRS type. In GPPs, the properties of the motive steam (P, T) entering the ejector are usually the same as those of the steam entering the turbine. The higher the motive steam pressure, the lower the motive steam flow rate required to remove the NCG, and also the greater the kinetic energy contained in the motive steam; thus, the motive steam requires a lower flow rate to remove NCGs. In addition, the decrease in enthalpy in the turbine becomes greater with a higher motive steam pressure; thus, the steam throughput required to generate electricity decreases for the same output. In Fig.Â 18a, b, it can be seen that the greater the turbine inlet pressure, the lesser the SSC required by each type of GRS; this reduces the required SSC. The HS has a lower SSC (both SSC_{gross,} and SSC_{nett}) than the SJE.
FigureÂ 20a, b are graphs illustrating the relationship between the condenser pressure of SSC_{gross} and that of SSC_{nett} for each type of GRS. From the figure, it can be seen that the greater the condenser pressure, the greater the SSC required by each type of GRS, and that the HS has a lower SSC than the ejector system, both SSC_{gross,} and SSC_{nett}. From the results of the sensitivity analysis, it can be concluded that the SSC_{gross} required by the HS in each range of NCG content, turbine inlet pressure, and condenser pressure is still lower than that required by the ejector system. Therefore, it can be concluded that the power requirement for LRVP remains less than the power that can be generated by the motive steam, which the ejector system requires to remove the same amount of NCG; therefore, based on the thermodynamic approach, in general, an HS is more efficient than an SJE.
Conclusions
In this research, we developed a thermodynamic model of a singleflash GPP involving NCG fraction with a softwarebased interface using the Visual Basic programming language because of the dearth of design and simulation software of GPP integrating NCG removal systems. This modeling scheme will be useful for testing GPP performance and selecting GRS. Alternatives to the modeled NCG removal system are the SJE and HS. The model was validated by comparing its thermodynamic parameter output with the PFD of Kamojang GPPâ€™s Units 2 and 3 (which uses an SJE) and Unit 4 (which uses an HS). The validation of our model showed that the generator output of our model was 55.295Â MW, a difference of approximately 0.53% (0.2Â MW) compared to the PDF of Kamojang GPPâ€™s Units 2 and 3, and 60.218Â MW, a difference of approximately 0.36% (0.2Â MW) compared to the PFD of Kamojang GPPâ€™s Unit 4. Other component specifications also showed an error ofâ€‰<â€‰5%; therefore, this model is considered valid for use in simulations. The selection of a GRS is very important as it depends on the amount of net power being generated. NCG fraction is the main variable influencing GPP performance, and the SJE is strongly influenced by an increase in NCG fraction since the steam flow motive to the SJE is directly related to the NCG fraction. The HS responds late to changes in NCG fraction, and LRVP is more efficient as its performance is between those of the compressor and SJE. Based on thermodynamic simulations, a 1% increment in NCG fraction results in a decrease in net power output of 2.03% for the SJE and 1.6% for the HS. Therefore, the separation pressure is very important to maximize the net power output. At a pressure of 0.1Â bara, a steam condition of 0.5%, and an NCG fraction of 1.5%, the steam consumed by SJE and HS is almost the same. The total amount of steam needed to generate net power output at Kamojang GPP Units 2 and 3 is 55Â MW using the HS, which is less than that needed by the ejector system because the HS requires less motive steam to attract NCG. In addition, the HS can save 693Â kW of steam, but its steam consumption is 159Â kW higher than that of the ejector system; therefore, the total steam it saves is 534Â kW. From the results of the sensitivity analysis, it can be concluded that the LRVP power requirement is still less than the power that can be generated by the motive steam which the ejector requires to dispose of the same amount of NCG; therefore, GPP Kamojang Units 2 and 3 will be more efficient when an HS is used.
In general, the usage of the built modeling software on the generated power systems complies with the mass and energy balance calculation principles. The results have been validated with the output of thermodynamic parameters in the Kamojang PFD data. These results can be used to test the performance of the generating system and to recommend the selection of a gas removal system (GRS) that is suitable for the condition of the steamcontaining NCG at the Kamojang GPP. This application can also be used to monitor the performance of the generating system and can be applied to other GPPs.
Availability of data and materials
The data used in this study are available from the corresponding author, WS, upon reasonable request.
References
Agani M, Rozaq K, and Bachrun ZI. Construction and operation of Kamojang Unit 4, the First Commercial Geothermal Power Plant Built, Owned and Operated by PT Pertamina Geothermal Energy. In: Proceedings World Geothermal Congress 2010, Bali, Indonesia 25â€“29 April 2010.
Alimuddin T, Machfud AH, Novianto A. Preliminary analysis of singleflash geothermal power plant by using exergy method: a case study from Ulubelu geothermal power plant in Indonesia. Int J Renew Energy Res. 2018;8(3):1685.
Ameri M, Shamshirgaran SR, Pour Yousefi M. The study of key thermodynamic parameters effect on the performance of a flash steam geothermal power plant. In: Proceedings of 2nd Joint International Conference SEE 2006, Bangkok; 2006.
Aqui A, Aragones JS, Amistoso AE. Optimization of Palinpinon1 production field based on exergy analysisthe southern negros geothermal field, Philippines. In: CD Proceedings of World Geothermal Congress, Paper No 1312, Antalya, Turkey. 2005. p. 1â€“7.
ASPENHYSYS Home Page. http://www.aspentech.com/core/aspenhysys.cfm. Accessed 08 Jan 2022.
Assad MEH, Aryanfar Y, Radman S, Yousef B, Pakatchian M. Energy and exergy analyses of single flash geothermal power plant at optimum separator temperature. Int J Low Carbon Technol. 2021;16(3):873â€“81.
Bidini G, Desideri U, Maria F. A single flash integrated gas turbinegeothermal power plant with noncondensable gas combustion. Geothermics. 1999;28(1):131â€“50.
Bloomster CH, et al. GEOCOST: A computer program for geothermal cost analysis. No. BNWL1888. Battelle Pacific Northwest Labs Richland Wash USA. 1975.
Cadenas R. Residual steam to energy: a project for Los Azufres geothermal field, Mexico. Geothermics. 1999;28:395â€“423.
Cengel Y, Boles MA. Thermodynamics an engineering approach. 9th ed. New york: McGrawHill; 2018.
Cerci Y. Performance evaluation of a singleflash geothermal power plant in Denizli, Turkey. Energy. 2003;28:27â€“35.
Chen L, Wang Y, Xie M, Ye K, Mohtaram S. Energy and exergy analysis of two modified adiabatic compressed air energy storage (ACAES) system for cogeneration of power and cooling on the base of volatile fluid. J Energy Storage. 2021;42:103009.
Chung J, et al. Preeconomic analysis of Seokmo Island power generation with geothermal electricity technology evaluation model (GETEM). J Korean Soc Miner Energ Resour Eng. 2010;267â€“76.
Coury G, Guillen HV, Cruz DH. Geothermal noncondensable gas removal from turbine inlet steam. In: Proceedings 31st Intersociety 3 Energy Conversion Engineering Conference; 1996.
Dagdas A, Ozturk R, Bekdemir S. Thermodynamic evaluation of Denizli Kizildere geothermal power plant and its performance improvement. Energy Convers Manag. 2005;46:245â€“56.
DiPippo R. Thermodynamic improvements on the directsteam plant. Trans Geotherm Res Counc. 1992;16:547â€“52.
DiPippo R. Second law analysis of flashbinary and multilevel binary geothermal power plants. Trans Geotherm Res Counc. 1994;18:505â€“10.
DiPippo R. Second law assessment of binary plants generating power from lowtemperature geothermal fluids. Geothermics. 2004;33:565â€“86.
DiPippo R. Geothermal Power Plants: Principles, Applications, Case Studies and Environmental Impact: Fourth Edition. Geotherm Power Plants Princ Appl Case Stud Environ Impact Fourth Ed. 2015. 1â€“762.
DiPippo R, Marcille DF. Exergy analysis of geothermal power plants. Trans Geotherm Res Counc. 1984;8:47â€“52.
Duthie RG, Nawaz M. Comparison of direct contact and kettle reboilers to reduce noncondensables in geothermal steam. Trans Geotherm Res Counc. 1989;13:575â€“80.
El Wakil: Power Plant Technology. McGraw Hill Book; 1985.
Geothermal Institute. Gas extraction system. Course notes of Geothermal Institute, Auckland University, Diploma course in energy technology (geothermal). 1996;75.
Gokcen G, Yildirim N. Effect of noncondensable gases on geothermal power plant performance. Case study: Kizildere geothermal power plantTurkey. Int J Exergy. 2008;5(5â€“6):684â€“95.
Hall NR. Gas extraction system. In: Dunstall MG (ed.) Geothermal utilisation engineering lecture notes. Geothermal institute, The University of Auckland, New Zealand; 1996.
Harvey W, Wallace K. Flash steam geothermal energy conversion systems: Single, double, and tripleflash and combinedcycle plants. Geotherm Power Gener Dev Innov. 2016. https://doi.org/10.1016/B9780081003374.000103.
Horas R, Darmanto PS, Trirakhmadi A. Energy optimization and gas removal selection of geothermal power plant. In: 2017 International Conference on Sustainable Energy Engineering and Application (ICSEEA), Jakarta, Indonesia. 2017;25â€“33.
Jalilinasrabady S, Itoi R, Gotoh H, Kamenosono H. Energy and exergy analysis of Takigami geothermal power plant, Oita. Japan Trans Geotherm Resour Counc. 2010;34(2):966â€“71.
Jalilinasrabady S, Itoi R, Valdimarsson P, Saevarsdottir G, Fujii H. Flash cycle optimization of Sabalan geothermal power plant employing exergy concept. Geothermics. 2012;43:75â€“82.
Kanoglu M, Dincer I, Rosen MA. Understanding energy and exergy efficiencies for improved energy management in power plants. Energy Policy. 2007;35:3967â€“78.
Khalifa HE, Michaelides EE. The effect of noncondensable gases on the performance of geothermal steam power systems, Report of Brown University, Contract No EY76S02â€“4051.1978.
Kwambai CB. Exergy analysis of Olkaria I Power Plant, Kenya, Reports of the United Nations University Geothermal Training Programme. Georgsson LS (ed.), ISBN 9979681837, Report No. 5, Reykjavik, Iceland. 2005.
Michaelides EE. Separation of noncondensables in geothermal installations by means of primary flashing. Trans Geotherm Res Counc. 1980;4:515â€“8.
Michaelides EE. The influence of noncondensable gases on the net work produced by the geothermal steam power plants. Geothermics. 1982;11(3):163â€“74.
Millachine T, AndrÃ©s M. Guidelines for optimum gas extraction system selection. Master thesis, ReykjavÃk, Iceland, University of Iceland. 2011.
Mohtaram S, Sun Y, Omidi M, Lin J. Energyexergy efficiencies analyses of a wastetopower generation system combined with an ammoniawater dilution Rankine cycle. Case Stud Thermal Eng. 2021;25:100909.
Montero G. Evaluation of the network of a turbine operated by a mixture of steam and noncondensable gases, Proc. 12th New Zealand Geothermal Workshop 1990. 1990;11:163â€“174.
Moran M, Saphiro M, Boettner D, Bailey M. Fundamental of engineering thermodynamics. 7th ed. Hoboken: John Wiley & Sons; 2011.
Moya D, AldÃ¡s C, Kaparaju P. Geothermal energy: power plant technology and direct heat applications. Renew Sustain Energy Rev. 2018;94:889â€“901.
Nasruddin, Idrus AM, Daud Y, Surachman A, Sugiyono A, Aditya HB, et al. Potential of geothermal energy for electricity generation in Indonesia: a review. Renew Sustain Energy Rev. 2016;53:733â€“40.
Omidi M, Liu SJ, Mohtaram S, Lu HT, Zhang HC. Improving centrifugal compressor performance by optimizing the design of impellers using genetic algorithm and computational fluid dynamics methods. Sustainability. 2019;11:5409.
Ozcan NY, Gokcen G. Performance analysis of singleflash geothermal power plants: gas removal systems point of view. In: Proceedings World Geothermal Congress 2010, Bali, Indonesia 2529 April 2010.
Ozcan NY, Gokcen G. Performance analysis of singleflash geothermal power plants: Gas removal systems point of view. Geotherm Energy, Technol Geol. 2013;227â€“60.
Ozturk HK, Atalay O, Yilanci A, Hepbasli A. Energy and exergy analysis of kizildere geothermal power plant, Turkey. Energy Sources. 2006;23:1415â€“24.
Pambudi NA, Itoi R, Jalilinasrabady S, Jaelani K. Exergy analysis and optimization of Dieng singleflash geothermal power plant. Energy Convers Manage. 2014;78:405â€“11.
Pambudi NA, Itoi R, Jalilinasrabady S, Jaelani. Performance improvement of singleflash geothermal power plant applying three cases development scenarios using thermodynamic methods. In:Proceedings World Geothermal Congress, Bali, Indonesia 2015. 2015.
Rudiyanto B, Bahthiyar MA, Pambudi NA, Widjonarko HM. An update of second law analysis and optimization of a singleflash geothermal power plant in Dieng. Indonesia Geotherm. 2021;96:102212.
Sasradipoera DS, Sujata IK, Komaruddin U. Evaluation of steam production decline in the Kamojang geothermal field. In: Proceeding World Geothermal Congress, Japan. 2000.
Siregar, PHH. Optimization of Electrical Power Production Process for the Sibayak Geothermal Field, Indonesia, Report of the United Nations University Geothermal Training Programme Report No 16, Reykjavik, Iceland. 2004; 349â€“76.
Sulistyardi HB. Basic design of Lumut Balai 2x55 MW geothermal power plant The United Nations University. Indonesia: Geothermal Training Program; 2010. p. 615â€“24.
Swandaru RB. Thermodynamic Analysis of Preliminary Design of Power Plant Unit I Patuha, West Java, Indonesia, Report of the United Nations University Geothermal Training Programme Report No 7, Reykjavik, Iceland. 2006; 83â€“119.
Tajima S, Nomura M. Optimization of noncondensable gas removal system in geothermal power plant. Geotherm Res Council Trans. 1982;6:397â€“400.
Tomarov GV, Shipkov AA. Modern geothermal power: GeoPP with geothermal steam turbines. Therm Eng. 2017;64(3):190â€“200.
Triyono S. Thermodynamic and economic assessment of power plant expansion from 140 to 200 mw in Kamojangâ€”Indonesia, report of geothermal training programme, Report No: 14. Reykjavik: The United Nations University; 2001.
Vorum M, Fitzler E. Comparative analysis of alternative means for removing noncondensable gases from flashedsteam geothermal power plants. United States. 2000.
Wahyuningsih R. Potensi Dan Wilayah Kerja Pertambangan Panas Bumi Di Indonesia, F. Results Colloq.  Cent. Coal Geothermal. Miner Resour. 2005;1â€“9.
Wang H, Yan G, TagEldin E, Chaturvedi R, Aryanfar Y, Luis GarcÃa Alcaraz J, et al. Thermodynamic investigation of a single flash geothermal power plant powered by carbon dioxide transcritical recovery cycle. Alexandria Eng J. 2022;64:441.
Yildirim ED, Gokcen G. Exergy analysis and performance evaluation of kizildere geothermal power plant, Turkey. Int J Energy. 2004;1:316â€“33.
Zarrouk SJ, Moon H. Efficiency of geothermal power plants: a worldwide review. Geothermics. 2014;51:142â€“53.
Acknowledgements
The authors would like to thank Pertamina Geothermal Energy of Kamojang, Laboratory of Modeling and Inversion, Physics of Earth and Complex System, ITB and Laboratory of Geothermal, Faculty of Petroleum and Mining, ITB for the permission to use their facilities for this study.
Funding
This research was partially funded by Domestic Postgraduate Education Scholarships (BPPDN) provided by the Ministry of Education and Culture of the Republic of Indonesia, awarded to the first author.
Author information
Authors and Affiliations
Contributions
WS supervised the research. CMS conducted a field survey and retrieved thermal data. CMS and FTA developed the thermal model and designed the geothermal power plant (GPP) process flow diagram. CMS developed a Graphical User Interface (GUI) and code based on the thermal model of GPP involving NonCondensable Gas. CMS and WS wrote the final manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sufyana, C.M., Akbar, F.T. & Srigutomo, W. Thermal modeling and simulation of a singleflash geothermal power plant involving noncondensable gas: a case study of Kamojang geothermal field in Garut, West Java, Indonesia. Geotherm Energy 11, 6 (2023). https://doi.org/10.1186/s40517023002493
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s40517023002493
Keywords
 Singleflash geothermal power plant
 Thermodynamic efficiency
 Noncondensable gases
 Gas removal system
 Softwarebased interface