Dynamic Simulation and Control of Chemical Processes - using MATLAB & Simulink

Home -> Lecture Notes -> MATLAB & Simulink


The following are some of the models that I have developed and solved using MATLAB & Simulink.

MATLAB - MATLAB for Chemical Engineering

Examples from Chemical Reaction Engineering
1 Solving simultaneous differential equations:
tworxns.m; tworxns.mat
2 Dynamics of Semibatch Reactor:
semibatch.m
3 Dynamics of CSTR:
cstrrxns.m; cstrrxns.mat
Examples from Chemical Engineering Thermodynamics
4 Using two dimensional interpolation function 'interp2' to find Compressibility Factor(Z) of a gas
Zvalue.m; CompressFactor.mat
5 Volume of Nonideal gases from Various equations of State:
assign1.m; pvt_data.mat; v_vander.m; v_redlich.m; Z.m; pvt_result.mat; pvt_result.dat
6 Bubble point & Dew point calculautions:
  • sat_pr_antoine.m - Vapor pressure from Antoine equation
  • sat_temp_antoine.m - Saturation temperature from Antoine equation
  • BUBL_P.m - Bubble point vapor composition and Pressure
  • BUBL_T.m - Bubble point vapor composition and Temperature
  • DEW_P.m - Dew point liquid composition and Pressure
  • DEW_T.m - Dew point liquid composition and Temperature

Simulink

View Snapshot Download Simulink .mdl file

Laplace Domain Dynamics:

Second order Transfer function - Step change in set point SecondOdrTransferFunction.mdl
Feedback control of two first order in series FeedbackControl.mdl
PID controller PID_Controller.mdl
PID controller - Step change in set point PID_StepChangeInSetPoint.mdl
PID controller - Step change in load - 1 PID_StepChangeInLoad_1.mdl
PID controller - Step change in load - 2 PID_StepChangeInLoad_2.mdl

Time Domain Dynamics:

Solution to First order ODE FirstOrderODE.mdl
Liquid level Dynamics LiquidLevelDynamics.mdl
Solution to Two first order Equations - 1 TwoFirstOrderODE_1.mdl
Solution to Two first order Equations - 2 TwoFirstOrderODE_2.mdl
Solution to Second order ODE - 1 SolutionToSecondOrderODE_1.mdl
Solution to Second order ODE - 2 SolutionToSecondOrderODE_2.mdl
Feedback Control of tank level TimeDomain_ControlofTankLevel.mdl
Impulse input to two non-interacting tanks in series TwoTanksInSeriesImpulseInput.mdl
Soltion to Simultaneous non-linear equations
Concentration of A, B, C & D in a CSTR NonLinearEquations.mdl
simult.mat - this is the data file having the rate constants and initial conditions.
Bubble point & Dew point Calculations
Vapor Pressure from Antoine Equation Constants VapPress.mdl
Saturation Temperature from Antoine Equation Constants Sat_Temp.mdl
Dew Pressure and Composition DEW_PX.mdl
Bubbl Pressure and Composition BUBL_PY.mdl

Instructions for using these files (for the beginners):



[Home]   [Lecture Notes]   [Solved Problems]   [GATE-CH Questions]   [Question Bank]   [Online Calculations]   [Other Useful Websites]

[About MSubbu]   [Books by MSubbu]   [MSubbu.Academy Online Courses]   [Our YouTube Channel]  


Last Modified on: 01-May-2024

Chemical Engineering Learning Resources - msubbu
e-mail: learn[AT]msubbu.academy
www.msubbu.in