Dynamic Simulation of a Non-isochoric & Non-isothermal CSTR

版本 1.1 (6.3 MB) 作者: Robby Ching
A simple dynamic simulation of a CSTR with varying volume and temperature conditions, solved both in the t & s domain (with simple controls)
205.0 次下载
更新时间 2021/8/31

查看许可证

A CSTR with two inlet streams and one outlet stream. A reaction of Acetic Acid and Ethanol to produce Ethyl acetate is occuring in the CSTR. It provides heat due to its reaction. 5 state equations were developed, with 4 input variables and 5 output variables. The t-domain solution is in the m files: 'cstr1.m' and 'plot_cstr1.m'. The 5 state equations were linearized using Jacobian function in the cstr1_linearized.m file, with an ode15s evaluation. The s-domain solution, where the parameters of the transfer functions come from the z matrix of coefficients from the cstr1_linearized.m file, is given in the simulink file 'cstr1_s_block.slx'. A simple feedback and a simple cascade control scheme is implemented in the system using the Ziegler-Nichols Manual Tuning Rules, found in 'cstr1_s_block_control.slx file'. Note that the transfer functions in both simulink files are just the same. The one in 'cstr1_s_block_control.slx' is only sub-grouped together. A documentation of the whole coding and illustration of the problem compliments the m and slx files.
This is now updated which includes 2 CSTRs in series.

引用格式

Robby Ching (2024). Dynamic Simulation of a Non-isochoric & Non-isothermal CSTR (https://www.mathworks.com/matlabcentral/fileexchange/89857-dynamic-simulation-of-a-non-isochoric-non-isothermal-cstr), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1

Now includes 2 CSTR's in series as an extension. It has a separate documentation.

1.0.0