Lab Manual
Lab Manual
Lab Report on
Experiment No. 2
Submitted by
Anjali Bharti (2200430510002)
THEORY:
MATLAB plays a significant role in process modeling and
simulation in chemical engineering by providing a versatile platform for solving
complex engineering problems. Its computational capabilities allow engineers
to design, simulate, and optimize chemical processes efficiently. Here's how
MATLAB proves useful:
1. Modeling Complex Systems: MATLAB handles complex mathematical
models, such as mass and energy balances, using tools like Simulink for
dynamic simulations.
2. Solving Differential Equations: Engineers use MATLAB’s ODE and PDE
solvers to solve differential equations governing chemical reactions, fluid flow,
and heat transfer.
3.Process Simulation: MATLAB simulates both steady-state and dynamic
behavior of processes, enabling engineers to analyze reactors, distillation
columns, heat exchangers, and other equipment.
4. Optimization and Control: MATLAB’s optimization toolbox is used to fine-
tune processes for cost efficiency, while control system design is achieved using
feedback and feedforward strategies.
5. Data Analysis and Visualization: MATLAB simplifies the analysis of process
data and helps visualize trends, performance metrics, and system responses with
its advanced plotting functions.
MATLAB Code:
RUN ON MATLAB:
OUTPUT:
Plug Flow Reactor (PFR)
Problem-2: Model the concentration profile in a PFR where the feed
concentration is 1 mol/L, the reaction is first-order with rate constant k=0.5 per
second, and the flow rate is Q=1 L/s.
Solution:
Discretize the reactor along its length.
Use a material balance on each small segment to calculate the
concentration change along the reactor.
MATLAB Code:
RUN ON MATLAB:
OUTPUT:
MATLAB Code:
RUN ON MATLAB:
OUTPUT:
Liquid-Liquid Extraction
Problem-4: Simulate the concentration change of a solute between two
immiscible liquids in a counter-current liquid-liquid extraction process. The
partition coefficient between the two phases is K=2.
Solution:
Apply mass balance equations for each stage of the extraction process.
Use the stage-wise approach for modeling.
MATLAB Code:
RUN ON MATLAB:
OUTPUT:
MATLAB Code:
RUN ON MATLAB:
OUTPUT:
REFERENCES
https://matlab.mathworks.com/
https://msubbu.in/ln/ctrl/index.html
https://in.mathworks.com/solutions/chemical-engineering.html
https://ocw.mit.edu/courses/10-450-process-dynamics-operations-and-control-
spring-2006