1 Introduction

Methanol is one of the promising chemical materials which has various advantages. It can be directly used in the production of several chemicals, such as propylene, dimethyl ether, ethylene, dimethyl ether, and olefins (Hamelinck et al. 2004; Swain et al. 2011). Methanol has been proven to be an ideal engine fuel in numerous vehicles. Methanol is one of the most important raw materials in the petrochemical and chemical industry, with a forecasted demand of 117 Mtons in the near future (Patel et al. 2021). Im-orb et al. (2020) used a model developed in Aspen Plus V8.8 to simulate Bio-methanol production from oil palm residues via gasification process. Oil palm residues were tested as to raw materials for syngas production. Hernández and Martín (2016) evaluated the possibility of using biogas to produce methanol through the combination of steam reforming and dry reforming. Patel et al. (2018) suggested that biogas with an appropriate CH4 to CO2 ratio could act as a proper raw material to produce methanol by methanotrophs. Chen et al. (2019) suggested an integrated process of coal gasification and coking to methanol production (CGCTM). Dai et al. (2017) performed an exergy analysis to evaluate the performance of chemical production from entrained-bed gasification and Victorian brown coal through a process combining pyrolysis. The results showed that the exergy efficiency in this process was 4.5% higher than that of a conventional drying-gasification process and 1.5% higher than drying gasification that used a feed containing 25 wt% of lignite. Firmansyah et al. (2018) proposed wind energy by combining biomass for power system and production of methanol. Three methods of biomass utilization were considered, including oxy-fuel combustion, integrated gasification combined cycle with carbon capture, and biomass gasification process. Herdem et al. (2020) simulated the methanol production via carbon dioxide hydrogenation and proposed a novel system based on a combined non-combustion heat-carrier oxy-fuel combustion. dos Santos et al. (2018) proposed a new process for methanol production using biogas as a feedstock, consisting of two steps: methanol synthesizing from syngas and biogas reforming. They examined different operating conditions (pressure and reactor temperature) to maximize methanol production. Anicic et al. (2014) compared two methods for methanol syntheses (direct methanol synthesis and two-step methanol synthesis) using carbon dioxide as the starting material. Direct synthesis was shown to have higher energetic and economic efficiency, but the difference can be ignored in terms of energy efficiency.

Methanol can be produced by the hydrogenation of carbon dioxide and carbon monoxide using catalysts, which is also mature technology (Herdem et al. 2019). Blumberg et al. (2019) investigated the environmental impact of commercial methanol production synthesis methods by producing syngas with auto thermal reforming and steam reforming. Many researchers have developed methanol synthesis catalysts for the use of residual gases in the steel and iron industry. For instance, Umchoo et al. (2018) performed an external magnetic field for the improvement of the catalytic activity selectivity of 10Fe10Cu/core–shell and 10Fe10Cu/infiltrate in terms of developing methanol synthesis catalysts with intrinsic magnetic properties in CO2 hydrogenation to DME and methanol. Schittkowski et al. (2018) examined the challenges of using industrial Al2O3Cu/ZnO/catalysts to produce methanol using the byproduct gases in steel works. A partial thermochemical process, gasification, is considered the most cost-effective and efficient process for converting lignocellulosic biomass to synthesis gas (syngas), which can be used directly as the medium for synthesizing various biofuels and biochemical or as a fuel. Im-orb and Arpornwichanop (2020) used CO2 recycled from the CO2 capture unit into the gasifier and examined how different amounts would affect a process that combined gasification, biomass pyrolysis, and methanol synthesis. Although the energy consumption showed the opposite trend but the results showed that the yield of methanol increases with increasing recycled CO2. Kalinci et al. (2010) found that the nature of biomass affected the gas composition, as well as exergy efficiencies and the energy of the process. Due to the using of high nitrogen contained-biomass, the exergy and energy efficiencies of the system decreases based on the low heating value of nitrogen. Several studies have been performed to overcome the economic and technical limitations of methanol synthesis from biomass/residues. Carvalho et al. (2018) evaluated the techno-economic performance of methanol production by black liquor co-gasification and found that grade AA methanol could even be cost-competitive with untaxed gasoline when mixed with black liquor in a ratio of 50/50. Zhang et al. (2020) proposed an economic and optimization of three methanol production systems based on entrained flow gasification combined with solid oxide cells (SOCs). Lin et al. (2010) performed an economic analysis of the coal-based system for power and methanol production. They performed the system including an IGCC, waste heat boiler, the low-pressure methanol synthesis technology (single-stage).

There are also many studies focused on the economic and environmental analysis of renewable methanol production from CO2 systems. Szima and Cormos (2018) analyzed the techno-economic and environmental performance of methanol synthesis from captured CO2 from its flue gas and free H2 but entirely focused on methanol synthesis, economic aspects, and purification unit without considering the life cycle environmental impact. According to the literature review, the studies on the life cycle assessment of renewable methanol production from CO2 are still limited (Herdem et al. 2020).

1.1 Main novelties and contributions

To the best of our knowledge, there is little research on thermo-economic analysis of methanol production process through a renewable energy source of biogas. Most studies concentrated on simulation of approach for methanol production via carbon dioxide hydrogenation and proposed results for a novel system based on combined non-combustion heat-carrier oxy-fuel combustion. Moreover, thermo-economic analysis of methanol production is still rare. Due to lots of research focused on the economic and environmental studies of renewable methanol production from CO2 systems, we developed the process flow sheet using Aspen HYSYS software, and sensitivity analysis of operational parameters was performed.

2 Process description

The process of different parts of methanol production from biogas or biomethanol is shown in Fig. 1. The production process consists of the following parts:

  • Biogas reforming: In this part, synthesis gas is delivered to the system from the factory, which is the main feed for methanol production.

  • Steam cycle: It is used for waste heat recovery and converts the waste heat of reformer gases to electricity.

  • Compression: In this part, the pressure of the synthesized gas increases in several stages of the compressor and reaches the desired value to perform methanol reactions.

  • Methanol synthesis: The methanol reactor, which is filled with the commercial copper catalyst, is placed in this part of the process to perform hydrogenation reactions.

  • Methanol separation: Methanol separation from light gases and water is done using a distillation tower in this part.

  • Heating supply: In this part, reformer energy and reboiler energy of methanol distillation are provided by mixing combustion fuel (natural gas and produced gases from methanol separation) with the oxidizing agent (air).

Fig. 1
figure 1

Different parts of the biomethanol production process

Also, in Fig. 2, more detail of the process of biomethanol production from biogas is shown. Biogas, which is in ambient operating conditions, is first preheated by the HX1 heat exchanger and enters the reformer at atmospheric pressure. Where the reaction of methane and carbon dioxide produces synthesis gas. The biogas composition based on molar percentage is described as: CH4: 38%, CO2: 40%, and H2: 22% (Hamelinck et al. 2004).

Fig. 2
figure 2

Process flow diagram for biomethanol production

After performing the reforming reactions at the temperature of 950 °C and pressure of 1 atm (Benito et al. 2007), the synthetic gas enters the steam cycle at a lower temperature by passing through a heat exchanger (operating conditions in Table S1), where the energy of the hot gases of the reformer is used to generate electricity. The steam cycle has an evaporative heat exchanger (HX2), a steam turbine, a condensing heat exchanger (HX3), and a pump to circulate the working fluid (water). The synthesis gas leaves the steam cycle at a temperature of 45 °C and enters the compressors with intercoolers (using cooling water) to reach the desired pressure of 5000 kPa (Do and Kim 2019). Cooling water is used for cooling, because the outlet fluid from each stage of the compressor has a high temperature, so it must be cooled before entering the next stage of compression. For compression gas synthesis, K100 to K104 compressors are employed, and HX4 to HX7 heat exchangers are used for intercooling.

Since the operating conditions for the methanol reactor are a temperature of 250 °C and the pressure of 5000 kPa (Do and Kim 2019), the outlet flow of the K104 compressor is not cooled and entered the heat exchanger (HX8) at 172.9 °C. In HX8, using the outlet flow of the reactor, which is at a temperature of 250 °C, the temperature of the flow entering the reactor is increased to 240 °C. After that, the outlet flow of the methanol synthesis reactor enters the heat exchanger (HX9), where its temperature is reduced to 45 °C by the cooling water stream (CWS). The temperature reduction is performed owing to the condensation of methanol and water from the vapor phase and the initial separation of light gases (Purge flow) using the V101 vertical two-phase separator. The vapor separated from the separator enters the burner as fuel to contribute to the production process and reduce fuel consumption. On the other hand, the liquid flow divided from the bottom of the V101 separator, which is called crude methanol, is fed to the distillation tower by passing through the expansion valve at a pressure of 120 kPa to obtain the separation and final production of methanol. The distillation column is tray type and has a partial condenser with steam and liquid products. From the top of the distillation tower drum reflux, light gas enters the burner to be used for combustion and heat generation. The liquid product is 100% methanol flow. From the distillation tower reboiler, the waste water, which has a small amount of methanol, is produced. As shown in Fig. 2, fuel flows (consisting of methane as natural gas, light gases above the distillation column, and excess gas above the V102 separator are provided to supply the heat needed for the dry reformer and methanol tower reboiler, and the resulting energy are provided to the equipment.

3 Process simulation

3.1 Simulation method

Aspen Hysys software is capable of providing professional flowsheets that is one of the most powerful software for simulating petrochemical processes. In this study, Aspen Hysys version 10 was used to simulate the biomethanol production process. In Fig. S1, the method of modeling biomethanol process in the Aspen software environment is presented.

The types of equipment that should be placed in the flowsheet are heat exchangers, simple cooler, plug reactor, Gibbs reactor, pressure reducing valve, partial condenser distillation tower, two-phase separator, turbine, compressor. First, each of these equipment needs to connect the input for convergence, output, and energy currents (if necessary) and second to enter the suitable operating characteristic (Spec) for each in the software. In heat exchangers, the temperature and pressure of inlet and outlet flow are suitable characteristics. Therefore, by changing pressure, convergence can be achieved by applying pressure to the outlet. In this simulation, the methanol separation distillation tower is tray type and has a partial condenser with liquid and vapor product. In Fig. 3, complete schematic of a simulation of the methanol production process, which was performed in the Aspen Hysys software, is shown. To simulate, several assumptions are considered as follows:

  • The simulation is in a steady-state condition.

  • Adiabatic efficiency of pumps, compressors, and turbines equals \(75\%\).

  • The condensing temperature of the distillation column is 45 °C.

  • The temperature of the outlet fluid of the compressors is a maximum of 150 °C.

  • The cooling water temperature is 35 °C at the inlet and \(40 ^\circ C\) at the outlet.

  • The inlet fuel to the burner only contains methane.

  • The water pressure in the steam cycle is 12,000 kPa and the water in the HX2 is saturated steam.

  • The outlet pressure of the operating fluid from the turbine equals 1000 kPa.

  • The outlet temperature of the synthesis gas of the intercoolers is equal to 45 °C.

  • The temperature of the working fluid (water) at the inlet of the heat exchanger (HX2) is 38 °C.

  • The pressure of the condenser and reboiler of the methanol separation tower is equal to 20 kPa.

Fig. 3
figure 3

Schematic diagram of the biomethanol production process

3.2 Fluid pack

This section is described in supplementary materials.

3.3 Modeling of synthesis reactors

3.3.1 Biogas reformer and burner energy production

In this simulation, the Gibbs reactor model is used to model the synthesis gas reactor and the burners that are responsible for supplying energy. Gibbs reactor calculates product density based on theoretical free energy minimum, which is a theoretical equilibrium composition (Ahoba-Sam et al. 2018). In the reformer, the following reaction occurs at the Ni–La–Al catalyst surface (Benito et al. 2007):

$${\text{CH}}_{4} + {\text{CO}}_{2} \to 2{\text{CO}} + 2{\text{H}}_{2}\quad H^{0} = 247{\text{~kj/mol}} .$$
(1)

Dry reforming converts two stable molecules of methane and carbon dioxide into synthesis gas at 700–950 °C with the help of catalysts. Thermodynamically this operation is desirable at low pressure, and most studies have been done at a pressure of 1 atm or less. Biogas is a good source for this, because it contains methane and carbon dioxide together, and both carbon atoms in the final product are combined with increasing efficiency and reducing waste energy (Asencios et al. 2013). The catalyst used in dry reforming must first react with high activity and good stability under operating conditions and second prevent the formation of coke. Many studies used new and old catalysts, such as nickel (Lanzini et al. 2013; Serrano-Lotina et al. 2012; Serrano-Lotina and Daza 2014). Table 1 presents the types of catalysts and operating conditions are provided on each one that can be used in dry reforming.

Table 1 Conversion of biogas to synthetic gas using dry reforming (catalysts and operating conditions) (Yang and Ge 2016)

3.3.2 Methanol synthesis reactor

In this study, we used catalytic–heterogeneous kinetics (commercial catalyst Cu/Zn/Al2O3) for the synthesis of methanol through hydrogenation of CO2 and CO with high efficiency of methanol at low temperature (250 °C) and pressure of 5000 kPa. In addition, the Plug model reactor simulation is used to simulate the methanol synthesis reactor, and the Langmuir–Hinshelwood–Hougen–Watson kinetic method is used to define the reactions. On the other hand, the kinetic parameters used in the Langmuir–Hinshelwood–Hougen–Watson model were obtained through previous laboratory results (Abdelaziz et al. 2017). Methanol synthesis reactions are shown in Eqs. 24 (Abdelaziz et al. 2017; Do and Kim 2019; Zhang et al. 2018):

$${\text{CO}} + 2{\text{H}}_{2} \leftrightarrow {\text{CH}}_{3} {\text{OH,}}$$
(2)
$${\text{CO}}_{2} + 3{\text{H}}_{2} \leftrightarrow {\text{CH}}_{3} {\text{OH}} + {\text{H}}_{2} {\text{O,}}$$
(3)
$${\text{CO}}_{2} + {\text{H}}_{2} \leftrightarrow {\text{H}}_{2} {\text{O}} + {\text{CO}}{.}$$
(4)

Because the plug reactor has to be sized, the values provided by Abdelaziz et al. (2017) were used to size the methanol synthesis reactor. The reactor diameter is 5.5 m, the number of pipes is 3026, and the length of the pipes is 10 m in the simulation.

4 Process analysis

4.1 Energy efficiency

Energy efficiency for the biomethanol production process is defined as the sum of energy produced divided by the sum of input (consumption) energies (Eq. 5):

$$\eta_{{\text{energy system}}} = 100{ } \times \frac{{\dot{m}_{{{\text{MeOH}}}} {\text{LHV}}_{{{\text{MeOH}}}} + {\text{Energy Output}}}}{{\dot{m}_{{{\text{biogas}}}} {\text{LHV}}_{{{\text{biogas}}}} + {\text{Energy Input}}}}.$$
(5)

4.2 Exergy analysis

Exergy measures usefulness, energy quality, or potential for doing work (Hamrang et al. 2020). Exergy analysis is a suitable method for analyzing the amount of energy consumption, which is based on the second law of thermodynamics. Through this analysis, the inefficient parts of the system are identified (Ziapour et al. 2017). Exergy consists of four components: physical exergy \(\left( {E^{{{\text{PH}}}} } \right)\), kinetic exergy \(\left( {E^{{{\text{KN}}}} } \right)\), potential exergy \(\left( {E^{{{\text{PT}}}} } \right)\) and chemical exergy \(\left( {E^{{{\text{CH}}}} } \right)\). Kinetic and potential exergies are not usually considered in the calculations (Ahmadi et al. 2019). Physical exergy is the most achievable when the system from the initial state with temperature and pressure of \(T\) and \(P\) reaches physical equilibrium with the environment with temperature of \(T_{0}\) and pressure \(P_{0}\). The physical exergy of a closed system in a particular state is obtained by the following equation (Rostamzadeh et al. 2019):

$$e_{{{\text{ph}}}} = \left( {h - h_{0} } \right) - T_{0} \left( {s - s_{0} } \right),$$
(6)

where \(h\) and \(s\) are the enthalpy and specific entropy, respectively, and index \(0\) indicate the ambient condition of 25 °C and 101.3 kPa.

Chemical exergy is the most achievable when the system with the chemical temperature of \(T_{0}\) and pressure of \(P_{0}\), in addition to thermal and mechanical equilibrium, also reaches chemical equilibrium with the environment. Therefore, in addition to temperature and pressure, the chemical composition of the system must also be determined. Chemical exergy is defined by Eq. 7 (Mehrpooya and Zonouz 2017):

$$e_{ch} = \sum x_{i} e_{i}^{0} + G - \sum x_{i} G_{i} .$$
(7)

In Eq. 7, \(x_{i}\) is the molar component of compound \(i\) in the material flow, \(e_{i}^{0}\) is the standard chemical exergy of compound \(i\) in the flow, and \(G\) is the Gibbs free energy (dos Santos et al. 2018).

In this study, general exergy included only physical and chemical exergy, and the effect of two items, kinetic and potential exergy, was neglected. Table S2 presents the physical, chemical, and general exergies for the biomethanol production process. Also in Table S3 are the relationships related to exergy destruction and fuel exergy (\(E_{x,F}^{i}\)) and product (\(E_{x,P}^{i}\)) for the equipment used in the process flowsheet. Exergy destruction and exergy efficiency are the most important parameters for exergy analysis that are obtained through exergy balance for each equipment (Mehrpooya and Zonouz 2017). Exergy destruction (\(\dot{E}_{x,D}^{i}\)) is calculated by the difference between the fuel exergy and the product exergy by Eq. 8 for each component. On the other hand, for component \(i\), the exergy efficiency is obtained by dividing the exergy of the product into fuel (Eq. 9):

$$\dot{E}_{x,D}^{i} = \dot{E}_{x,F}^{i} - \dot{E}_{x,P}^{i} ,$$
(8)
$$\eta_{{{\text{ex}}}}^{i} = \frac{{\dot{E}_{x,P}^{i} }}{{\dot{E}_{x,F}^{i} }}.$$
(9)

In this study, to calculate the total exergy efficiency (\(\eta_{{{\text{ex}}}}^{{{\text{total}}}}\)) of the biomethanol production process, Eq. 10 is used. Where \(\dot{E}_{{{\text{MeOH}}}}\) is the exergy of the methanol product, \(\dot{W}_{{{\text{turbine}}}}\) is the work produced by the steam cycle turbine, \(\dot{E}_{{{\text{Biogas}}}}\) is the biogas exergy, and \(\dot{E}_{\text{N.G}}\) is the exergy of the natural gas entering the burner:

$$\eta_{{{\text{ex}}}}^{{{\text{total}}}} = 100 \times \frac{{\dot{E}_{x,P}^{{{\text{total}}}} }}{{\dot{E}_{x,F}^{{{\text{total}}}} }} = \frac{{\dot{E}_{{{\text{MeOH}}}} + \dot{W}_{{{\text{turbine}}}} }}{{\dot{E}_{{{\text{Biogas}}}} + \dot{E}_{\text{N.G}} }}.$$
(10)

4.3 Economic analysis

To evaluate the indicators of the biomethanol production process, it is necessary to understand the investment cost of the main equipment, which is calculated according to Table 2 (Chen et al. 2019; Yang et al. 2012). Details of the calculations of each component are provided in Eq. 11 (Chen et al. 2019). In this study, Eq. 12 is used to calculate the total investment cost (TCI). The relative factor (\({\text{RF}}_{i}\)) of the investment cost of ith component according to Table 3 (Chauvy et al. 2020) should be placed in TCI. The equipment investment cost (\(E_{I}\)) for dry reforming and methanol synthesis units (synthesis gas compression, methanol reactor, distillation column, and related equipment) are calculated by Eq. 11 (Chen et al. 2019):

$$E_{I} = \mathop \sum \limits_{j} \beta \cdot E_{IJ}^{r} \cdot \left( {\frac{{S_{j} }}{{S_{j}^{r} }}} \right)^{sf} ,$$
(11)
$${\text{TCI}} = E_{I} \cdot \left( {1 + \mathop \sum \limits_{i = 1}^{n} {\text{RF}}_{i} } \right),$$
(12)

where \(E_{I}\), TCI, and \(\beta\) are equipment investment cost, total investment cost, inside construction invoice, respectively. In addition, \(E_{Ij}^{r}\), \(S_{j}^{r}\), \(S_{j}\), \(sf\), \({\text{RF}}_{i}\) are the investment of reference equipment from j unit, basis (reference) scale for unit j, usability scale of unit j, scale invoice, and relative factor, correspondingly.

Table 2 Summary of investment information for main equipment (Chen et al. 2019; Yang et al. 2012)
Table 3 Relative factors for investment cost (Chen et al. 2019)

To calculate the total cost of production, assumptions are considered, which can be seen in Table S4. Utilization and raw materials consumption are obtained based on simulation results with Aspen Hysys software. Therefore, the total cost of biomethanol production can be obtained through Eq. 13. On the other hand, it is assumed that biogas is obtained from the factory as waste material and is used as feed, as a result of which only the input raw material can be considered as a gaseous fuel entering the burner:

$${\text{Total Product Cost}} = {\text{ Utility}}_{{\text{C}}} + {\text{Raw material}}_{{\text{C}}} + {\text{O}}\& {\text{M}}_{{\text{C}}} + {\text{D}}_{{\text{C}}} + {\text{GE}}_{{\text{C}}} - {\text{BP}}_{{\text{C}}} .$$
(13)

In Eq. 13, \({\text{O}}\& {\text{M}}_{{\text{C}}}\) is the operation and maintenance costs, \({\text{D}}_{{\text{C}}}\) is the depreciation cost, \({\text{GE}}_{{\text{C}}}\) is the General factory costs, and \({\text{BP}}_{{\text{C}}}\) is the cost of byproduct.

An investment cost (TCI) of \(22 {\text{M}}\) is estimated to be required for the biomethanol production process. On the other hand, in Table 4 of various items, the total cost of biomethanol production in \({\text{MM}}\$ {\text{/year}}\) based on the mentioned relations is reported. According to the annual production of methanol through biogas, which has been determined using simulation equivalent to \(12,1842.5 \;{\text{tons}}\), the total cost of production (TPCI) of methanol from biogas is equal to \(0.286 {\text{US}}\$ {\text{/kg}}_{{{\text{MeOH}}}}\).

Table 4 Results for calculating the total cost of biomethanol production and production cost intensity

4.3.1 Calculating the minimum selling price

The minimum selling price (MSP) parameter has been used as a base term for competitive economic evaluation in the biomethanol production process. MSP Indicates the minimum selling price per kilogram of methanol produced. The MSP is the selling price of methanol at the point, where the total revenue and cost are equal. Total income includes tax, return on investment (ROI) and operating expenses. The ROI parameter depends on the total investment cost, interest rate, economic life of the project and is defined by the following equation (Do and Kim 2019):

$${\text{ROI}} = {\text{TCI}} \times \frac{{i \times \left( {1 + i} \right)^{r} }}{{\left( {1 + i} \right)^{r} - 1}} = E_{I} \cdot \left( {1 + \mathop \sum \limits_{i = 1}^{n} RF_{i} } \right) \times \frac{{i \times \left( {1 + i} \right)^{r} }}{{\left( {1 + i} \right)^{r} - 1}},$$
(14)

where \(i\) is the interest rate, \(r\) is the project's economic life, and TCI is the total cost of the investment. The total revenue of the biomethanol production process can be calculated through Eq. 15. Income depends on tax, tax rate, return on investment (ROI), and TPC (Do and Kim 2019). After calculating the total revenue of the biomethanol production plan, tax should be determined as one of the parameters that play a role in the MSP relationship, for which Eq. 16 is defined. The tax is derived from the difference between the project profit and the factory depreciation multiplied by the tax rate (Do and Kim 2019):

$${\text{Revenue}} = \frac{{\left( {{\text{ROI}} \times {\text{Tax Rate}}} \right) + {\text{TPC }}\left( {1 - {\text{Tax Rate}}} \right)}}{{1 - {\text{Tax Rate}}}},$$
(15)
$${\text{Tax}} = { }\left( {{\text{Profit}} - {\text{Depreciation}}} \right) \times {\text{Tax Rate}}{.}$$
(16)

The main economic inputs are the interest rate (\(8\%\)), the lifetime of the system (20 years), and the tax rate (35%) (Do and Kim 2019).

After calculating the overall revenue parameters of the system, tax and ROI can be measured based on Eq. 17 MSP competitive parameter. In Eq. 17, the parameter \(\dot{m}_{{\text{MeOH Prod}}}\) is the mass flow rate of methanol produced from the separation distillation tower in kg/h. In addition, using Eq. 18, the total profit of the project is calculated in dollars per year (Do and Kim 2019). The results of the estimates for calculating the MSP parameter and other parameters are presented in Table 5. In addition, in Table 6, the comparative parameters of MSP for this study and previous works that have used different methods to convert carbon dioxide to methanol and provide hydrogen to react with carbon dioxide are compared.

$${\text{Minimum Selling Price}} \left( {\frac{\text{US}\$}{\text{kg}_{\text{MeOH}} }} \right) = \frac{{{\text{ROI}} + {\text{TPC}} + {\text{Tax}}}}{{{\dot{\text{m}}}_{{\text{MeOH Prod}}} }},$$
(17)
$${\text{Profit}} = {\text{Revenue}} - {\text{TPC}}{.}$$
(18)
Table 5 Economic results for calculating MSP
Table 6 Comparison of MSP competitive parameter

5 Sensitivity analysis of operational parameters

5.1 Investigating the effect of reformer pressure

In this part of the study, the effect of reformer pressure is analyzed. As shown in Fig. 4, with increasing pressure, the conversion rate of carbon dioxide in the reforming reaction decreases and this equilibrium reaction progresses towards raw materials. As a result, it is best to perform this reaction at low pressures.

Fig. 4
figure 4

Effect of reformer pressure on the percentage of carbon dioxide conversion

According to Fig. 5, when dry reforming is performed at pressures higher than atmospheric, the energy consumption for syngas production is also reduced. This is due to a decrease in the conversion of carbon dioxide due to increased pressure. On the other hand, the dry reforming reaction is extremely endothermic, so by reducing the conversion percentage, less heat will be demanded by the reformer.

Fig. 5
figure 5

Effect of pressure on reformer energy consumption

According to Fig. 6, at lower pressures, methanol production is higher. The reason for this is that, in the reformer, by reducing the pressure, the conversion rate of carbon dioxide will be higher, and as a result, the synthesis gas will be produced at a higher rate, and when more synthesis gas is injected into the methanol reactor, methanol is removed from the reactor under reactions (Eqs. 3 and 4) and finally separated and produced through a distillation tower. Therefore, reducing the reformer pressure has a great effect on increasing methanol production.

Fig. 6
figure 6

Effect of reformer pressure on methanol production

5.2 Investigation of the effect of reformer temperature

The effect of reformer temperature (range 700–1000 °C) is analyzed in this part of the study. According to Fig. 7, increasing the temperature of the reformer has a significant effect on the conversion rate of carbon dioxide. This study was performed in a situation, where the reformer pressure is constant at each point and is equal to 101.3 kPa. In other words, when the reformer temperature rises at low pressure, it has an equilibrium reaction towards the production of synthesis gas. On the other hand, according to Fig. 7, reducing the temperature of the reformer will greatly reduce the conversion rate of carbon dioxide, and this effect is much more tangible than the pressure. When comparing the conversion rate of carbon dioxide in the curve of Fig. 4 with Fig. 7, it is concluded that the effect of temperature relative to pressure on the rate of conversion of the dry reforming reaction is much more pronounced.

Fig. 7
figure 7

Effect of reformer temperature on the conversion rate of carbon dioxide

Figure 8 shows that when the temperature of the reformer increases, the energy consumption of this equipment also decreases. This indicates that it is better to increase the feed temperature to optimize the reformer, which requires the use of very large heat exchangers.

Fig. 8
figure 8

Effect of reformer temperature on reformer energy consumption

In addition, as shown in Fig. 9, the lower temperature of the reformer significantly reduces methanol production and vice versa. Studies show that the use of high temperature in the reformer is very suitable to increase the conversion rate of the dry reforming reaction, which causes more hydrogen to be sent to the methanol reactor and ultimately more methanol production. Therefore, to achieve higher production of methanol, the operating conditions governing the reformer must be such that, first, the temperature is high and second, the pressure is low. However, due to the existence of the steam cycle, which has been used to recover waste heat and generate electricity, increasing the inlet temperature of the reformer will reduce the temperature of the hot fluid in the HX2. In this way, less steam is generated to feed the turbine, which ultimately reduces the byproduct of the process (electricity). As a result, a trade-off limit should be set to raise the temperature of the reformer feed, so that, first, the temperature of the reformer does not decrease so much that coke formation and carbon dioxide conversion and finally methanol production decrease and second that it increases does not reduce the efficiency of the steam cycle and produce less electricity According to Table 1, the optimum temperature (allowable limit) for the reformer is \(950 ^\circ C\), which is also very suitable for the \(\frac{{{\text{CH}}_{4} }}{{{\text{CO}}_{2} }}\) ratio in the incoming biogas (Corn Cobs), and from this temperature, coke formation is very low.

Fig. 9
figure 9

Effect of reformer temperature on the intensity of methanol production

6 Results

In this study, Aspen HYSYS software was used for simulation. In addition to the energy balance (Table S1), the mass balance for the devices and the whole system is another result obtained through the Aspen HYSYS simulation flowsheet, which is tabulated in Table S5.

6.1 Energy evaluation results

Table 7 summarizes the consumed energies (hot and cold utilities) and the produced energies. In addition, the amount of energy loss can be calculated and measured through the difference between the sum of energy inputs and outputs. Another important parameter is the energy loss intensity (ELI), which can be calculated based on Eq. 19 (Leonzio 2018). In Eq. 19, \(Q_{{{\text{inlet}}}}\) is the input energy, \(Q_{{{\text{outlet}}}}\) is the energy produced and \({\dot{\text{m}}}_{{\text{MeOH Prod}}}\) is the intensity of methanol production:

$${\text{ELI }}\left[ {{\text{GJ}}_{{{\text{e}},{\text{lost}}}} {\text{/kg}}_{{{\text{MeOH}}}} } \right] = { }\frac{{\sum Q_{{{\text{inlet}}}} - \sum Q_{{{\text{outlet}}}} }}{{\dot{m}_{{\text{MeOH Prod}}} }}.$$
(19)
Table 7 Input and output energy of biomethanol production process

According to the results presented in Table 7, the energy efficiency of the methanol production process from biogas is equal to \(48.07\%\). In addition, the energy dissipation and energy loss intensity are \(0.0454545 \;{\text{kW}}\) and \(0.025 \;{\text{GJ}}_{{{\text{e}},{\text{ lost}}}} {\text{/kg}}_{{{\text{MeOH}}}}\), respectively.

On the other hand, in Table 8, the comparison of total energy efficiency for this work with previous studies that were used different technologies is made. According to Table 8, methanol production from biogas is competing with solar technology, carbon dioxide hydrogenation, and biomass gasification in terms of energy efficiency. Comparison of the results with previous works shows that the use of biogas as a source for methanol production has a good performance in terms of energy efficiency. Therefore, since the energy and production costs of the product are interdependent, it can be said that biogas technology to methanol in terms of economic cost can be better or at least equal to these processes.

Table 8 Comparison of the results of this study with previous works

6.2 Exergy evaluation results

Table 9 presents the exergy of fuel, the exergy of product, exergy destruction, and exergy efficiency for each component and the whole system. The rate of exergy destruction among heat exchangers for those heat exchangers that have used cooling water is much higher than the processors that have exchanged energy through process–process. In other words, the results show that when process–process heat exchangers are used (such as HX1, HX8, and HX2), the exergy destruction shows much lower values, and consequently, the exergy efficiency is also higher.

Table 9 Fuel exergy, product exergy, exergy destruction rate, and exergy efficiency

According to the exergy evaluation, Burner and Reformer have the highest exergy destruction among all types of equipment. According to Table 9, the total exergy destruction of the process is \(90,527.02\;{\text{ kW}}\), with the share of Burner and Reformer of \(51\%\) and \(27\%\), respectively. In fact, the burner is a part of the reformer, but in burner simulation, it is considered as a separate unit, so that it can be said the highest share of exergy destruction is for the reformer (\(78\%\)) (Fig. 10). The pump and turbine have the lowest percentage of exergy destruction, but this does not necessarily mean that the efficiency of the turbine or pump is \(100\%\). According to Table 9, the efficiency of the pump with the lowest exergy destruction share is equal to \(10.85\%\).

Fig. 10
figure 10

Comparison of the percentage of exergy destruction of a single operation

According to Fig. 11, among the process components, the burner has the highest share of exergy destruction, followed by the reformer with a \(21\%\). The main challenge of this process seems to be to reduce the exergy destruction in the dry reformer, which also has a great impact on the overall efficiency of the exergy. According to the results, the total exergy efficiency of the methanol production process from biogas is \(54.11\%\), in which the methanol reactor and HX8 and HX2 heat exchangers have a significant share. Methanol reactor has less exergy destruction compared to the reformer due to energy production, because, in the reformer, much energy must be given to the system to produce products.

Fig. 11
figure 11

Comparison of the percentage of destruction of different parts of the biomethanol production process

7 Conclusion

In this study, the energy, exergy, and thermo-economic analyses of the methanol production process through a renewable energy source of biogas have been performed. Based on the economic study, the cost of producing methanol from biogas is equal to \(0.286{\text{ US }}\$/{\text{kg}}_{{{\text{MeOH}}}}\). In terms of energy efficiency, the comparison indicated that the process of converting biogas to methanol could compete with technologies, such as solar, carbon dioxide hydrogenation, and biomass gasification, and in some cases, even better. According to the obtained results, the total energy efficiency was obtained to be \(48.07\%\) and the energy loss intensity was equal to \(0.025{\text{GJ}}_{{{\text{e}},{\text{lost}}}} /{\text{kg}}_{{{\text{MeOH}}}}\). From the sensitivity analysis, it was found that the temperature of the reformer affects much more than its pressure on the conversion rate of carbon dioxide, reformer energy and methanol production rate. Parametric analysis showed that dry biogas reforming at low pressure and high temperature is more efficient in terms of methanol production. Exergy analysis showed that the total exergy destruction is equal to \(90,527.02 \;{\text{kW}}\), of which the share of reformer and burner is \(21\%\) and \(57\%\), respectively. Studies also showed that the total exergy efficiency of this process is \(54.11\%\). Comparison of the share of exergy destruction for components showed that in heat exchangers that use cooling water for cooling of the synthesis gas and other streams, the share of exergy destruction (\(67.72\%\)) is much higher than other heat exchangers that hey work in a process–process (\(32.28\%\)) streams.