[go: up one dir, main page]

0% found this document useful (0 votes)
33 views11 pages

CAPS Lab Manual

The document lists 10 practical assignments related to computer aided design and synthesis for a chemical engineering course. The practicals involve using software like GAMS and Excel to solve optimization problems, develop Gantt charts, and analyze attainable regions and composite curves. They include linear programming, nonlinear programming, mixed integer programming, and transhipment models.

Uploaded by

samarthp552
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views11 pages

CAPS Lab Manual

The document lists 10 practical assignments related to computer aided design and synthesis for a chemical engineering course. The practicals involve using software like GAMS and Excel to solve optimization problems, develop Gantt charts, and analyze attainable regions and composite curves. They include linear programming, nonlinear programming, mixed integer programming, and transhipment models.

Uploaded by

samarthp552
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

G H PATEL COLLEGE OF ENGINEERING & TECHNOLOGY

CHEMICAL ENGINEERING DEPARTMENT

2170507: COMPUTER AIDED DESIGN & SYNTHESIS

List of Practical

Sr. No Practical
1. OPTIMIZATION PROBLEM USING GAMS
2. GAMS FORMULATION
3. GAMS FORMULATION
4. GANTT CHART USING EXCEL
5. GANTT CHART USING EXCEL
6. ATTAINABLE REGION USING EXCEL
7. HOFMANN- LOCKHART COMPOSITE CURVES USING EXCEL
8. HOFMANN- LOCKHART COMPOSITE CURVES USING EXCEL
9. GRAND COMPOSITE CURVES USING EXCEL
10. TRANSHIPMENT MODEL USING EXCEL

1
Prepared By : Vivaksha Patel
LAB 1

OPTIMIZATION PROBLEM USING GAMS


1. Lp problem maximizing of z=6*M1+4*M2+7*M3+5*M4; with given constraints as
6*M1+5*M2+3*M3+2*M4<100; 3*M1+4*M2+9*M3+2*M4<75; M1+2*M2+M3+2*M4<20.
2. Minimize nlp problem of f=(x-0.5)*(x-0.5)+(y-2.5)*(y-2.5); using constraints as x>0;y>0;y<2;
(x-2)*(x-2)+y*y<4
3. Minimize f of nlp problem f =4*x1*x1+5*x2*x2; Having constraint 2*x1+3*x2=6
4. Minimize nlp problem of f=(x1*x1-3)*(x1*x1-3) + (x2*x2-4)*(x2*x2-4); having constraints x1,
x2>0; 5-x1-x2>0; x1-x2-2.5<0
5. Minimize Z for Generation and BOD both,
Generation.. z =8*x1+32*x2+13*x3+20*x4;
BOD.. z =5000*x1+15000*x2+8000*x3+12000*x4; with constraints, 1.65*x1<17; 1.9*x2<5;
0.65*x3<10; 0.5*x4<7; 30*x1+40*x2<450; 25*x3+35*x4<600

2
Prepared By : Vivaksha Patel
LAB 2

GAMS FORMULATION
1. A company is manufacturing products Y and Z. One unit of products Y requires 4.8 minutes
of machining and 10 minutes of assembly time. The profit for product Y is 0.7 Rs per unit.
The product Z requires 6 minutes of machining time and 5 minutes of welding time for
manufacturing one unit. Profit for Z is Rs 0.9 per unit. The capacity of the machining dept.
available for these products is 1400 minutes per week. The welding dept. has an idle
capacity of 800 minutes/week and assembly dept. has 1800 minutes/week. Formulate the LP
model so as to maximize the profit.
2. A small scale industrialist produces four types of machine components M1, M2, M3, and M4
made of steel and brass. The amounts of steel and brass required for each component and
number of man-weeks of labour required to manufacture and assembly one unit of each
components is as follows:

M1 M2 M3 M4 Availability

Steel 6 5 3 2 100

Brass 3 4 9 2 75

Man-weeks 1 2 1 2 20

The industrialist's profit for on each unit of M1, M2, M3, and M4 is Rs 6, Rs 4, Rs 7 and Rs 5
respectively. How many of each type of machine components should he produce to
maximize his profit and how much is his profit?

3. A firm manufactures two items. It purchases casting which are then machined, bored and
then polished. Casting for item A and B cost Rs.3 and Rs.4 respectively and sold at Rs.6 and
Rs.7 each respectively. Running cost of three machines are Rs.20, Rs.14, & Rs.17.5 per hour
respectively. Capacities of the machines are :

Part - A Part – B

Machining capacity 25 / hr 40 / hr

Boring capacity 28 / hr 35 / hr

Polishing capacity 35 / hr 25 hr

4. Consider two different types of food stuff, say F1 and F2. Assume that these foodstuff contain
vitamins V1, V2, &V3 respectively .Minimum daily requirements of these vitamins are1 mg of
V1, 50 mg of V2 & 10 mg of V3. Suppose that the foodstuff F1 contain1mg of V1, 100 mg of V2
&10 mg of V3. Whereas foodstuff F2 contain 1 mg of V1,10 mg of V2 &100 mg of V3. Cost of
one unit of foodstuff F1 is Rs.1 and that of F2 is Rs.1.5. find the minimum cost diet that would
supply the body at least minimum requirements of each vitamin.

3
Prepared By : Vivaksha Patel
LAB 3

GAMS FORMULATION
1. Optimize the objective function with lp maximization of z=3*x1 - x2; with constraints 2*x1 + x2>2;
x1 + 3*x2<3; x2<4.

2. Optimize the objective function with lp maximization of 12*x1 + 15*x2 + 14*x3; with constraints -
1*x1 + x2 >0;-1*x1 + 2*x3<0; x1 + x2 + x3<100.

3. Optimize the objective function with lp maximization of


2.17*x2+32*x4+13.96*x6+20.6*x7+3.66*x8+4.5*x10; with constraints 1.65*x2<1700; 0.5*x4<780;
1.04*x6<5; 0.98*x7<80; 0.36*x8<10; 1.6*x10<100.

4. Optimize the function using maximization of 6*M1+4*M2+7*M3+5*M4; with constraints


6*M1+5*M2+3*M3+2*M4<100; 3*M1+4*M2+9*M3+2*M4<75; M1+2*M2+M3+2*M4<20.

5. Optimize the functions using function with lp minimization 3*x1+2*x2+2*x3; with constraints
5*x1+7*x2+4*x3<7; -4*x1+7*x2+4*x3<-2; 3*x1+4*x2-6*x3>29/7.

6. Optimize the function with lp minimization


x11+3*x12+2*x13+2*x21+4*x22+3*x23+3*x31+x32+2*x33; Using constraints
x11+x12+x13;x21+x22+x23; x31+x32+x33;x11+x21+x31;x12+x22+x32; x13+x23+x33 all constraints
are less than 1.

7. Optimize function with lp maximization


(0.03*Xa1)+(0.025*Xa2)+(0.035*Xb1)+(0.04*Xb2)+(0.05*Xc1)+(0.045*Xc2); with constraints Xa1 +
Xa2 + Xb1 + Xb2 + Xc1 + Xc2 = 10000; Xa1 + Xa2 > 4000; Xb1 + Xb2 < 3500; Xc1 + Xc2 <3500.

8. Optimize function with lp maximization for function 7*y1 + 4*y2 - 10*y3 + 3*y4 + 2*y5; for given
constraints 3*y1 + 6*y2 - 7*y3 + y4 + 4*y5 < 3; 5*y1 + y2 + 2*y3 - 2*y4 + 7*y5 <-2; 4*y1 + 3*y2 + y3
+ 5*y4 - 2*y5 <4.

9. Optimize the function for mixed nonlinear program (minlp) 75*(x1*x1) + 6*(x2*x2) + 3*(x3*x3) +
33*(x4*x4); for constraints 774*x1 + 76*(x2*x2) + 22*(x3*x3) +42*(x4*x4) <875; 67*(x1*x1) + 27*x2
+ 79*x3 + 53*x4<875.

10. Optimize the function of mixed integer where x1 is positive variable, x2 is integer and x3 is binary
variable x1+ x2+ x3; using constraints x1 - 2*x2 >7;X1 + 20*x3 > 9.

11. Optimize the function where, free variable z; positive variables x1,x2; integer variable
x3;functional variable z is X1*X1 + X2*X2 + X3*X3; constraints provided is 4*X1 + X2*X2 + 2*X3=14.
This is a mixed integral non liner program for maximizing z.

12. Optimize for minlp maximization of free variable z; where, integer variables x1,x2,xn;and
function being x1*x2*xn ; with constraints x1 + x2 +xn= 1.

4
Prepared By : Vivaksha Patel
13. Optimize for minlp minimization of free variable z; where, integer variables x1,x2; binary variable
X3; Objective function being 4*x1*x1+ 2*x2*x2 +x3*x3 -4*x1*x2 ; constraints are x1 + x2 +x3=15;
and 2*x1 -x2 +2*x3=20

14. Run the following syntax of GAMS and find out whether its a lp, nlp, minlp, milp problem and
what is the maximized or minimized value.

A) variable z;
positive variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10;
equations obj,a3,a5,a7,a8,a9,a11;
obj..z=e=2.17*x2+32*x4+13.96*x6+20.6*x7+3.66*x8+4.5*x10;
a3.. 1.65*x2=l=1700;
a5.. 0.5*x4=l=780;
a7.. 1.04*x6=l=5;
a8.. 0.98*x7=l=80;
a9.. 0.36*x8=l=10;
a11.. 1.6*x10=l=100;
B) positive variable x1
integer variable x2;
binary variable x3;
variable obj;
equations objf , a1, a2;
objf.. 7*x1-3*x2-10*x3 =e= obj;
a1.. x1-2*x2 =l=0;
a2.. x1-20*x3 =l=0;

5
Prepared By : Vivaksha Patel
LAB 4

GANTT CHART USING EXCEL


Develop a Gantt Chart in which the different tasks are Independent of each other and also
dependent of each other.

Sr. No Time Duration Sr. No Time Duration


1. 2 6 1. 1 1
2 3 5 2 2 3
3 4 3 3 5 2
4 5 1 4 7 1
5 6 2 5 8 3
6 7 7 6 11 2
7 8 4 7 13 5
8 9 1 8 18 2
9 10 3 9 20 1
10 11 2 10 21 2

Activity Predecessor Duration


A - 2
B A 3
C B 5
D C 8

Hold
Sr. No Time Duration cycle
time
1. 2 6 1 6
2 8 5 2 5
3 13 3 4 3
4 16 1 6 1
5 17 2 5 2
6 19 7 0 7
7 26 4 3 4
8 30 1 6 1
9 31 3 4 3
10 34 2 5 2

6
Prepared By : Vivaksha Patel
LAB 5

GANTT CHART USING EXCEL


A batch process requires the following operation to be completed in sequence: 3hrs of
mixing, 5hrs of heating, 4hrs of reaction, 7hrs of purification & 2 hrs of transfer. When the
five operations are carried out in vessel U1, U2, U3, U4 & U5 respectively. Determine the
cycle time & construct a Gantt chart corresponding to Zero Wait, Intermediate storage &
Unlimited storage inventory strategies.

7
Prepared By : Vivaksha Patel
LAB 6 Attainable region Using Excel

LAB 7

HOFMANN- LOCKHART COMPOSITE CURVES USING EXCEL


 Draw Composite curve HCC
 Find out Pinch Point
 Find out Minimum Utility Requirements
Stream FCp Tin Tout
C1 7.62 60 160
C2 6.08 116 260
H1 8.79 160 93
H2 10.55 249 138

Stream FCp Tin Tout


H1 15 430 340
C1 7 310 395
C2 32 370 460

8
Prepared By : Vivaksha Patel
LAB 8

HOFMANN- LOCKHART COMPOSITE CURVES USING EXCEL


 Draw Composite curve HCC
 Find out Pinch Point
 Find out Minimum Utility Requirements

Stream FCp Tin Tout


H1 5 450 325
H2 10 400 375
C1 8 310 350
C2 15 370 460

Stream FCp Tin Tout


C1 3 60 180
C2 2.6 30 105
H1 2 180 40
H2 4 150 40

9
Prepared By : Vivaksha Patel
LAB 9

GRAND COMPOSITE CURVES USING EXCEL


 Draw Composite curve GCC
 Find out Pinch Point
 Find out Minimum Utility Requirements

Stream FCp Tin Tout


C1 7.62 60 160
C2 6.08 116 260
H1 8.79 160 93
H2 10.55 249 138

Stream FCp Tin Tout


H1 15 430 340
C1 7 310 395
C2 32 370 460

Stream FCp Tin Tout


H1 5 450 325
H2 10 400 375
C1 8 310 350
C2 15 370 460

Stream FCp Tin Tout


C1 3 60 180
C2 2.6 30 105
H1 2 180 40
H2 4 150 40

10
Prepared By : Vivaksha Patel
LAB 10

TRANSHIPMENT MODEL USING EXCEL


 Write the LP Model
 Develop Transhipment Model

Stream FCp Tin Tout


C1 7.62 60 160
C2 6.08 116 260
H1 8.79 160 93
H2 10.55 249 138

Stream FCp Tin Tout


H1 15 430 340
C1 7 310 395
C2 32 370 460

Stream FCp Tin Tout


C1 3 60 180
C2 2.6 30 105
H1 2 180 40
H2 4 150 40

11
Prepared By : Vivaksha Patel

You might also like