Preprint
Article

Modeling of a Biomass-based Energy Production Case Study Using Flexible Inputs with the P-Graph Framework

Altmetrics

Downloads

87

Views

17

Comments

0

A peer-reviewed article of this preprint also exists.

Submitted:

22 November 2023

Posted:

22 November 2023

You are already at the latest version

Alerts
Abstract
In this work, a modeling technique utilizing the P-Graph framework was used for a case 1 study involving biomass-based local energy production. In recent years, distributed energy systems 2 gained attention. These systems aim at satisfying energy supply demands, supporting the local 3 economy, decreasing transportation needs and dependence on imports, and in general obtaining a 4 more sustainable energy production process. Designing such systems is a challenge, for which novel 5 optimization approaches were developed to help decision-making. Previous work used the P-Graph 6 framework to optimize energy production in a small rural area, involving manure, intercrops, grass, 7 and corn silage as inputs, and fermenters. Biogas is produced in fermenters, and Combined Heat 8 and Power (CHP) plants provide heat and electricity. A more recent result introduced the concept of 9 operations with flexible inputs in the P-Graph framework. In this work, the concept of flexible inputs 10 was applied to model fermenters in the original case study. A new implementation of the original 11 decision problem was made both as a Mixed-Integer Linear Programming (MILP) model and as a 12 purely P-Graph model by using the flexible input technique. Both approaches provided the same 13 optimal solution, with a 31% larger profit than originally reported.
Keywords: 
Subject: Engineering  -   Energy and Fuel Technology

1. Introduction

Biomass utilization is increasingly popular due to its capability of decreasing dependence on fossil fuels and promoting sustainability. In particular, agricultural side products and waste can be used with the appropriate technologies to produce energy, fuels, or other products. In practice, the availability of such types of biomass can be problematic, since the supplies are not only scarce but distributed geographically, seasonally, and may also fluctuate. Transportation can also be an issue, as the low energy content of the biomass itself may counter the economical incentive of its usage.
For these reasons, designing a production plan or whole supply chain involving biomass can be a challenge. A range of optimization methods were utilized for this and similar purposes. Examples include mathematical programming approaches, metaheuristics, and combinatorial optimization methods.
The focus of this study was targeted at the P-Graph framework. This is a graph-based combinatorial modeling and optimization tool with well-established literature. A recent result was the technique of modeling operations with so-called flexible inputs. This concept makes it possible to model operations with independent inputs while arbitrary linear constraints can also be imposed. Flexible inputs can be especially useful for modeling different types of biomass, since they usually have distinct properties. Usually common final products are produced, like energy in the form of heating or electricity.
A previous case study was published about the optimization of a biomass-based energy production in a small rural area. A key point in the method was the model of fermenter units which assumed fixed input compositions of biomass types.
In this work, the case study was revisited in order to observe the potential of the flexible input modeling technique. First, a Mixed-Integer Linear Programming model was developed which reproduces the result of the original case study. This MILP model was then modified by introducing fermenters with flexible inputs instead. Finally, a P-Graph model was also developed, designed to be equivalent to the modified version of the MILP model, using the flexible input modeling technique for P-Graphs directly. By solving the optimization problem with these models, we could compare the efficiency of using flexible inputs with fixed designs, and also the MILP model with the P-Graph model.
Since this work focuses on a case study involving biomass-based energy production, a brief review is first given for this topic. Afterwards, the literature of the P-Graph framework is detailed.

1.1. Biomass-Based Energy Supply

Utilizing the energy content of biomass is becoming more considered for producing heat and electricity, fuels, or other products. Besides being renewable and economically competitive, biomass has a potential of decreasing dependence on fossil fuels [1]. Several technologies exist to convert biomass into energy or fuel including simple combustion, gasification, pyrolysis, fermentation, and anaerobic digestion [2]. Most optimization models aim at either supply chains involving resource management, transportation, production, and delivery, or only the conversion processes themselves in a single facility.
Due to the low energy density of many types of biomass, especially agricultural residues, biomass densification is an important step to make it economically feasible to be transported from the site of availability to the processing locations [3]. Optimization goals may be profit maximization or cost minimization subject to energy demands. Mathematical programming is a popular approach in designing supply chains [4], but combinations with other tools are also common. [5] used a Genetic Algorithm (GA) to obtain initial solutions and then mathematical programming for maximizing investment value for arbitrary potential biomass types and facilities. [6] proposed an MILP model assuming a given set of biomass types and processing locations. Their work accounted for both centralized and distributed process networks, which is another key decision. Some models proposed in the literature attempt to cover optimizing for more general supply chains [7]. A review of further case studies for biomass-based energy supply design was provided by [8]. In general, the computational complexity of a problem does not depend on how large the scope is, e.g., complete countries or a small rural area, but the granularity of decisions in the model.
The conversion processes of biomass can themselves be optimized, but the resulting models are usually nonlinear and very complex. One option is using Mixed-Integer Nonlinear Programming [9]. Some approaches combine mathematical programming with metaheuristics like GA [10]. These two examples focus only on hydrogen and power production. Energy supply optimization may also consider other renewable energy sources simultaneously, e.g., solar power [11,12]. On the other hand, if optimization takes place from a supply chain perspective, individual technologies are often simplified and considered as black box operations. More examples for optimizing biomass-based energy production can be found in the work of [13].

1.2. P-Graph Framework

The Process Graph or P-Graph [14] is a directed bipartite graph used to model Process Network Synthesis (PNS) problems. It has two types of nodes: material nodes which represent resources, and operating unit nodes which represent any kind of production, transformation, transportation, or conversion from a set of input resources into a set of outputs. The solution structure of a P-Graph is a subset of nodes representing a potentially feasible system of operations, which ensures the production of all dedicated products. The P-Graph framework includes algorithms MSG [15] which generates the maximal solution structure, and SSG [16] which enumerates all solution structures.
The P-Graph captures the structure of a process network. It can be supplied with data like the flow rates, material costs, revenues, demands and supplies, operating unit costs, minimal and maximal production volumes, and objective which together describe a complete optimization problem. The optimum can be determined by the Accelerated Branch and Bound (ABB) algorithm, which is specifically designed for P-Graphs [17]. The current implementation of ABB is available via the P-Graph Studio application [18]. The P-Graph framework is an alternative to commonly used optimization methods like mathematical programming models. A notable advantage is that, ABB can produce not only a single but the N best solution structures regarding the objective [18]. P-Graphs are also easier to visualize and understand.
A range of applications have been published which use P-Graphs for modeling, representation, and optimization, see for example a recent book from [19]. Another work by [20] focuses on applications related to sustainable process design. The scope of optimization can range from a single process, or manufacturing plant to complete supply chains [21]. The objective of synthesis is often profit maximization or cost minimization, but the methodology easily allows other objectives to be taken into account [22], including various indicators of sustainability [23].
In plant design, heating and electricity requirements can be fulfilled using different sources, which can result in a complex optimization problem [24]. With P-Graphs, it is easy to include new options to a model, for example a new potential technology or an additional input resource [25].
The P-Graph framework can also be used in combination with other techniques. [26] used conventional mathematical programming with a P-Graph model for multiple biomass corridor synthesis. Another example from [27] used pinch analysis combined with P-Graphs to optimize pressure retarded osmosis membrane allocation. In particular, to account for the spatial distribution of biomass in supply chain design, [28] used mathematical programming for determining spatial clusters and then the P-Graph framework was used to optimize flows between clusters.
Although the P-Graph framework is naturally suitable for process design, it can be used to address a much wider range of optimization problems on its own, even those with combinatorial nature. Examples include separation network synthesis [29], assembly line balancing [30], and workforce management [31].
Efforts have been made to extend the framework itself with additional tools for general usage, with possible software support [32]. Time-Constrained PNS problems allow timing constraints [33], making it possible to address scheduling problems [34]. The multi-period modeling scheme allows the time span of a process network to be segmented to account for significant fluctuations of supplies, demands, and storage requirements [35].
The flexible input scheme is a recent extension of the framework by a generally applicable modeling technique [36]. This technique describes how ordinary P-Graph nodes can be used to model more complex operations involving multiple inputs that are basically independent but can be subject to restrictions. Provided that the connection of inputs and outputs and the constraints on their amounts can be described by linear constraints, the flexible input scheme offers a solution with the existing software and algorithms. This is in contrast with former approaches which required manual model generation using the initial P-Graph model [37]. The flexible input scheme is a general technique for the P-Graph framework, and can be used in any case study where input ratios are intended to be variable [38].
In our previous work [39], the case study involving biomass-based energy production in a small rural region published by [40] was revisited. The motivation was to compare results using fixed input fermenter units as in the original study to flexible input models for fermenter units. An MILP model was used to demonstrate that flexible units perform better in terms of both model complexity and provided solutions.
Our present work provides a P-Graph model using a flexible input model for fermenters, for the same study. Besides demonstrating the applicability of the technique, a comparison of fixed and flexible models, and also MILP and P-Graph formulations were made.
This paper is organized as follows. The problem description from the original case study is first detailed in Section 2, followed by the details of the MILP and P-Graph model formulations. The obtained results and the discussion are shown in Section 3.

2. Materials and Methods

2.1. Problem Description

The goal of the original study was to produce heat and electricity from biomass in a small rural region around the town of Bad Zell (Austria). The supply chain is summarized in Figure 1.
Four types of biomass are available: animal manure, intercrops, grass, and corn silage. In fact, an objective of the original case study was to investigate the potential usage of intercrops.
There are dozens of individual agricultural suppliers for biomass. As a simplification, these are grouped into 8 supplier sites. The available biomass is transported via trucks to one of the 3 possible processing locations. Biomass is transported as fresh matter, that means it is not dried first. This is acceptable due to the short distances.
Each location may host multiple fermenter units which produce biogas (methane) from biomass, and multiple CHP plants. Biogas throughput is estimated based on the dry matter content of the fresh matter of each biomass type transported. Heat and biogas can be transferred via pipes to the central town, which can host additional CHP plants. Supporting infrastructure is also required: fermenters require heating, storage of biomass requires investing into a silo plate at each location, and electricity transfer requires a transformer. All purchased biomass and all produced biogas must be consumed inside the supply chain, no leftovers are allowed.
The optimization problem seeks to maximize profit from selling produced heat and electricity at the central town. It is assumed that all energy can be sold, there is no specific demand. The key decisions to be made are the locations, numbers, and sizes of the fermenter and CHP units, and required supporting infrastructure to be invested into, and also determine material flows. A payoff period of 15 years was used in the original work.
Both fermenter and CHP units are available in different sizes: 80 kW, 160 kW, 250 kW, 500 kW. In case of a CHP unit, the sizes denote electricity output. In case of a fermenter unit, the size indicates that the fermenter can just supply a CHP unit of the same size with biogas if both work at full capacity. However, it is not required that the fermenter is actually connected to such a CHP plant, there can be any numbers and combinations of both, even with a partial utilization, as long as material balance for biogas is satisfied.
Fermenter inputs are a critical point in the model. The original case study assumed 8 fixed input compositions for fermenters. These are shown in Table 1 along with total available amounts.
The exact method of selecting these fixed compositions was not available, although there was one explicitly mentioned restriction: manure usage must be at least 30%, due to a regulation. This is implicitly true if any of the fixed input compositions are used, but must be explicitly stated as a constraint when a flexible model is formulated.

2.2. Initial MILP Model

The main part of our work consists of an initial and a modified MILP model formulation, and a P-Graph model formulation for the described problem. Symbols for sets, variables, and parameters are listed in Appendix A. Implementations and results are made available as supplementary materials.
The initial MILP model is now presented. The purpose of the initial MILP model was to reproduce results from the original case study, using fixed input fermenters. Constraints are listed below.
An important note: the key decision variables x k , m , l denoting fermenter utilization, and y k t o w n and y k , l denoting CHP plant utilization are not binary but integer variables, allowing multiple identical units.
The fresh matter amounts b s , l , t o u t transported from suppliers to all locations l cannot exceed the total biomass availability B A V s , t at supplier s.
l L b s , l , t o u t B A V s , t s S , t T
The total of fresh matter amounts b s , l , t o u t transported to a location l is equal to the total of inputs b k , m , l , t i n of fermenters at that location, taking all sizes k and input compositions m into account.
s S b s , l , t o u t = k K , m M b k , m , l , t i n l L , t T
The following constraint calculates biogas production from input biomass types t, for all fermenters of size k, with input composition m, at location l. Two conditions must hold.
  • Ratio of inputs b k , m , l , t i n is determined by the input composition m. Constant B R m , t denotes the ratio for biomass type t in input composition m such that t T B R m , t = 1 .
  • The total amount g k , m , l of biogas is obtained as a sum for each input t. The factor T G t is used to convert fresh matter amounts to produced biogas amounts such that b k , m , l , t i n units of biomass type t yield a production of b k , m , l , t i n · T G t units of biogas.
g k , m , l · B R m , t · T G t t T B R m , t · T G t = b k , m , l , t i n · T G t k K , m M , l L , t T
Fermenter and CHP plant capacities are measured in full load working hours, of which F L H = 7800 is assumed a year. Fermenters of size k, composition m at location l work for an equivalent of u k , m , l hours, although the exact distribution of load during the year is not considered in the model. For example, if a fermenter works at full, another identical one at half capacity, then u k , m , l = 1.5 · F L H . Coefficient W T B k converts working capacity to biogas production as follows, depending only on equipment size.
u k , m , l F L H · W T B k = g k , m , l k K , m M , l L
Biogas material balance at each location means that all production g k , m , l is either transported to the town ( g l t r a n ) or consumed in place. Used working capacity of CHP plants of size k at location l is u k , l c h p .
k K , m M g k , m , l = g l t r a n + k K u k , l c h p F L H · W T B k l L
All biogas transported into the town are consumed by CHP plants. Variable u k c h p , t o w n denotes working capacity of CHP plants of size k at the town.
l L g l t r a n = k K u k c h p , t o w n F L H · W T B k
Heat balance must hold for each location l. Heat is produced by CHP plants, calculated using the ,,working hours to heat” factor W T Q k , and extra heating q l e x t r a from a furnace. Heat is consumed by fermenters regarded by factor R E Q k , m or transported to the town, denoted by q l t r a n .
k K u k , l c h p · W T Q k + q l e x t r a = k K , m M u k , m , l F L H · R E Q k , m + q l t r a n l L
Heat pipes, if built, may carry heat from locations to the town. For each location l L to build a heat or biogas pipe from l to the town, P l P denotes the set of pipe sections that must be built. In short, our new formulation allows arbitrary pipe section requirements. In the original case study, there were 3 possible pipe sections: P 1 : from L 1 to town, P 2 : from L 2 to town, and P 3 : from L 3 to L 1 . Therefore, P L 1 = P 1 , P L 2 = P 2 , P L 3 = P 1 , P 3 .
The following two constraints ensure that no more heat can be lost than being transported from any location l, and that heat loss ( q p l o s s ) at a pipe section p is the sum of heat losses at that pipe section attributed to different locations ( q l , p l o s s ).
q l t r a n l L : p P l q l , p l o s s l L
q p l o s s = l P l q l , p l o s s p P
Heat loss q p l o s s at a pipe section is assumed to be proportional to pipe section length P S L p with a constant rate Q L . Binary variable z p q denotes whether the pipe section is built.
q p l o s s = z p q · P S L p · Q L p P
Heat throughput to be sold is from direct production at the town, plus transported amounts, minus heat losses.
q s e l l = k K u k c h p , t o w n · W T Q k + l L q l t r a n l L , p P l q l , p l o s s
Electricity throughput e k s e l l to be sold is calculated separately for each CHP plant size k. The factor W T E k converts working capacity to electricity throughput.
e k s e l l = W T E k · u k c h p , t o w n + l L u k , l c h p k K
The following constraints state that if some investment is not made and the represented infrastructure is not built (denoted by integer variables), then a corresponding activity cannot take place. If the investment is made, then there is still usually an upper bound. Due to implementation reasons, there are constants N i d on the maximum of identical equipment units at the same location or the town, and G M A X and Q M A X for an upper limit (big-M) for biogas and heat transportation.
For example, working capacity u k c h p , t o w n of CHP plants of size k at the town is at maximum the number of such plants ( y k t o w n ) times F L H . If a silo plate is built at a location ( z l s i l o ), then a maximum of N i d identical fermenters are allowed there ( x k , m , l ), otherwise the maximum is 0.
u k c h p , t o w n y k t o w n · F L H k K
u k , l c h p y k , l · F L H k K , l L
u k , m , l x k , m , l · F L H k K
x k , m , l z l s i l o · N i d k K , m M , l L
y k t o w n z t r · N i d k K
y k , l z t r · N i d k K , l L
g l t r a n z l b g · G M A X l L
q l t r a n z l q · Q M A X l L
z p b g z l b g p P l
z p q z l q p P l
Annual income is from selling heat and electricity throughput. Note that due to regulations, the feed-in tariff P R k e for electricity depends on plant size k.
v i n = q s e l l · P R q + k K e k s e l l · P R k e
Investment costs are attributed to CHP plants, fermenters ( v i n v , f ), silo plates, the transformer, biogas pipes, and heat pipes. All investment costs are fixed, except that biogas and heat pipes also have costs proportional to length, and heat pipes do not have a fixed part.
v o u t , i n v = k K , l L y k , l + k K y k t o w n · I N V k c h p + v i n v , f + l L z l s i l o · I N V s i l o + z t r · I N V t r + p P z p b g · I N V b g + p P z p b g · L E N p · I N V b g , p r o p + p P z p q · L E N p · I N V q , p r o p
Expenses are due to biomass purchase costs, biomass transportation with fixed part and proportional to distance, silo operation, fermenter heating purchase, fermenter operation ( v o p , f ) and CHP plant operation, CHP plant electricity cost, and heat pipe electricity cost.
v o u t , o p = t T P R t · s , l b s , l , t o u t + s S , l L , t T b s , l , t o u t · T R t f i x + D I S T l , s · T R t p r o p + l L z l s i l o · O P s i l o + l L q l e x t r a · O P f , e x t r a + v o p , f + k K y k t o w n + k K , l L y k , l · O P k c h p + k K u k c h p , t o w n + k K , l L u k , l c h p · O P k c h p , e l + l L q l t r a n · O P p i p e , e l
Fermenter investment cost v i n v , f and operating cost v o p , f are separated for better explaining model modifications.
v i n v , f = k K , m M , l L x k , m , l · I N V k , m f
v o p , f = k K , m M , l L x k , m , l · O P k f
A payback period of P B P = 15 years was used as in the original case study. The objective is the annual profit, which equals the revenues minus annualized investment and operating costs.
max : v i n v o u t , i n v P B P v o u t , o p

2.3. Modified MILP Model with Flexible Inputs

The initial MILP model was modified to use fermenters with flexible inputs. The key change is that the fixed input compositions m M are not used, as each fermenter may have a variable input composition. To make it possible to have multiple such fermenters for the same size k and location l, a new identifier i is introduced instead of m. Constant N f is introduced as a practical maximum number of fermenters with flexible inputs of the same size and at a given location. For fermenters only, N f is a substitute of N i d for identical units. The identifier i runs over the set I = i : i Z , 1 i N f . The new binary variable denoting fermenter utilization (existence) is x k , i , l . Note that unlike the former x k , m , l , the new x k , i , l is binary, allowing a single fermenter. Therefore, there can be N f distinct fermenters with flexible inputs for any size k and location l.
As a consequence, heating demands and investment costs of fermenters are calculated based on the input amounts for each biomass type t instead of the fixed input composition m. Therefore, as shown later, parameters R E Q k , t and I N V k , t f are used instead of R E Q k , m and I N V k , m f .
Note that fermenters of different sizes k K are still distinguished in the new model as well. The reason is that costs for different sizes are rather unique, mainly due to economies of scale.
Constraint 2 is replaced by the following equation. Variable b k , i , l , t i n denotes the input of biomass type t into a single fermenter of size k, identifier i at location l. The sum of inputs is the sum of delivered biomass amounts b s , l , t o u t .
s S b s , l , t o u t = k K , i I b k , i , l , t i n l L , t T
The new model allows a minimum ratio B R t m i n for all flexible fermenters, for any biomass type t. This is an example of the flexible input scheme allowing arbitrary linear constraints. In the original case study, the only such requirement was that there must be at least 30 % manure. ( B R Manure m i n = 0.3 ).
b k , i , l , t i n B R t m i n · t T b k , i , l , t i n k K , i I , l L , t T
The total biogas amount g k , i , l produced by a single fermenter is obtained as a sum for all input biomass types t. This replaces Constraint 3.
g k , i , l = t T b k , i , l , t i n · T G t k K , i I , l L
Fermenter working capacity u k , i , l is connected to biogas production by the factor W T B k . This is similar to Constraint 4, and replaces it.
u k , i , l F L H · W T B k = g k , i , l k K , i I , l L
Constraint 5 is replaced by the following equation for biogas balance at locations. The produced biogas is either transported to the town ( g l t r a n ) or consumed by local CHP plants.
k K , i I g k , i , l = g l t r a n + k K u k , l c h p F L H · W T B k l L
A similar replacement is done for Constraint 7 expressing heat balance at locations. A significant change is that fermenter heating requirement is not based on working hours and parameter R E Q k , m for each input composition m. It is instead proportional to input amounts, expressed by the new parameter R E Q k , t for each biomass type t. The constraint claims that the amount generated by CHP plants plus the purchased extra heating is either consumed by fermenters or transported to the town.
k K u k , l c h p · W T Q k + q l e x t r a = k K , i I , t T b k , i , l , t i n · R E Q k , t + q l t r a n l L
The logical Constraint 16 expressing silo plate usage is also replaced. The silo plate is needed if there is a fermenter at the location.
x k , i , l z l s i l o k K , i I , l L
Similarly, Constraint 27 is replaced. The annual operating cost of any fermenter of size k is O P k f as in the initial model.
v o p , f = k K , i I , l L x k , i , l · O P k f
Fermenter investment costs are more difficult to formulate. A linear estimation is made based on the amounts b k , i , l , t i n , as for the heating requirement in Constraint 34. A new parameter I N V k , t f is introduced for the investment cost per unit amount of biomass type t consumed. The following is a possible estimation of investment cost (not included as a constraint).
v i n v , f = k K , i I , l L , t T b k , i , l , t i n · I N V k , t f
The issue with Equation 37 is that the investment cost should not scale down if a fermenter is used below full capacity and consumes less. For this reason, the slack biogas amount g k , i , l s l a c k is also calculated for each fermenter. This slack is the amount which is actually not produced but would be if the fermenter was working at full capacity. Variable x k , i , l denotes whether the fermenter is built.
x k , i , l · W T B k = g k , i , l s l a c k + g k , i , l k K , i I , l L
Therefore, g k , i , l s l a c k + g k , i , l depends only on k, not on the inputs. Since the biogas production from t is b k , i , l , t i n · T G t , the value I N V k , t f , b g = I N V k , t f · T G t 1 expresses investment cost per unit biogas production.
The idea is to calculate the investment cost based on the slack as if it was actual consumption of biomass type t with maximal I N V k , t f , b g . With this choice, the calculated investment cost is an upper bound of the actual one, being strict if the fermenter is used at full capacity, or if the fermenter only uses inputs t for which I N V k , t f , b g is maximal. The final constraint for fermenter investment costs is the following.
v i n v , f = k K , i I , l L g k , i , l s l a c k · max t T I N V k , t f , b g + t T b k , i , l , t i n · I N V k , t f

2.4. P-Graph Model, Flexible Inputs

The maximal structure of the P-Graph model is too large to be depicted in a whole. Instead, operating unit nodes are detailed here. Node labels are listed in the nomenclature.
The raw material nodes are Biomass ¯ s , t for available biomass types t at suppliers s, and HeatPlus ¯ s , t for extra heating. The single product node is Revenue ¯ . Subtracting costs of the network from the Revenue ¯ amount gives the objective.
Some operations like material transfers or conversions, listed below, can be modeled by an operating unit with a single input material.
  • Operating units TransferBm ¯ s , t , l for biomass transfer are introduced for each supplier s, biomass type t and location l. The single input material node is Biomass ¯ s , t , the output is In ¯ l , t which represents input for fermenters.
  • Operating units BuyHeat ¯ l denote purchase of HeatPlus ¯ into the available heat Heat ¯ l for each location l.
  • Operating units TransferBg ¯ l denote transportation of available biogas Biogas ¯ l at each location l to the town, denoted by the BiogasTown ¯ node.
  • Operating units SellHeat ¯ and SellEl ¯ k for all sizes k denote selling energy. Their single inputs are HeatTown ¯ and El ¯ k , the output is Revenue ¯ in all cases.
  • The CHP plant at location l, with size k, and identifier j is denoted by operating unit node CHP ¯ l , k , j . Since N i d identical plants are allowed, 1 j N i d . The single input is the available biogas Biogas ¯ l , the two outputs are available heat Heat ¯ l and electricity El ¯ k .
  • The CHP plant at the town, with size k, and identifier j is modeled similarly, by operating unit node CHPTown ¯ k , j . The single input is BiogasTown ¯ , and the two outputs are available heat HeatTown ¯ and electricity El ¯ k .
Figure 2 shows three of the aforementioned operations. In the final P-Graph model, individual nodes are introduced for each index set.
If an operating unit requires another operating unit to be present, it can be modeled by a logical constraint. The required operating unit produces a dummy capacity material, which is consumed by the depending operating unit. The exact amounts of the dummy capacity material are not important.
Logical constraints of this kind are applied to operating unit nodes representing investment into some equipment. Instances are listed below. Examples are shown in Figure 3.
  • Investment into the fermenter of size k, identifier i, location l, is denoted by operating unit InvFerm ¯ k , i , l . It requires the silo plate, denoted by operating unit InvSilo ¯ l and dummy capacity material CapSilo ¯ l .
  • CHP plant operation for any size k and identifier j at the town ( CHP ¯ l , k , j ) or a location l ( CHPTown ¯ k , j ) requires the transformer, denoted by operating unit InvTr ¯ and capacity CapTr ¯ .
  • Biogas transfer from any location l denoted by operating unit TransferBg ¯ l across a pipe section p P l requires building that pipe section, denoted by operating unit InvBgPipe ¯ p and capacity CapBiogas ¯ p .
  • Heat transfer has the same rules as biogas transfer, but due to different heat loss and cost calculation, the implementation is different. TransferHeat ¯ l is the operating unit for heat transfer, and InvHeatPipe ¯ p is the operating unit for heat pipe investment, but there are distinct capacities CapHeat ¯ p , l for each l, p P l .
The model of the fermenters with flexible inputs is the most complex. It is shown in Figure 4, and is now detailed. The basic flexible input technique from [36] is involved, and is further extended.
The size k, identifier i (with 1 i N f ) and location l together identify a single fermenter unit. For all four biomass types t, namely: manure, intercrops, grass, and corn silage, operating unit node ConsFerm ¯ k , i , l , t represents consumption of input materials In ¯ l , t . Nodes ConsFerm ¯ k , i , l , t play the key role, in the following ways.
  • Input node Heat ¯ l represents the required fermenter heating, which depends on the amounts of each t with its specific flow rate.
  • The 30 % minimum ratio of manure is ensured by a single logical material node Constr ¯ k , i , l , M a n u r e , produced by ConsFerm ¯ k , i , l , M a n u r e (second operating unit in Figure 4) with flow rate 7, and consumed by ConsFerm ¯ k , i , l , t for all other biomass types t with flow rate 3.
  • InvFerm ¯ k , i , l represents the investment into the fermenter, producing its full capacity CapFIn ¯ k , i , l , which is then consumed by each ConsFerm ¯ k , i , l , t , and also ConsSlack ¯ k , i , l . This structure is mirrored: CapFOut ¯ k , i , l is produced, which is an input to InvFerm ¯ k , i , l . This ensures that ConsSlack ¯ k , i , l consumes all the remaining capacity. Therefore, the investment cost can be calculated based on the amounts processed by ConsFerm ¯ k , i , l , t and ConsSlack ¯ k , i , l .
  • Biogas ¯ l is the output of all production except for the slack, with appropriate flow rates for each biomass type t.
The last remaining part is the calculation of heat loss, which is a fixed term in this model for each pipe section p P , but the required pipe sections p P l for a location l can be arbitrary. The model is shown in Figure 5. Nodes with indices l, p or pair of l and p are introduced for each index l L , p P or pair of l L and p P l , respectively.
Heat transfer from Heat ¯ l does not immediately goes into HeatTown ¯ but into a temporary material HeatTemp ¯ l of which only a part is forwarded to HeatTown ¯ . Some amount is subtracted by operating unit Subtract ¯ l , p into HeatLoss ¯ p representing heat loss amounts. This happens for each p P l . Finally, if sufficient amount of HeatLoss ¯ p is present, operating unit InvHeatPipe ¯ p produces all dummy capacity materials CapHeat ¯ p , l for which p P l . Note that InvHeatPipe ¯ p also models investment into the heat pipe section p.
This part of the formulation is rather cumbersome. A future direction of research is finding a simple technique for achieving a similar modeling goal.

3. Results

3.1. Parameter Estimation

Model data were obtained from the original case study [40] and the corresponding technical report. The modified model needs two new parameters not available from the original data: R E Q k , t and I N V k , t f , expressing fermenter heating requirement and investment cost.
In an effort to provide useful estimations for these parameters, multiple linear regression was performed based on the original R E Q k , m and I N V k , m f for the M = 8 known input compositions. Investment and heating costs are expressed as a linear function of input biomass amounts for each of the four biomass types t, without a constant term.
There were K = 4 possible sizes: 80 kW, 160 kW, 250 kW, 500 kW. In case of fermenters, these power values are proportional to biogas production and consequently, biomass consumption in both models. Since heating requirement seems to almost perfectly scale linearly with plant size, a single instance of multiple linear regression was performed for all sizes k, and the obtained value was used for all sizes k. Therefore, R E Q k , t is a constant for all size k, only depending on biomass type t. Investment costs are significantly affected by economies of scale, so the regression was made for each size k individually. Consequently, values of I N V k , t f depend on both k and t. The obtained values are shown in Table 2. For example, a fully utilized 160 kW fermenter has a heating requirement of 160 times 0.0412 MW and investment cost of 55.95 EUR per each m3 of manure consumed.
Since the conversion factor T G t is significantly lower for manure than for any other t, the parameter I N V k , t f is maximal for manure, for all k. Therefore, manure is used for calculating investment costs for slack amounts in the modified model.
To verify the results, the values of R E Q k , t and I N V k , t f can be used to recalculate R E Q k , m and I N V k , m f in the initial MILP model for each fixed input composition m. The difference from the original values was between 7.8 % and + 6.5 %, indicating that the estimation functions are acceptable. More importantly, this recalculation allows to solve the initial and the modified MILP models on exactly the same data. All other parameter values not mentioned here can be found in the supplementary materials.

3.2. MILP Model Results

Three MILP model solutions were made.
  • Initial model (fixed inputs) with original data.
  • Initial model (fixed inputs) with recalculated R E Q k , m and I N V k , m f .
  • Modified model (flexible inputs) with estimated R E Q k , t and I N V k , t f .
All MILP models were written in GNU MathProg language, and GLPSOL was used as the MILP solver. The case study features L = 3 locations. N i d = 3 and N f = 2 were used in the models, which means at most 3 identical buildings, but 2 flexible fermenters at the same locations. This latter choice turned out to be sufficient.
The solution of the initial model with fixed inputs, summarized later in Table 3, was compared to the results reported in the original case study. The annual profit of 196351 EUR was obtained, while the original study reported 234544 EUR. The difference is due to the different modeling of transportation costs of biomass, as it was ambiguously described and could not be perfectly reproduced. The two fermenters are built at L 3 in the original study, but at L 1 in the reproduced MILP model, but they have the same inputs. Also, the study reported a solution using all CHP plants at the town, not at L 1 , where rather more fermenter heating was purchased. All other decisions and cost terms, for example fermenter inputs, plant sizes, pipe and infrastructure utilization and their costs in the model coincide. The initial model and its solution serves as a basis for comparison.
The solution of the initial model with the new, estimate data was compared to the solution with the original data to see how accurate the parameter estimations are. The two solutions have slightly different values for fermenter heating and investment costs (shown in Table 4). Otherwise, the exact same decisions were made, including fermenter and CHP plant selection and biomass transportation. This indicates that the estimations are accurate.
The second solution uses the initial MILP model with fixed inputs, and the third solution uses the modified MILP model with flexible inputs, while the model data are exactly the same, including the parameter estimations. This makes a fair comparison of the models possible.
The solutions are significantly different this time, shown in Table 3. The larger search space of the modified model with flexible inputs results in a better utilization of resources. More biomass is used. The 500 kW fermenter with flexible inputs is more economical than the two 250 kW fermenters due to economies of scale. Despite there is a 80 kW extra throughput, the total investment costs are not much higher. On the other hand, the two 250 kW CHP plants were chosen instead of one 500 kW CHP plant, since the feed-in tariff for the larger plant is lower. Overall, the annual profit is 31.62 % better. The model for flexible inputs is also smaller and faster to solve. The results suggest that it is better to use flexible inputs for optimization and designing fermenters based on the results, if such a workflow is possible, than using some fixed fermenter designs and optimize assuming them. Note that a requirement for a flexible model is an accurate estimation of parameters depending on input composition.

3.3. P-Graph Results

The P-Graph problem formulation consists not only the P-Graph, but data of the nodes and arcs, like flow rates, minimum and maximum usages, purchase costs, revenues, investment and operating costs. These were determined according to the case study data, including the parameter estimations.
The formulation was generated using a Python script. This was used as a tool to programmatically construct the graph in the format excepted by the P-Graph solver. The generated P-Graph consists of 147 material nodes, 319 operating unit nodes, and 1144 arcs, with N f = 2 fermenters and N i d = 3 CHP plants of the same kind allowed.
The P-Graph solver used the ABB algorithm. The solver successfully finished in 413.45   s on a Dell Latitude E5470 laptop, with Intel i7.6600 CPU, 16 GB RAM. The solver version was v2.0.3, running on Windows 10.
The P-Graph model formulation was proven to be a working alternative of MILP models. The exact same solution was obtained as for the modified MILP model, indicating that the two approaches are equivalent. The higher computational time can be attributed to several differences. First, the ABB algorithm for P-Graphs has an advantage of naturally producing not only the best but the set of solution structures ordered by objective. These alternative solutions were not investigated in this work. The P-Graph model has some redundancy, by introducing fermenters and CHP plants of the same kind as duplicate components in the graph. This could possibly be mitigated if the P-Graph implementation allowed integer variables for operating units instead of a single binary variable which can only represent a single unit.
The P-Graph solver has an option to export an MILP model equivalent to the P-Graph model. This was done. The exported MILP model is different from the MILP models presented. In fact, it itself inherits the redundancy of the P-Graph formulation. This results in GLPSOL being unable to prove optimality in 1000 s , but another MILP solver, CBC was able to conclude the optimal solution in 19.99   s . Therefore, a strong MILP solver may outperform the ABB algorithm, indicating that redundancy may be handled better.
Nevertheless, the P-Graph framework was suitable for modeling and solving the case study as the modified MILP model with flexible inputs, although solution speed could be improved.

4. Conclusions

In this work, MILP and P-Graph models for a case study involving biomass-based energy production in a small rural area were presented. The main improvement compared to the originally published results were the usage of flexible inputs for modeling fermenter units. This means that the ratio of the input biomass types can be arbitrary. The original study involved several predetermined, fixed input compositions to choose from.
The original study was reproduced first as an MILP model with the original fixed inputs. Then, estimations were made for the fermenter heating requirement and investment cost parameters, which were necessary for any model with flexible inputs. Then a modified MILP model allowing flexible inputs, and also a P-Graph model was developed.
The modified MILP model using flexible inputs outperformed the MILP model using fixed inputs. The profit was 31 % higher, with better biomass utilization, and with a model faster to solve. This shows that it is better to optimize for the input compositions and then design equipment based on the results, if possible, than assuming a set of fixed input compositions and optimizing based on them. The P-Graph model using the recently published technique of flexible inputs was able to provide the same optimal solution as the modified MILP model. However, the solver runtime is worse, possibly due to the ABB algorithm not handling redundancy well. Another reason is that ABB results in a set of solutions instead of a single one. A future direction of research could be the improvement of both the algorithmic framework for P-Graphs and the modeling techniques as well.

Supplementary Materials

Data used in the case study and the source codes of all MILP and P-Graph models, and obtained results are attached as supplementary materials. Available at: https://dcs.uni-pannon.hu/files/docs/users/eles/downloads/PGraph-MILP-CaseStudy-BadZell-2023.7z

Author Contributions

Methodology, A.É.; supervision, I.H.; validation, I.H. and H.C.; writing—original draft preparation, A.É.; writing—review and editing I.H. and H.C.; All authors have read and agreed to the published version of the manuscript.

Funding

This work has been implemented by the TKP2021-NVA-10 project with the support provided by the Ministry of Culture and Innovation of Hungary from the National Research, Development and Innovation Fund, financed under the 2021 Thematic Excellence Programme funding scheme. The contributions from H. Cabezas were done under the National Research, Development, and Innovation Office (NKFIH), NKFIH Identifier: 135854.

Data Availability Statement

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Appendix A. Nomenclature

Sets

l L Set of (processing) locations.
k K Set of plant sizes.
m M Set of fixed fermenter input compositions (or mixtures).
p P Set of possible pipe sections between locations and/or the town.
p P l Set of required pipe sections for location l L . P l P
s S Set of suppliers.
t T Set of raw material (biomass) types.
i I Set of identifiers for distinct fermenters with flexible inputs. I = i : i Z , 1 i N f

Integer variables

x k , i , l The fermenter with flexible inputs of size k, identifier i, at location l, is built.
x k , m , l Number of fermenter units of size k with input composition m built at location l.
y k t o w n Number of CHP plants of size k built in the town.
y k , l Number of CHP plants of size k built at location l.

Binary variables

z l b g Produced biogas is transported from location l.
z p b g Biogas pipe is built between the endpoints of pipe section p.
z l q Produced heat is transported from location l.
z p q Heat pipe is built between the endpoints of pipe section p.
z l s i l o A silo plate is built at location l.
z t r A transformer is built.

Nonnegative real variables

b s , l , t o u t Amount of biomass type t (fresh matter) transported from supplier s to location l.
b k , i , l , t i n Amount of biomass type t (fresh matter) fed into the fermenter with flexible inputs of size k, identifier i, at location l.
b k , m , l , t i n Amount of biomass type t (fresh matter) fed into fermenters of size k with input composition m at location l.
e k s e l l Total electricity throughput to be sold, from CHP plants of size k.
g k , i , l Amount of biogas produced by the fermenter with flexible inputs of size k, identifier i, at location l.
g k , i , l s l a c k Slack amount of biogas corresponding to the fermenter with flexible inputs of size k, identifier i, at location l.
g k , m , l Amount of biogas produced by fermenters of size k with input composition m at location l.
g l t r a n Amount of biogas transported from location l to the town.
u k c h p , t o w n Working capacity spent by CHP plants of size k at the town.
u k , l c h p Working capacity spent by CHP plants of size k at location l.
u k , i , l Working capacity spent by the fermenter with flexible inputs of size k, identifier i, at location l.
u k , m , l Working capacity spent by fermenters of size k with input composition m at location l.
q l e x t r a Heating purchased for fermenters at location l.
q l t r a n Heat transported from location l to the town.
q p l o s s Heat loss during transportation at pipe section p.
q l , p l o s s Heat loss during transportation from location l to the town, attributed to pipe section p P l .
q s e l l Total heat sold.
v i n Total income per year.
v i n v , f Fermenter investment costs, annualized.
v o p , f Fermenter operating costs per year.
v o u t , i n v Total investment costs, annualized.
v o u t , o p Total operating costs, annualized.

Parameters

B A V s , t Available amount of biomass type t at supplier s.
B R m , t Ratio of biomass type t in the fermenter input composition m.
B R t m i n Minimum input ratio for biomass type t in each fermenter.
D I S T l , s Distance of location l from supplier s.
F L H Full load working hours during a year.
G M A X Big-M value for biogas transported.
I N V b g Fixed investment cost of a biogas pipe.
I N V b g , p r o p Investment cost of a biogas pipe proportional to length.
I N V q , p r o p Investment cost of a heat pipe proportional to length.
I N V k c h p Investment cost of a CHP plant of size k.
I N V k , m f Investment cost of a fermenter of size k with fixed input composition m.
I N V s i l o Investment cost of a silo plate at a location.
I N V t r Investment cost of the transformer.
I N V k , t f Fermenter investment cost per unit amount of biomass type t consumed, at full capacity, assuming a fermenter with flexible inputs of size k.
I N V k , t f , b g Fermenter investment cost per unit amount of biogas produced from biomass type t consumed, at full capacity, assuming a fermenter with flexible inputs of size k.
N f Number of identical fermenters with flexible inputs allowed.
N i d Maximum number of identical units at a location or the town.
O P k c h p Annual operating cost of a CHP plant of size k.
O P k c h p , e l Electricity cost of a CHP plant of size k per working capacity.
O P f , e x t r a Unit cost of fermenter heating.
O P k f Annual operating cost of a fermenter of size k.
O P p i p e , e l Electricity cost per unit of heat transported.
O P s i l o Annual operating cost of a silo plate.
P B P Payback period assumed, in years.
P S L p Length of pipe section p.
P R t Purchase price of biomass type t.
P R q Sell price of heat produced.
P R k e Sell price of electricity produced at a CHP plant of size k.
Q M A X Big-M value for heat transported.
Q L Constant rate of heat loss.
R E Q k , m Heating required by a fermenter of size k with composition m.
R E Q k , t Fermenter heating required per unit amount of biomass type t consumed, assuming a fermenter with flexible inputs of size k.
T G t Conversion factor from fresh matter amount of biomass type t to biogas amount.
T R t f i x Fixed transportation cost of biomass type t.
T R t p r o p Transportation cost of biomass type t, proportional to distance.
W B T k Conversion factor from working capacity of fermenters of size k to biogas amount produced.
W T Q k Conversion factor from working capacity of CHP plants of size k to heat produced.
W T E k Conversion factor from working capacity of CHP plants of size k to electricity produced.

P-Graph material nodes

All material nodes are intermediate material nodes unless otherwise noted.
Biomass ¯ s , t Raw material node. Available biomass type t at supplier s.
Biogas ¯ l Biogas available at location l.
BiogasTown ¯ Biogas available at the town.
CapBiogas ¯ p Dummy capacity for biogas pipe section p.
CapFIn ¯ k , i , l Capacity on the input side, for the fermenter with flexible inputs, of size k, identifier i, location l.
CapFOut ¯ k , i , l Capacity on the output side, for the fermenter with flexible inputs, of size k, identifier i, location l.
CapHeat ¯ p , l Dummy capacity for the heat pipe from l, to ensure heat loss at pipe section p P l .
CapSilo ¯ l Dummy capacity for the silo plate at location l.
CapTr ¯ Dummy capacity for the transformer.
Constr ¯ k , i , l , t Material for constraint on the minimum ratio of input biomass type t, for the fermenter with flexible inputs, of size k, identifier i, location l.
El ¯ k Electricity produced by CHP plants of size k.
HeatPlus ¯ Raw material node. Extra heating purchased for fermenters.
Heat ¯ l Heating available at location l.
HeatTown ¯ Heating available at the town.
HeatTemp ¯ l Heating transferred from location l.
HeatLoss ¯ p Heat loss at pipe section p.
In ¯ l , t Input biomass type t at location l.
Revenue ¯ Product node. Revenue from selling heating and electricity.

P-Graph operating unit nodes

BuyHeat ¯ l Purchase of extra heat at location l.
CHP ¯ l , k , j CHP plant at location l, of size k, identifier j.
CHPTown ¯ k , j CHP plant at the town, of size k, identifier j.
ConsFerm ¯ k , i , l , t Fermenter with flexible inputs, of size k, identifier i, location l, consuming biomass type t.
ConsSlack ¯ k , i , l Fermenter with flexible inputs, of size k, identifier i, location l, consuming remaining free (slack) capacity.
InvSilo ¯ l Invesment into the silo plate at location l.
InvFerm ¯ k , i , l Invesment into the fermenter with flexible inputs, of size k, identifier i, location l.
InvSilo ¯ l Invesment into the silo plate at location l.
InvBgPipe ¯ p Invesment into the biogas pipe section p.
InvHeatPipe ¯ p Invesment into the heat pipe section p.
InvTr ¯ Invesment into the transformer.
TransferBm ¯ s , t , l Transfer of biomass type t from supplier s to location l.
TransferBg ¯ l Transfer of biogas from location l to the town.
TransferHeat ¯ l Transfer of heating from location l to the town.
TransferHeatA ¯ l Arrival of heating (after losses) from location l to the town.
SellEl ¯ k Selling electricity from CHP plants of size k.
SellHeat ¯ Selling heating.
Subtract ¯ l , p Logical operating unit for subtracting heat loss from location l across pipe section p.

References

  1. McKendry, P. Energy production from biomass (part 1): overview of biomass. Bioresource Technology 2002, 83, 37–46. [Google Scholar] [CrossRef] [PubMed]
  2. McKendry, P. Energy production from biomass (part 2): conversion technologies. Bioresource Technology 2002, 83, 47–54. [Google Scholar] [CrossRef] [PubMed]
  3. Bajwa, D.S.; Peterson, T.; Sharma, N.; Shojaeiarani, J.; Bajwa, S.G. A review of densified solid biomass for energy production. Renewable and Sustainable Energy Reviews 2018, 96, 296–305. [Google Scholar] [CrossRef]
  4. Ba, B.H.; Prins, C.; Prodhon, C. Models for optimization and performance evaluation of biomass supply chains: An Operations Research perspective. Renewable Energy 2016, 87, 977–989. [Google Scholar] [CrossRef]
  5. Rentizelas, A.A.; Tatsiopoulos, I.P.; Tolis, A. An optimization model for multi-biomass tri-generation energy supply. Biomass and Bioenergy 2009, 33, 223–233. [Google Scholar] [CrossRef]
  6. Kim, J.; Realff, M.J.; Lee, J.H.; Whittaker, C.; Furtner, L. Design of biomass processing network for biofuel production using an MILP model. Biomass and Bioenergy 2011, 35, 853–871. [Google Scholar] [CrossRef]
  7. Kalaitzidou, M.A.; Georgiadis, M.C.; Kopanos, G.M. A General Representation for the Modeling of Energy Supply Chains. In 26th European Symposium on Computer Aided Process Engineering; Kravanja, Z.; Bogataj, M., Eds.; Elsevier, 2016; Vol. 38, Computer Aided Chemical Engineering, pp. 781–786. [CrossRef]
  8. Sharma, B.; Ingalls, R.G.; Jones, C.L.; Khanchi, A. Biomass supply chain design and analysis: Basis, overview, modeling, challenges, and future. Renewable and Sustainable Energy Reviews 2013, 24, 608–627. [Google Scholar] [CrossRef]
  9. Martín, M.; Grossmann, I.E. Energy optimization of hydrogen production from lignocellulosic biomass. Computers & Chemical Engineering 2011, 35, 1798–1806. [Google Scholar] [CrossRef]
  10. Cao, Y.; Dhahad, H.A.; Hussen, H.M.; Anqi, A.E.; Farouk, N.; Issakhov, A. Development and tri-objective optimization of a novel biomass to power and hydrogen plant: A comparison of fueling with biomass gasification or biomass digestion. Energy 2022, 238, 122010. [Google Scholar] [CrossRef]
  11. Tilahun, F.B.; Bhandari, R.; Mamo, M. Design optimization of a hybrid solar-biomass plant to sustainably supply energy to industry: Methodology and case study. Energy 2021, 220, 119736. [Google Scholar] [CrossRef]
  12. Éles, A.; Halász, L.; Heckl, I.; Cabezas, H. Evaluation of the Energy Supply Options of a Manufacturing Plant by the Application of the P-Graph Framework. Energies 2019, 12. [Google Scholar] [CrossRef]
  13. Nemet, A.; Klemeš, J.J.; Duić, N.; Yan, J. Improving sustainability development in energy planning and optimisation. Applied Energy 2016, 184, 1241–1245. [Google Scholar] [CrossRef]
  14. Friedler, F.; Tarjan, K.; Huang, Y.W.; Fan, L.T. Graph-Theoretic Approach to Process Synthesis: Axioms and Theorems. Chemical Engineering Science 1992, 47, 1973–1988. [Google Scholar] [CrossRef]
  15. Friedler, F.; Tarjan, K.; Huang, Y.W.; Fan, L.T. Graph-Theoretic Approach to Process Synthesis: Polynomial Algorithm for the Maximal Structure Generation. Computers & Chemical Engineering 1993, 17, 929–942. [Google Scholar] [CrossRef]
  16. Friedler, F.; Varga, J.B.; Fan, L.T. Decision-Mapping: A tool for consistent and complete decisions in process synthesis. Chemical Engineering Science 1995, 50, 1755–1768. [Google Scholar] [CrossRef]
  17. Friedler, F.; Varga, B.J.; Fehér, E.; Fan, L.T. State of the Art in Global Optimization; Kluwer Academic Publishers: Dordrecht, 1996. [Google Scholar]
  18. Varga, V.; Heckl, I.; Friedler, F.; Fan, L.T. PNS Solutions: a P-Graph Based Programming Framework for Process Network Synthesis. Chemical Engineering Transactions 2010, 21, 1387–1392. [Google Scholar] [CrossRef]
  19. Friedler, F.; Ákos, O.; Losada, J.P. P-graphs for Process Systems Engineering, 1st ed.; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
  20. Cabezas, H.; Argoti, A.; Friedler, F.; Mizsey, P.; Pimentel, J. Design and engineering of sustainable process systems and supply chains by the P-graph framework. Environmental Progress & Sustainable Energy 2018, 37, 624–636. [Google Scholar] [CrossRef]
  21. Lam, H.L. Extended P-graph applications in supply chain and Process Network Synthesis. Current Opinion in Chemical Engineering 2013, 4, 475–486. [Google Scholar] [CrossRef]
  22. Vance, L.; Heckl, I.; Bertók, B.; Cabezas, H.; Friedler, F. Designing sustainable energy supply chains by the P-graph method for minimal cost, environmental burden, energy resources input. Journal of Cleaner Production 2015, 94, 144–154. [Google Scholar] [CrossRef]
  23. Lam, H.L.; Chong, K.H.; Tan, T.K.; Ponniah, G.D.; Tin, Y.T.; How, B.S. Debottlenecking of the Integrated Biomass Network with Sustainability Index. Chemical Engineering Transactions 2017, 61, 1615–1620. [Google Scholar] [CrossRef]
  24. Cabezas, H.; Heckl, I.; Bertók, B.; Friedler, F. Use the P-graph framework to design supply chains for sustainability. Chemical Engineering Progress 2015, 111, 41–47. [Google Scholar]
  25. Atkins, M.J.; Walmsley, T.G.; Ong, B.H.Y.; Walmsley, M.R.W.; Neale, J.R. Application of P-graph techniques for efficient use of wood processing residues in biorefineries. Chemical Engineering Transactions 2016, 52, 499–504. [Google Scholar] [CrossRef]
  26. How, B.S.; Hong, B.H.; Lam, H.L.; Friedler, F. Synthesis of multiple biomass corridor via decomposition approach: a P-graph application. Journal of Cleaner Production 2016, 130, 45–57. [Google Scholar] [CrossRef]
  27. Safder, U.; Lim, J.Y.; How, B.S.; Ifaei, P.; Heo, S.; Yoo, C. Optimal configuration and economic analysis of PRO-retrofitted industrial networks for sustainable energy production and material recovery considering uncertainties: Bioethanol and sugar mill case study. Renewable Energy 2022, 182, 797–816. [Google Scholar] [CrossRef]
  28. Lam, H.L.; Varbanov, P.S.; Klemeš, J.J. Optimisation of regional energy supply chains utilising renewables: P-graph approach. Computers & Chemical Engineering 2010, 34, 782–792. [Google Scholar] [CrossRef]
  29. Heckl, I.; Friedler, F.; Fan, L.T. Solution of separation-network synthesis problems by the P-graph methodology. Computers & Chemical Engineering 2010, 34, 700–706. [Google Scholar] [CrossRef]
  30. Bartos, A.; Bertók, B. Production line balancing by P-graphs. Optimization and Engineering 2020, 21, 567–584. [Google Scholar] [CrossRef]
  31. Aviso, K.B.; Chiu, A.S.F.; Demeterio, F.P.A.; Lucas, R.I.G.; Tseng, M.L.; Tan, R.R. Optimal human resource planning with P-graph for universities undergoing transition. Journal of Cleaner Production 2019, 224, 811–822. [Google Scholar] [CrossRef]
  32. Bertók, B.; Bartos, A. Algorithmic Process Synthesis and Optimisation for Multiple Time Periods Including Waste Treatment: Latest Developments in P-graph Studio Software. Chemical Engineering Transactions 2018, 70, 97–102. [Google Scholar] [CrossRef]
  33. Kalauz, K.; Süle, Z.; Bertók, B.; Friedler, F.; Fan, L.T. Extending Process-Network Synthesis Algorithms with Time Bounds for Supply Network Design. Chemical Engineering Transactions 2012, 29, 259–264. [Google Scholar] [CrossRef]
  34. Frits, M.; Bertók, B. Process Scheduling by Synthesizing Time Constrained Process-Networks. Computer Aided Chemical Engineering 2014, 33, 1345–1350. [Google Scholar] [CrossRef]
  35. Heckl, I.; Halász, L.; Szlama, A.; Cabezas, H.; Friedler, F. Modeling Multi-period Operations using the P-graph Methodology. Computer Aided Chemical Engineering 2014, 33, 979–984. [Google Scholar] [CrossRef]
  36. Éles, A.; Heckl, I.; Cabezas, H. Modeling technique in the P-Graph framework for operating units with flexible input ratios. Central European Journal of Operations Research 2021, 29, 463–489. [Google Scholar] [CrossRef]
  37. Szlama, A.; Heckl, I.; Cabezas, H. Optimal design of renewable energy systems with flexible inputs and outputs using the P-graph framework. AIChE Journal 2016, 62, 1143–1153. [Google Scholar] [CrossRef]
  38. Aviso, K.B.; Yu, K.D.; Lee, J.Y.; Tan, R.R. P-graph optimization of energy crisis response in Leontief systems with partial substitution. Cleaner Engineering and Technology 2022, 9, 100510. [Google Scholar] [CrossRef]
  39. Éles, A.; Heckl, I.; Cabezas, H. Modeling Renewable Energy Systems in Rural Areas with Flexible Operating Units. Chemical Engineering Transactions 2021, 88, 643–648. [Google Scholar] [CrossRef]
  40. Niemetz, N.; Kettl, K.H.; Szerencsits, M.; Narodoslawsky, M. , 1 ed.; InTech: Croatia, 2012; pp. 173–190.intercrops. In Biogas, 1 ed.; InTech: Croatia, 2012; InTech: Croatia, 2012; pp. 173–190. [Google Scholar]
Figure 1. Important locations, facilities, material and energy flows in the case study.
Figure 1. Important locations, facilities, material and energy flows in the case study.
Preprints 91148 g001
Figure 2. Simple operations modeled with one operating unit each having a single input.
Figure 2. Simple operations modeled with one operating unit each having a single input.
Preprints 91148 g002
Figure 3. Examples for an operating unit requiring another one (which represents an investment).
Figure 3. Examples for an operating unit requiring another one (which represents an investment).
Preprints 91148 g003
Figure 4. P-Graph model of a fermenter with flexible inputs, size k, identifier i, location l. The unlabeled operating units in the center are ConsFerm ¯ k , i , l , t for each biomass type t.
Figure 4. P-Graph model of a fermenter with flexible inputs, size k, identifier i, location l. The unlabeled operating units in the center are ConsFerm ¯ k , i , l , t for each biomass type t.
Preprints 91148 g004
Figure 5. Heat loss model.
Figure 5. Heat loss model.
Preprints 91148 g005
Table 1. The 8 input compositions for fermenters, with biomass availability (fresh matter).
Table 1. The 8 input compositions for fermenters, with biomass availability (fresh matter).
Biomass Available Mix1 Mix2 Mix3 Mix4 Mix5 Mix6 Mix7 Mix8
Manure 15,501 m3 30% 30% 50% 50% 75% 75% 75% 100%
Intercrops 5300 t 70% 50% 20% 25% 15%
Grass 2820 t 10% 10%
Corn silage 2418 t 70% 20% 25%
Table 2. Obtained values for R E Q k , t in MW/kW/FM and I N V k , t f in EUR/FM, where FM is fresh matter unit of biomass input (m3 for manure, metric ton for other types).
Table 2. Obtained values for R E Q k , t in MW/kW/FM and I N V k , t f in EUR/FM, where FM is fresh matter unit of biomass input (m3 for manure, metric ton for other types).
R E Q k , t I N V k , t f
Biomass (t) any k k = 80 kW k = 160 kW k = 250 kW k = 500 kW
Manure 0.0412 59.29 55.95 47.67 47.19
Intercrops 0.0353 187.12 152.03 122.09 103.17
Grass 0.0158 246.84 196.98 153.48 88.59
Corn silage 0.0416 267.47 210.54 178.78 134.87
Table 3. Comparison of optimal solutions using fixed or flexible inputs.
Table 3. Comparison of optimal solutions using fixed or flexible inputs.
Fixed inputs (second solution) Flexible inputs (third solution)
Fermenters 250 kW at L 1 , inputs: Mix4
250 kW at L 1 , inputs: Mix7
500 kW at L 1 , inputs: 39:31:17:13
80 kW at L 1 , inputs: 100:0:0:0
CHP plants 80 kW, at L 1
160 kW, 250 kW at the town
80 kW, at L 1
2× 250 kW, at the town
Capacities Fermenters at 98 % Full
Revenues electricity: 783510 EUR/y
heating: 93015 EUR/y
electricity: 927420 EUR/y
heating: 105300 EUR/y
Investments 2737360 EUR 2770220 EUR
Profit 233033 EUR/y 306711 EUR/y
Biomass use manure: 100 %, intercrops: 75 %
grass: 84 %, corn silage: 74 %
manure, intercrops, grass: 100 %
corn silage: 90 %
Model size 661 columns, 128 integers
16 are binary, solved in 3.9 s
301 columns, 56 integers
40 are binary, solved in 0.5 s
Table 4. Comparison of the initial model solutions with original and estimated data.
Table 4. Comparison of the initial model solutions with original and estimated data.
Initial MILP model data Fermenter heating Investment costs (total) Objective
Original (first) 70.36 MW 2715790 EUR 234544 EUR
Estimated (second) 71.81 MW 2737360 EUR 233033 EUR
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated