1. Introduction
Ammonia production is of great significance to global agriculture, as it constitutes a principal component of nitrogen fertilizers. In Brazil, the significance of ammonia is further amplified by the country’s status as one of the largest agricultural producers globally [
1]. This sector constitutes a pivotal component of the Brazilian economy, contributing a considerable proportion of the country’s Gross Domestic Product and imports. It is therefore of paramount importance to ensure the sustainable and efficient production of ammonia if agricultural productivity and, consequently, the Brazilian economy are to be maintained.
Ammonia is produced on an industrial scale by the Haber–Bosch (HB) process, which involves the reaction between nitrogen (N
2) and hydrogen (H
2). It is estimated that ammonia production accounts for approximately 2% of global energy consumption [
2] and is responsible for approximately 1% of greenhouse gas (GHG) emissions, making it an industrial activity with a considerable environmental impact [
3]. A significant proportion of the emissions associated with the Haber–Bosch process is attributable to the production of its raw materials, with hydrogen representing a significant contributor. This hydrogen is frequently derived from fossil resources, including natural gas and coal. Consequently, the decarbonisation of ammonia production is of paramount importance if the global climate is to be stabilised, the targets set out in international carbon reduction agreements are to be met and a low-carbon economy is to be developed. In order to reduce the emissions associated with hydrogen production, a number of approaches are being explored, including biomass gasification [
2,
4] and the use of renewable energy [
5,
6]. Cameli et al. [
7] put forth a proposed plant design for the sustainable production of ammonia. This design employs water electrolysis and cryogenic distillation to generate hydrogen and nitrogen, respectively. The authors posit that the utilisation of wind energy results in a 92% reduction in carbon emissions in comparison to the process based on methane steam reforming, with a corresponding reduction in CO
2 emissions of 0.36 kgCO
2·kgNH
3−1. Nevertheless, the high cost of the electrolyser and electricity represent the primary obstacles to economic viability. Nevertheless, the authors conclude that production can be competitive with traditional methods in small-scale stand-alone applications, particularly in the context of carbon taxes and the advancement of electrolyser technology. The same conclusions are presented by Osman et al. [
5] and Fúnez Guerra et al. [
6]. Osman et al. [
5] evaluated the potential for green ammonia production in high insolation regions, including seawater desalination, water electrolysis, air distillation and the Haber–Bosch process. The feasibility of a green ammonia production plant in Chile was explored, utilising renewable energies (solar, wind and hydraulic), with a minimum selling price of 400 EUR/tNH
3. Fúnez Guerra et al. [
6] demonstrated that the production of green ammonia and its transport to Japan could be a potentially profitable venture, with a relatively short payback period. However, this profitability is mainly contingent upon the price of electricity and the cost of the electrolyser, with maximum values of 26 EUR/MWh and 800 EUR/kW, respectively. Flórez-Orrego et al. [
2] compared the use of biomass gasification to partially or totally replace methane in an integrated syngas and ammonia production plant. The authors demonstrated that by completely replacing natural gas with synthesis gas from biomass gasification, the total CO
2 emission was −2.276 tCO
2·tNH
3−1, indicating the benefits of producing ammonia from biomass. Samini et al. [
4] conducted a study investigating the energy and exergetic efficiency of the gasification of various biomasses using different gasification agents, including air, steam and air/steam. The authors concluded that the steam gasification of pine wood resulted in the highest exergy efficiency. Additionally, the results demonstrated that a higher steam/biomass ratio and temperature, in conjunction with a lower moisture content, led to higher energy efficiency values.
Brazil is one of the world’s most significant producers and exporters of agricultural products, consequently occupying a prominent position in the global fertilizer consumption market. Nevertheless, approximately 80% of the national fertilizer market is supplied by imported products, which has led to the issue of increasing the production capacity of this resource becoming a strategic one [
8]. Given the considerable consumption of natural gas for hydrogen production, the defossilisation of ammonia production is a crucial step in Brazil’s pursuit of sustainable development. The sugarcane sector is of great economic importance to Brazil, ranking as one of the world’s leading producers of sugarcane and ethanol. The production of ethanol from sugarcane results in the generation of an effluent known as vinasse. For every litre of ethanol produced, approximately 12 L of this effluent is obtained. Due to its high organic matter content, the biodigestion of vinasse has received considerable attention and is the subject of numerous studies. It is estimated that the state of São Paulo has the potential to produce 3.63 billion Nm
3 of biogas [
9], which could be used as a substitute of natural gas for hydrogen production. Another alternative for hydrogen production is ethanol, whose conversion can be carried out by a process called steam reforming. The well-established production technology and well-developed storage and distribution systems make ethanol a feedstock with high potential for hydrogen production [
10,
11,
12].
For a low-carbon economy to be viable, it is necessary to overcome a number of barriers, including the location and availability of sustainable raw materials, as well as transportation costs. Furthermore, uncertainties regarding the supply, transportation, demand and price of resources make it challenging to identify the most appropriate production strategy. Consequently, supply chain optimisation is essential to overcome these challenges [
13]. The utilisation of superstructure-based methodologies is a prevalent approach in the engineering of logistics networks, encompassing the transportation, processing and distribution of biomass and biofuels. Illustrative studies include the work of Abdul Razik and colleagues [
14], who employed a linear-programming-based methodology to optimise the operational planning of a biomass supply chain. In a similar vein, Jonker et al. [
15] devised a model based on linear programming to ascertain the optimal location of first-generation ethanol production plants derived from sugar cane and second-generation ethanol production plants derived from eucalyptus. This was conducted by considering production costs, greenhouse gas (GHG) emissions and the projected expansion of biomass supply areas by 2030. Considering the availability of raw materials, production technologies, transport options and the location of supply stations, Li et al. [
16] presented a mathematical model for designing hydrogen supply networks, with a particular focus on the transport sector. The model was then applied to a case study in a region of France, the results of which demonstrate the importance of considering price, demand and carbon offsets within an integrated framework when making decisions about the design of a hydrogen supply network.
Despite the different formulations found, they do not consider the uncertainty present in essential parameters for economic viability, such as the purchase and sale prices of resources. The issue of parameter uncertainty within mathematical programming is widely recognised as one of the main challenges in optimisation and can be addressed using stochastic methods or robust optimisation [
17]. Stochastic methods assume that uncertainty can be expressed in the form of probability functions and therefore require a large amount of data, which makes them difficult to apply when this information is not available. To deal with cases where the amount of information is insufficient, robust optimisation is a promising alternative and has been applied in several studies [
18,
19,
20,
21,
22]. Based on the above, this work aims to present a superstructure based on mixed-integer linear programming with robust optimisation for evaluating the decarbonisation of ammonia production by integrating ammonia and ethanol production in the state of São Paulo, Brazil. Two routes, biomethane and ethanol, were evaluated in two different scenarios, considering a new facility construction, with undetermined location, and the use of existing infrastructure to provide the resources required for an ammonia process at a defined location. Despite the cited studies, no other research was identified that had employed the proposed methodology in this context. Consequently, in addition to introducing an innovative methodology, the findings of this study can inform more comprehensive investigations and contribute to the formulation of public policies designed to facilitate the integration of these sectors. This is due to the insights gained from the existing considerations and the information incorporated into the analyses. Although this work applies the model in a specific context, low-carbon ammonia production in the state of São Paulo, the presented formulation was constructed in a generic way, allowing it to be applied in different contexts, scenarios and areas.
3. Case Study Description: Integration of Ammonia Production with Ethanol Production in the State of São Paulo
The objective of this study is to evaluate the defossilisation of ammonia production through integration with ethanol production in two scenarios. The first scenario assumes that ammonia production will occur in a new location within the state of São Paulo. The second scenario considers that ammonia production should occur in the municipality of Cubatão, with the objective of identifying the most optimal production strategy, given the existence of an existing plant and infrastructure. In both scenarios, a total of 39 distinct locations are considered, representing the various micro-regions of the state of São Paulo with ethanol production. The administrative centre of each micro-region is in the city that lends its name to the region. For each of the scenarios described, two routes for the supply of hydrogen are evaluated: biomethane reforming (route 1) and ethanol reforming (route 2). Thus, the integration of sustainable ammonia production with ethanol production is evaluated in four different cases. Cases 1 and 2 deal with scenario 1 considering the biomethane and ethanol routes, respectively. Cases 3 and 4 deal with scenario 2, considering the biomethane and ethanol routes, respectively.
For ammonia production, it was considered that nitrogen would be obtained by the cryogenic distillation process of air, and ammonia production would be by the Haber–Bosch process. To calculate the total avoided CO
2 and consequently the carbon credit generated, the emitted and avoided CO
2 for each resource are provided in the
Supplementary Materials (Table S2), as well as the IAR and OAR for each unit (
Tables S3 and S4) and the process linearised cost curve. The following section will provide a more detailed description of the routes and scenarios, as well as the models used.
3.1. Evaluated Scenarios
3.1.1. Scenario 1
The objective of scenario 1 is to evaluate the potential of the sugarcane industry in the state of São Paulo to defossilise ammonia production. To this end, scenario 1 considers the construction of a new ammonia production plant with a capacity to meet a demand of 191,000 tons per year. This value is taken as a reference based on an existing ammonia plant in the state [
27]. In both scenarios, the superstructure is free to choose the location of a new ammonia production plant and to organise the logistics of production and distribution of the necessary resources. To this end, an ammonia demand of 191,000 tons was added to each location considered, and an availability of vinasse, filter cake and ethanol was assumed. The availability of ethanol was determined by considering the sum of the installed capacity of the ethanol production plants present in that micro-region. This information was made available by the National Petroleum Agency (ANP) [
28]. The availability of vinasse and filter cake was determined by considering that for each litre of ethanol produced, 12 L of vinasse and 0.45 kg of filter cake are generated [
9]. The resource availability for ethanol, vinasse and filter cake for each place are provided in the
Supplementary Materials (Table S5).
3.1.2. Scenario 2
As previously stated, scenario 2 is designed to assess the potential of the sugarcane industry in the state of São Paulo to defossilise ammonia production, with a particular focus on the optimisation of existing infrastructure. As in scenario 1, the demand for 191,000 tons of ammonia was used as a reference point. However, for the infrastructure to be used, several considerations were made. Regarding route 1, it was assumed that integration would occur through the supply of biomethane, considering the utilisation of the existing gas pipeline network and the deployment of established processes, including natural gas reforming, cryogenic air distillation and Haber–Bosch, all of which are situated in the city of Cubatão. In this sense, biomethane must be produced somewhere, transported to the gas pipeline and then delivered to the city of Cubatão. It has been considered that all the micro-regions through which the pipeline passes are potential injection sites for biomethane. The quantity of biomethane required to satisfy the demand for ammonia was determined based on [
29,
30,
31]. Regarding route 2, it was postulated that the integration would occur through the supply of hydrogen, given that the conversion of ethanol into hydrogen is a process that still requires construction. The hydrogen demand was calculated based on [
31]. The ethanol, vinasse and filter cake availability for scenario 2 were determined following the same procedure as scenario 1.
3.2. Hydrogen Production Routes
3.2.1. Biomethane Steam Reforming (Route 1—R1)
Route 1 looks at the biomethane steam reforming process. Biomethane can be obtained through two processes: vinasse biodigestion or filter cake biodigestion. In both processes, vinasse or filter cake is sent to anaerobic biodigesters, and all the biogas is sent for desulphurisation to remove H
2S. The pressure swing adsorption (PSA) process removes all the CO
2 in the biogas. Once the biomethane has been purified, it is sent to the steam reforming process, which has three main stages: steam reforming, water–gas shift reaction and hydrogen purification. Biomethane reacts with steam at high temperatures and produces carbon monoxide and hydrogen. The CO from the last step reacts with more steam water, making CO
2 and more H
2. Finally, the H
2 is purified using a PSA process, resulting in a high-purity hydrogen product. The data on converting vinasse and filter cake into biomethane and the investment costs were obtained from sources [
9,
32]. Information on the biomethane steam reforming process was obtained from sources [
29,
30].
Figure 3 and
Figure 4 show a representation of each process.
3.2.2. Ethanol Steam Reforming (Route 2—R2)
Route 2 considers hydrogen production through the ethanol steam reforming process, which consists of three main steps: steam reforming, water–gas shift reaction and hydrogen purification. Initially, ethanol (C
2H
5OH) is combined with steam (H
2O) in the presence of catalysts, producing hydrogen (H
2), carbon monoxide (CO) and carbon dioxide (CO
2). In the next step, CO reacts with steam in a water–gas shift reaction, producing additional hydrogen and CO
2. The gas mixture is then separated in a PSA process, resulting in a highly purified hydrogen output. The data used in this model were sourced from [
33].
Figure 5 shows a representation of ethanol steam reforming process.
3.3. Auxiliary Processes
3.3.1. Haber–Bosch Process
The Haber–Bosch process is an industrial method developed in the early 20th century for making ammonia from hydrogen and nitrogen. The gases are mixed in a reactor under high temperature and pressure, in a catalyst presence [
7]. The mixture is then cooled, and the ammonia becomes a liquid that is separated from the unreacted gases. The unreacted gases are returned to the reactor to improve efficiency. The liquid ammonia is then purified and stored under optimal conditions [
6]. It can be used directly as a fertilizer or as a raw material for other nitrogen compounds. The model was constructed using economic and material balance information from sources [
3,
31], respectively.
Figure 6 shows a representation of Haber-Bosch process.
3.3.2. Cryogenic Air Distillation
Cryogenic air distillation is a process used to separate the components of air, such as nitrogen and oxygen. This process has four stages: compression, refrigeration, cryogenic refrigeration and fractional distillation, as shown in
Figure 7. Initially, atmospheric air is compressed to a high pressure (5–8 atmospheres) using compressors and then is cooled. In the cryogenic refrigeration stage, the air is cooled to cryogenic temperatures (between −185 °C and −190 °C). The cooled air is expanded, which makes it partially liquefy. In the fractional distillation stage, two columns separate the air components. The first column separates the air into an oxygen-rich fraction and a nitrogen-rich fraction. The final separation occurs in the low-pressure column. The pure oxygen exits the lower part of the column, while the pure nitrogen stream is obtained at the top. The model was constructed using information from [
3].
3.4. Electricity Production
Usually, in conventional distilleries, the electricity is supplied by a cogeneration system that consumes a fraction of the produced bagasse. However, as the processes occurs outside the distillery, in the evaluated scenarios it is considered that the electricity is supplied by the electricity network available, with an acquisition cost of 65.00 USD.MWh
−1 and CO
2 emissions 0.1185 tonCO
2eq.MWh
−1 [
34].
3.5. Resource Transportation
For all resources, it was assumed that transport could take place by truck. For the transport of biomethane in scenario 2, it was considered that it could also take place through the gas pipeline network. The costs and emissions for the transport of each resource are shown in the
Supplementary Materials (Table S6).
3.6. Uncertainty Parameters
To consider the uncertainty present in purchase and sale prices and resource transportation costs, the robust optimisation method with box-type geometry was used to define the uncertain set. For each of the cases evaluated, a 20% disturbance, fpert and a psi of 0.4 were considered as te reference. In addition, different optimisation scenarios were performed, varying the degree of conservatism of the uncertain set through the value of psi.
3.7. São Paulo State Description
The state of São Paulo is the main producer of ethanol from sugar cane in Brazil, making a significant contribution to the national energy matrix. With its favourable climate and fertile soil, the state of São Paulo is home to 144 sugarcane mills, which are responsible for producing 36.8% of the country’s ethanol [
28]. This production is complemented by a robust transport infrastructure, including some 199,000 km of highways for ethanol transport and a natural gas pipeline network that can be used to transport biomethane [
35].
4. Results and Discussion
In this work, the model presented in
Section 2 was used to assess the potential for defossilising ammonia production by integrating it with ethanol production. Two different cases were considered, each consisting of two routes. The first case aims to identify the micro-region in the state of São Paulo that would be most suitable for building a new ammonia plant, considering the availability of ethanol, vinasse and filter cake in each micro-region. The second case aims to understand how the production and logistics of biomethane and hydrogen should be organised to meet the existing demand for an ammonia production plant in Cubatão. The purchase and sale prices of resources are provided in the
Supplementary Materials (Table S7).
Table 1 presents the values obtained for the objective function for each of the cases evaluated, changing the degree of conservatism of the solution by controlling the size of the solution set, through the parameter Ψ. For the different values tested, except for case 2, there were no changes in the locations of the processes, which will be presented in the next paragraphs. In case 2, when restricting the solution space, no viable solutions were found, so the objective function presented a value equal to zero.
Table 2 presents the main economic results obtained for the evaluated cases, which will be commented on in the next paragraphs.
Figure 8 illustrates the spatial distribution of the production configuration and distribution of the resources required to meet ammonia demand in the state of São Paulo. The map illustrates that, while ammonia production is concentrated in Novo Horizonte, biomethane production is decentralised across eight locations, accounting for 54% of the total available vinasse. Upon evaluation of the availability of vinasse and the location of each biomethane-producing micro-region, it becomes evident that, except for Nova Horizonte, these are the seven locations with the greatest availability of vinasse. The selection of locations with the highest vinasse availability demonstrates the significance of reducing the investment cost per tonne of biomethane for the process’s viability. The decision to situate both a vinasse biodigestion plant and the other necessary ammonia production processes in Nova Horizonte can be viewed as a matter of logistics.
The map in
Figure 8 shows that Nova Horizonte is in the centre of the other regions, reducing the cost of transporting biomethane between the biodigestion and reforming plants. In case of other locations having been chosen to concentrate ammonia production, biomethane processing would have been moved from the central region and its transportation costs would have increased. This shows that not only is the scale of the process important, but transport costs also have a major influence on the location of new plants. As with conventional ammonia plants, both the nitrogen, obtained through the cryogenic air distillation process, and the hydrogen, obtained through biomethane steam reforming, are produced in the same location as the Haber–Bosch process, thus avoiding the cost of transporting these resources. In this configuration, ammonia production had a TAC of USD 2.372 × 10
8 and a total investment of 3307 × 10
8 as shown in
Table 2. The low payback time can be explained by the fact that the main resource in this case, vinasse and filter cake, has no acquisition cost. Given that these resources are waste and lack an established market for their commercialisation, it was assumed that they would have a zero-acquisition cost, thereby reducing raw material costs and the return on investment time. This is an avenue that the sector could pursue further.
Figure 9 illustrates the location of the new plants for case 2, which features centralised processing for all resources, in contrast to case 1. The Ribeirão Preto micro-region was selected to house the processes needed to produce ammonia, due to its consumption of 1,022,602.28 m
3 of ethanol, equivalent to 63 per cent of local availability and 8 per cent of the total. This figure represents 8 per cent of the total and is therefore relatively low. In addition to the ammonia plant, there is an air distillation plant to produce nitrogen. For this configuration, ammonia production had a TAC of 8.51 × 10
7, with a total investment and ammonia revenue of USD 314 MM and USD 534 MM, respectively. In this case, the payback was 3.2 years.
When evaluating the consumption of available resources, the results indicate a significant difference between the two routes. The biomethane route consumes 54% of the vinasse available throughout the state, while route 2 consumes only 8% of the total volume of ethanol available. This discrepancy shows that the biomethane route requires greater mobilisation of the plants to meet the total demand for ammonia, making this route unlikely to be realised. In contrast, the ethanol route shows greater efficiency in terms of resource consumption.
A comparison of the two cases reveals that route 1 has a higher total annualised cost than route 2, making it a better option, considering the objective function. In contrast to ethanol reforming, steam reforming of natural gas is a more established and widely understood technology. Consequently, the utilisation of biomethane in lieu of natural gas will not necessitate substantial technological modifications, thereby reducing the cost of hydrogen production to a degree that is less than that that incurred by ethanol reforming. For the ethanol route, the cost of producing ammonia was USD 2746/tonne, whereas for the biomethane route it was USD 1880/tonne. Although route 1 has a longer payback period than route 2, it can be considered the most economically viable option. While the return on investment is quicker, case 2 has significantly higher raw material costs than case 1, which reduces the final balance for the period (income and expenses).
As indicated by [
36], the estimated production cost of bio-based ammonia is within the range of USD 450 to USD 2000 per tonne, which is considerably higher than that of natural-gas-based ammonia and coal-based ammonia, which are within the range of USD 110 to USD 340 per tonne. Based on the values and the conditions evaluated, the production of ammonia integrated with ethanol production would result in uncompetitive ammonia. For this integration to be viable, it would depend on the creation of new markets, supported by different mechanisms. One potential mechanism for addressing this issue is the incorporation of a premium associated with the sustainable nature of the process into the price of ammonia. For the context under consideration, this premium would be USD 2500, based on an average market price for ammonia of USD 300 per tonne [
37]. This results in a value of USD 2800, which is the figure considered in this work. Despite that, a widely used mechanism, especially in the transportation sector, is to establish mandates to replace fossil fuels with their renewable equivalents, as has been the case with sustainable aviation fuels and biodiesel. Actions along these lines could be taken for the use of fertilizers, so that all nitrogen fertilizers derived from ammonia should be produced in part with low-carbon ammonia.
Figure 10 illustrates the novel production configuration for case 3, wherein it is evident that biomethane production is characterised by a decentralised structure, with biodigestion of vinasse occurring in disparate locations, akin to the configuration observed in case 1. The total annualised cost for this configuration was found to be USD 1.13 × 108, representing a 53% reduction compared to that of case 1. The total investment in this case was USD 316 million, with revenue obtained from supplying biomethane amounting to USD 50.5 million. The ability to take advantage of the biomethane reforming unit meant that the payback period for this configuration was 2.25 years, representing a reduction of 4.5 years compared to that of case 1.
Upon analysis of vinasse consumption, it was determined that the quantity consumed was equivalent to that observed in case 1 (84,493,285 tonnes). Additionally, it was established that 100% of the vinasse available in Ribeirão Preto, Andradina, Jaboticabal, Jaú, Assis, Araçatuba and Limeira was consumed, while in São Joaquim da Barra, the consumption was 95%. Except for São José do Rio Preto, biomethane production occurred in the nine cities with the greatest availability of vinasse. Despite its availability, filter cake was not consumed in any of the towns, which can be attributed to the lower availability of this resource. While filter cake has a higher generation potential per unit of mass (filter cake: 41.5 Nm
3/ton of substrate; vinasse: 6.6 Nm
3/ton of substrate [
38]), its smaller available volume results in a higher total biomethane generation cost than if vinasse were used. It was thus demonstrated that the production of biomethane through the biodigestion of vinasse was a more attractive proposition in the context under consideration. Even though biomethane production occurs at the same injection site in Andradina, Araçatuba and Limeira, Rio Claro, Araraquara and Lins locations were supplied by production in the cities of Jaú, São Joaquim da Barra and Assis, respectively, while São Carlos is supplied by production in the micro-regions of Ribeirão Preto and Jaboticabal. The greatest distance travelled between these cities was between São Joaquim da Barra and Araraquara, at 161 km. Given that the Birigui micro-region had vinasse and was one of the micro-regions with direct access to the gas pipeline, it was not included in the biomethane production system. The limited availability of resources in this location would necessitate a reduction in the scale of the process, resulting in a considerably higher production cost than in other regions. It can thus be seen that, in addition to proximity to the natural gas distribution network, the availability of resources at the selected biomethane production and injection sites was an important factor in the decision-making process.
Figure 11 illustrates the configuration of the ethanol distribution network, which is designed to meet the hydrogen consumption requirements of the ammonia production facility situated in Cubatão. The configuration demonstrates that, although ethanol is supplied from disparate locations, hydrogen production through ethanol steam reforming is concentrated in the city of Cubatão, situated within the Santos micro-region. The total annualised cost of hydrogen production in this configuration was USD 3,905,000,000. Similarly, the centralisation of the ethanol-to-hydrogen conversion process was also observed in case 2. However, in case 2, the Ribeirão Preto micro-region had all the ethanol it required, thus obviating the expense of transporting this resource from other regions.
In case 4, the total investment amounted to USD 259 million, while the cost of raw materials reached USD 474 million. Consequently, the cost of centralised hydrogen production was determined to be USD 3.627 per kilo of hydrogen. The cost of producing hydrogen would increase by 36.47% if production were to take place in a decentralised way, with ethanol being converted in its various places of origin and the hydrogen produced transported to Cubatão. Despite the total investment required being only 30.6% higher, the logistical cost is increased by 311% due to the transportation of hydrogen. Therefore, in addition to the issues of availability and distance of ethanol to the consumer’s location, the resource transported also had an influence on the structure of the supply network. Of all the cases evaluated, this was the one with the lowest payback period. This can be explained by the combination of different factors, such as the lower cost of centralised production and the high price of the product.