Professional Documents
Culture Documents
Background
Refinery Example
September 2, 2005
Outline
Background
Refinery Example
Background
Introduction
Problem Statement
Problem Formulation as a Linear System
Refinery Example
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Introduction
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Problem Statement
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Production Vectors
Definition
For each manufacturing facility Fi , the vector vi is the vector in
Rm whose j th entry is the amount of product Pj it can produce
per unit of raw material.
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Production Vectors
Definition
For each manufacturing facility Fi , the vector vi is the vector in
Rm whose j th entry is the amount of product Pj it can produce
per unit of raw material.
Example
Suppose that a particular facility produces 100 widgets, 300
spindles, and 533 brackets per unit of input. The production vector
would be as follows.
100
300
533
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Definition
The Target or Demand vector, b, is the vector in Rm whose j th
entry is the production target or demand for the j th product.
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Definition
The Target or Demand vector, b, is the vector in Rm whose j th
entry is the production target or demand for the j th product.
Example
Suppose that you wanted to produce 5000 widgets, 2000 spindles,
and 7299 brackets. The demand vector would be
5000
2000
7299
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
205
45
3007
550
MA 2071 A 05 Bill Farr
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Output Vector
Definition
The Output Vector from facility Fi is the vector whose j th entry
is the amount of product Pj produced from a given resource vector
x. Since xi is the number of units of input to facility Fi and vi is
the production vector for Fi , the output vector from facility Fi is
just
x i vi
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
To get the linear system, you just add up the outputs from each
facility and set the sum equal to the demand vector. This gives the
following.
x1 v1 + x2 v2 + . . . + xn vn = b
Outline
Background
Refinery Example
Introduction
Problem Statement
Problem Formulation as a Linear System
Outline
Background
Refinery Example
Refinery Example
Example
A small petroleum refining company has three refineries. Each
refinery starts with crude oil and produces three products: motor
oil, diesel fuel, and gasoline. A waste product, called parrafin, is
also produced. Given the demand for each of the products, you
want to determine the allocation of crude oil to each refinery.
Outline
Background
Refinery Example
Production Data
Example
The numbers in the table are gallons of product or waste produced
from each barrel of crude oil. (A barrel is a unit of measurement,
equal to 42 gallons, used mainly for historical reasons.)
Product
motor oil
diesel fuel
gasoline
paraffin
Refinery 1
15
10
5
3
Refinery 2
3
14
5
5
Refinery 3
3
5
12
2
Outline
Background
Refinery Example
Example
Suppose that the current daily demand from your distributor for
products is as follows.
1950 gallons of motor oil
3100 gallons of diesel fuel
5100 gallons of gasoline.
Outline
Background
Refinery Example
Linear System
Example
Using the entries from each column of the table for the three
products and the demand numbers from the previous slide, you get
the following linear system in augmented matrix form.
15 3 3 1950
10 14 5 3100
5 5 12 5100
Outline
Background
Refinery Example
Example
To solve for the crude oil inputs for each refinery, obtain the RREF
for the linear system on the previous slide.
1 0 0 169
4
0 1 0 215
4
0 0 1 385
The entries in the last column are the crude oil allocations for the
three refineries.
Outline
Background
Refinery Example