Professional Documents
Culture Documents
Faculty of Engineering
Renewable energy systems Engineering MSc
Table of Contents
List of figures: .................................................................................................................... 3
Introduction: ..................................................................................................................... 4
Aim: .................................................................................................................................. 4
Optimisation model: .......................................................................................................... 5
Profit: ................................................................................................................................ 6
Variables: .......................................................................................................................... 6
Parameters:....................................................................................................................... 6
Distances: .......................................................................................................................... 7
Scalars: .............................................................................................................................. 7
Cost: .................................................................................................................................. 8
Collection cost: .......................................................................................................................... 8
Cost of transportation: ............................................................................................................... 8
Storage cost: .............................................................................................................................. 8
Collection point constraint ....................................................................................................... 10
Storage capacity constraint ...................................................................................................... 10
Biorefinery constraint (1) ......................................................................................................... 10
Biorefinery constraint (2) ......................................................................................................... 10
Customer demand constraint ................................................................................................... 11
Results............................................................................................................................. 11
Scenario 1 by using technology 1 ............................................................................................. 11
Scenario 1 by using technology 1 and technology 2 .................................................................. 12
Scenario 2 by using technology 1 ............................................................................................. 14
Scenario 2 by using technology 1 and technology 2 .................................................................. 15
Conclusion: ...................................................................................................................... 16
References ....................................................................................................................... 17
List of tables:
Table 1:The following table represents the parameter, the availability of biomass at the
collection points, storage capacity at the three locations and the biorefineries capacity ....... 4
Table 2: Explanation of the set model ...................................................................................... 6
Table 3: The model parameters ............................................................................................... 7
Table 4: Distances between collection points (i) and storages (j) in miles. .............................. 7
Table 5: Distances between storages (j) and Biorefineries (k) in miles. ................................... 7
Table 6: The following table represents the scalars used in GAMS, their description and
values ....................................................................................................................................... 8
List of figures:
Figure 1: The total supply chain block diagram with distances between each location. ......... 5
Figure 2: Hessain matrix equation ............................................................................................ 9
Figure 3: finding the matrix definite by solving Eigenvalues (Surreylearn.surrey.ac.uk, 2019).
................................................................................................................................................ 10
Figure 4: Block diagram showing scenario 1 by using technology 1....................................... 11
figure 5: Block diagram showing scenario 1 by using technology 1 and technology 2………
Figure 6:Block diagram showing scenario 2 by using technology 1. ...................................... 14
Figure 7:Block diagram showing scenario 2 by using technology 1 and technology 2. .......... 15
Introduction:
A bio-fuel refining supply chain located in the United Kingdom consists of five collection
points of biomass, their locations are: Peterborough, King’s Lynn, Norwich, Ipswich and
Letchworth. The Wheat straw is used as the main source of raw material for producing
biofuel. Biofuel’s production mainly depends on Wheat straw as a source of raw material
Additionally, wheat straw costs £20 per tonne at the place of collection points. The wheat
straw is then transported from the collection points to the storage facilities located in
Thetford, Cambridge and Bury St. Edmunds, by using small trucks that charge £5 per mile
per tonne. Storing the wheat straw feedstock in all the storage locations is the same at a
rate of 5.25 per tonne. The biomass is then transported from the three storage facilities to
the biorefineries located in Cambridge and Colchester, by using large trucks at a cost of £2.5
per mile per tonne. The biorefinery in Cambridge uses technology 1 with a conversion rate
of biorefining of 30%. Meaning that every 1 tonne of wheat straw produces 0.3 tonne of
biofuel. On the other hand, the biorefinery in Colchester can use technology 1 or technology
2 with a conversion rate of 32%. The cost of biorefining process is £95 per tonne of biofuels
for both technologies and biofuel are sold at a price of £1025 per tonne.
Aim:
1. The aim of the first scenario is to analyse the percentage of utilisation of biomass in
the fields and storage capacity and maximizing the profit, by using the maximum
storage capacity in Cambridge of 50000 tonnes. Also, using the maximum capacity in
Colchester of 40000 tonnes if technology 1 is used or 35000 tonnes if technology
(1&2) is used.
2. The aim of the second scenario is to analyse the percentage of utilisation of biomass
in the fields, storage and bio-refinery capacities, if the customers demanded a total
of 28000 tonnes of biofuel.
Table 1:The following table represents the parameter, the availability of biomass at the
collection points, storage capacity at the three locations and the biorefineries capacity
Figure 1: The total supply chain block diagram with distances between each location.
The figure above, represents the total network of the bio refinery supply chain with all the
possible routes from the collection points to storages to biorefineries. The distances
between each location are stated above the route.
Profit:
The objective of the function is to maximise the profit. The profit can be calculated by
subtracting the revenue collected from selling the biofuel to the customers.
• The biorefinery is selling their biofuel at a price of 1025£ per tonne.
Revenue refers to the total sale price of the product multiplied be the quantity of product.
• Revenue= selling price * biofuel quantities sold to the customers
= 1025 * ∑ k,m (K,M).
Profit can be found by removing the total cost from the revenue.
• Profit= revenue – (Cost purchasing raw materials – Cost Bio-refining – Cost transportation – Cost storage)
Variables:
• (X I,j )= amount of wheat straw transferred from the collection point (i) to the
storage facilities (j) in tonnes.
• (Y j,k )= amount of wheat straw transferred from the storage facilities (j) to the
biorefineries (k) in tonnes.
• (Z k,m)= amount of Biofuel transferred from the biorefineries (k) to the customers (m)
in tonnes.
Table (2) shows the set used to outline the model. The location is stated with the set.
Parameters:
The parameters are identified as follows:
Þ The availability of biomass at different collection points, a(i).
Þ The maximum capacity of storing wheat straw at different locations, b(j).
Þ The maximum capacity of biorefineries, c(k).
Þ The customer’s need of biofuel, q(m).
The table below, represent the parameters description and the values of each parameter
measured in tonnes.
PARAMETERS DESCRIPTION
A(I) availability of wheat straw at different
collection points
B(J) capacity of storing wheat straw at different
locations
C(K) Biorefinery capacities
Q(M) customer’s need of biofuel
Distances:
The wheat straw and biofuel were transported from a location to another by using small
and large trucks. As the cost is per mile per tonnes, it’s very important to state the distances
in mileage covered between each location. Google maps were used to gather the distances
between each location. An assumption was made by taking the fastest route, which consists
of less mileage to ensure minimizing the cost.
Table 4: Distances between collection points (i) and storages (j) in miles.
CAMBRIDGE COLCHESTER
THETFORD 34.5 49.6
CAMBRIDGE 0.0 48.8
BURY ST. EDMUNDS 29.0 30.9
Scalars:
Scalar statement is used to identify a GAMS parameter of dimensionality zero. There are no
connected sets, only one number associated with the parameter.
The constants used in the model equation are called scalars, they are helpful for calculating
the best route.
Table 6: The following table represents the scalars used in GAMS, their description and
values
Cost:
It’s very important to state all the costs involved in the supply chain phases, to improve the
problem. The costs involved in this supple chain process are as follows: collection cost,
storage cost, biorefining cost and transportation cost. By using GAMS software, the costs for
each section are calculated to solve the problem. The method behind calculating the cost
will be demonstrated in the sections below.
Collection cost:
It’s the cost of buying wheat straw from the collection point, the given value is £20 per
tonne. The total collection cost can be calculated by multiplying £20 by the total amount of
wheat straw transported from the collection point to the storages.
𝐶𝐶 = 𝐵𝑚𝑎𝑠∑𝑖, 𝑗(𝑥, 𝑗)
Cost of transportation:
The cost of transportation from the collection point to the storages is £5 per mile per tonne
by using small trucks, and £2.5 from the storages to the Biorefineries per mile per tonne by
using large trucks.
𝑇𝐶 = [𝑣𝑎𝑛1∑𝑖, 𝑗𝑥(𝑖, 𝑗) ∗ 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒_1] + [𝑣𝑎𝑛2∑𝑗, 𝑘𝑦(𝑗, 𝑘) ∗ 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒_2]
Storage cost:
The storage cost is defined as the cost of storing biomass. The cost is minimized in all three
storages to ensure profit maximization. Minimized cost represents a complex relationship
between energy requirements (x1), operational cost related to labour and equipment (x2)
and repayment of capital investment (x3).
The same answer was obtained from GAMS software, the file is attached with the main
GAMS. But, in order to verify that the results we obtained is the minimum localiser, the
second derivative must be calculated by using Hessian matrix.
After finding the determinant, Eigen values must be calculated to ensure that the matrix is
positive. The storage cost can be confirmed as the local minimizer, if the matrix is positive.
B= 3*3 matrix, where (I) is the matrix identity and 𝜆 is the eigen value.
Figure 3: finding the matrix definite by solving Eigenvalues (Surreylearn.surrey.ac.uk, 2019).
So 𝜆 = 2, by proving that all Eigen values are positive, the storage cost is now confirmed to
be the minimum cost.
Constraints
constraints must be included when an optimisation model is constructed. Constraints are
mainly used to give a region of feasibility, in order to achieve the maximum value, the
model must run within these limits. In this case, the constraints are the availability of wheat
straw in the collection points, the maximum capacity of each storage and balancing the
distribution of wheat straw.
Results
Scenario 1 by using technology 1
All the following scenarios were solved by using CONOPT, which can solve linear and
nonlinear programming. It’s also known for its ability to self-tune.
The maximized profit by using GAMS software is £3,940,000. The equation to calculate the
profit is given below:
Figure 4 shows a graphical representation of the results by using GAMS software for
scenario 1 by using technology 1.
To verify the results of GAMS software, the values must be substituted in the profit
equation and the same answer must be obtained.
the figure below shows a graphical representation of the results by using GAMS software for
scenario 1 by using technology 1 and technology 2.
Figure 5: Block diagram showing scenario 1 by using technology 1 and technology 2.
By referring to figure (4), Peterborough did not contribute in the distribution of wheat straw
for the same reason mentioned in scenario 1 by using technology 1. King’s Lynn distribution
of wheat straw increased by 50% from 5000 tonnes to 10000 tonnes, when using
technology (1 and 2) when compared to using technology 1 only. King’s Lyon contributed
about 28.6% of its maximum capacity to transfer wheat straw from the collection points to
the storages. Norwich, Ipswich and Letchworth contributed to the same amounts as
scenario 1 using technology 1. The capacity of Thetford increased by 5000 tonnes when
compared to scenario 1 using technology 1, which represents 70% of its maximum capacity.
Whereas, Cambridge reached its maximum capacity of 20000 tonnes. Moreover, Bury St.
Edmunds received the same amount of wheat straw as the above scenario. The second part
of this supply chain, which represents the transportation from the storages to the
biorefineries. Cambridge biorefinery received 50000 tonnes which translates to the full
capacity that it can take. On the other hand, Colchester received 5000 tonnes more which
contributes to reaching the maximum capacity of raw materials.
Profit value obtained by GAMS can be verified when the wheat straw capacity values are
substituted in the profit equation.
By referring to the above figure, it shows that King’s Lynn transferred about 43% of its
maximum supply to Thetford due to the short distance between them when compared to
Cambridge and Bury St. Edmunds. The distance between Norwich and Cambridge is 64.5
miles, whereas, the distance between Norwich and Bury St. Edmunds is 43.6 miles. To
minimize the cost and maximize the profit, all Norwich supply was transferred to Thetford
due to the short distance of 30.8 miles between them. Ipswich transferred all of its supply to
Bury St. Edmunds. Moreover, Letchworth transferred 57.1% of its supply to Cambridge,
considering the closer distance between them. In comparison to both Thetford and Bury St.
Edmunds, where in accordance to figure 1, it appears to be further by around 23 miles.
Cambridge biorefinery reached its maximum capacity of 20000 tonnes. Furthermore,
Thetford and Bury St. Edmunds reached 80% and 75% of their maximum capacity
respectively.
GAMS answer can be verified by solving the mathematical equation, given below:
Profit3 =e3= [10000*182.25] + [25000*179.25] + [20000*162.25] + [30000*161.25] –
[30000*192.75] – [10000*155] – [20000*279] – [30000*201.75] = £3,667,500.
The same profit answer is obtained by solving the mathematical equation, GAMS profit
value is verified and trusted.
Scenario 2 by using technology 1 and technology 2
By using GAMS software, the optimized profit is £4,454,750. The following equation shows
how the profit was calculated.
According to figure (6), king’s Lynn transferred 10000 tonnes to Thetford which represents
28.6% of its supply. By using a mixture of technology 1 and 2 in this scenario, the supply
from King’s Lynn to Thetford decreased by 5000 tonnes, when compared to using
technology 1 only. Norwich, Ipswich and Letchworth transferred the same amount of supply
of about 100%, 85.7% and 57.1% of their maximum capacity. All wheat straw transferred to
the storages must be transferred to the biorefineries. Furthermore, Thetford, Cambridge
and Bury St. Edmunds stored 70%, 100% and 75% of their maximum capacity, respectively.
Moving to the last part of the supply chain, Cambridge and Colchester received 100% of
their maximum capacity.