Workshop 01 - Introduction To Process Optimization in Excel® PDF
Workshop 01 - Introduction To Process Optimization in Excel® PDF
Optimization in Excel®
• 3 Exams
– Theoretical
– Practical
• Bonuses
• No activities to the e-mail
• 30% of the whole course
Using mathematical
expressions, develop a
Specify the objective valid process or
Make a list of the
function in terms of the equipment model that
variables and
variables defined in the relates the input-output
parameters
first step variables of the process.
(Get the number of
degrees of freedom)
If the problem
Check the answers, and Apply a suitable formulation is too large
examine the sensitivity optimization technique in scope:
of the result to changes to the mathematical Break it up into
in the models and statement of the manageable parts or
assumptions problem Simplify the objective
function and model
𝑁𝐹 = 𝑁𝑣 − 𝑁𝐸
𝑁𝐹 = 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚
𝑁𝑣 = 𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒𝑠 𝑖𝑛𝑣𝑜𝑙𝑣𝑒𝑑 𝑖𝑛 𝑡𝑒 𝑝𝑟𝑜𝑏𝑙𝑒𝑚
𝑁𝐸 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛𝑠 (𝑖𝑛𝑐𝑙𝑢𝑑𝑖𝑛𝑔 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛𝑠)
Optimization
NLP
Mixed Integer
(Continuous)
MINLP
Differentiable Nondifferentiable
MILP
Convex Nonconvex
IP
LP QP
Mixed Integer
MINLP MILP IP
𝑚𝑖𝑛𝑥,𝑦 𝑓 𝑥, 𝑦
𝑠. 𝑡. 𝑥, 𝑦 = 0
𝑔 𝑥, 𝑦 ≤ 0
𝑥 ∈ 𝑅𝑛 , 𝑦 ∈ *0,1+𝑡
NLP
(Continuous)
Differentiable Nondifferentiable
Convex Nonconvex
LP QP 𝑚𝑖𝑛𝑥∈𝑅𝑛 𝑓 𝑥
𝑠. 𝑡. 𝑥, 𝑦 = 0
𝑔 𝑥, 𝑦 ≤ 0
Exchanger Number
1 2 3 4
A 94 1 54 68
Stream
B 74 10 88 82
C 73 88 8 76
D 11 74 81 21
Sets:
𝑆 = *𝐴, 𝐵, 𝐶, 𝐷+: Streams, index 𝑖
𝐸 = *1,2,3,4+: Heat exchangers, index 𝑗
Parameters and scalars:
𝐶𝑖,𝑗 : Cost of assigning stream 𝑖 to heat
exchanger 𝑗, [$]
Variables:
𝑥𝑖,𝑗 ∈ 0,1 : 1 if the stream 𝑖 is assigned to heat
exchanger 𝑗, 0 otherwise, [-]
𝑇: Total operation cost, [$]
Constraints:
Eq1. Just one stream must be assigned to each heat exchanger, [-]:
4
𝑖=1 𝑥𝑖,𝑗 = 1, ∀𝑗 ∈ 𝐸
Eq2. Just one heat exchanger must be assigned to each stream, [-]:
4
𝑗=1 𝑥𝑖,𝑗 = 1, ∀𝑖 ∈ 𝑆
Eq3. Variable nature:
𝑥𝑖,𝑗 ∈ 0,1
Objective function
Minimize the whole operation cost, [$]
4 4
Parcial 1. 2013-10
Department of Chemical Engineering / Process Optimization Workshop / IQUI – 3042
MICROSOFT OFFICE EXCEL®
Bonus 1.2
Bonus 1.2
In the “Optibeer” brewery are four different kinds of beers: light,
lager, ale and premium. Each kind of beer uses different amounts of
the four main components of beer: water, malt, hops and yeast. Each
kind of beer has a different utility in dollars.
Maximize the revenue of the “Optibeer” brewery based on the fact
that each raw material has certain availability.
Required amount of component in each beer (lb/L)
Light Lager Ale Premium Availability (lb)
Water 7 6 5 4 Unlimited
Malt 1 1 0 3 50
Hops 2 1 2 1 150
Yeast 1 1 1 4 80
Utility ($/L) 6 5 3 7
Adapted from Reference [4]
Department of Chemical Engineering / Process Optimization Workshop / IQUI – 3042
REFERENCES