PenSim v2.0 User's Guide
Cenk Undey, Gulnur Birol and Ali Cinar
Process Modeling, Monitoring and Control Research Group
Department of Chemical and Environmental Engineering
Illinois Institute of Technology
All rights reserved. Copyright (c) 1998-2002
http://www.chee.iit.edu/~control/software.html
Contact: cinar@iit.edu
------------------------------------------------
Thank you for using Pensim (Fed-batch Penicillin production simulator)...
This is a Windows(95/98/NT/2000) based stand-alone application.
Original program is written in Matlab 6.0 and compiled into C along with Matlab Graphics Library.
CAUTION: There are no hard restrictions on the input variables and the kinetic
parameters in this simulator although ranges of various inputs and parameters are
suggested. Hence, there is no guarantee that physically meaningful outputs will be
obtained depending on the choice of the initial conditions and parameters. For
this reason, one has to be careful about the interpretation of the results.
How to use the program:
-----------------------
1. Double-click pensimv20.exe file or its desktop icon to start the program
2. You will be asked to enter Simulation time in hours. We have assumed that
the end point of the fermentation is around 400 h under default conditions.
3. Then you should enter Sampling time in hours. To get better results as far as
the controller outputs, use small values like 0.02 h.
4. Now you will start entering initial conditions. (Range for acceptable
performance is given below.)
You can specify your own values by choosing 1 in
'Enter initial conditions (type 1) / Defaults (Hit Enter)'
Substrate conc. (g/L): 5-50 g/L
DO conc. (mmole/L): 1.16 mmole/L (saturation value)
Biomass conc. (g/L): 0-0.2
Penicillin conc. (g/L): 0
Culture volume (L):100-200
CO2 conc. (mmole/L):0.5-1.0
pH: 4-6
Temperature (K):298-300
Generated heat (cal): 0 (This is 0 all the times initially so you won't be
asked to enter)
You can use defaults that are
Y0=[15.0 1.16 0.1 0 100 0.5 5 298 0];
by hitting the 'Enter' key.
5. You will be now asked to enter Set points.
'Enter set points (type 3) / Defaults (Hit Enter): '
Enter 3 for your values that are
Aeration rate (L/h): 3-10
Agitator power (W): 20-50
Substrate feed rate (L/h): 0.035-0.045
Substrate feed temperature (K): 296-298
pH set point: 5-6
Temperature set point (K): 298-300
Hit Enter for defaults being inputs=[8.6 30 0.042 296 5 298];(Same order as
the list above)
6. You will specify PID controller setting for temperature
'Enter temperature controller settings (type 5) / Defaults (Hit Enter): '
Enter 5 for your values that are
Open loop / Closed loop: (0 / 1) {You can turn the controller off by
choosing 0)
In this simulator we have designed the system assuming we have a coil type
(heating/cooling) control element.
(Depending upon the operational needs this controller switches to heating
PID/cooling PID controller. Although a fair tuning is performed for
'cooling', 'heating' PID needs to be fine-tuned. Therefore assuming
the initial fermenter temperature is equal or higher then the temperature
set point will lead us better results. In other words we assumed that before
starting the fermentation we preheat the medium to temperature set point
Controller gain for cooling:
Integral constant for cooling (h):
Derivative constant for cooling (h):
Controller gain for heating:
Integral constant for heating (h):
Derivative constant for heating (h):
Hit Enter for default controller settings
tempcont=[70 0.5 1.6 5 0.8 0.05]; (Same order as the list above)
7. We have designed two types of controllers for pH. On-off or PID. So, you
must specify it when asked
'Choose controller type for pH (On-Off / PID) (0 / 1)'.
If you choose 0 or 1 (On-Off/PID) you will be asked to enter set point gap
for acid flow
'Set point gap for acid flow (Default=0.05): '
If you choose 1 (PID) you will be asked if
'Open loop / Closed loop: (0 / 1)'. Follow the same logic as in temperature
controller.
We control pH by adding acid or base. There are two PID controllers
interswitchable for this purpose acid flow PID/base flow PID.
'Enter pH PID controller settings (type 7) / Defaults (Hit Enter): '
Set point gap for acid flow (Default=0.05):
Controller gain for acid flow:
Integral constant for acid flow (h):
Derivative constant for acid flow (h):
Controller gain for base flow:
Integral constant for base flow (h):
Derivative constant for base flow (h):
Hit Enter for default controller settings
phcont=[0.0001 8.4 0.125 0.0008 4.2 0.2625 0.05]; (Same order as the list
above except pH set point gap for acid flow as a last entry).
8. We have included this option for you to specify simulation conditions in
terms of faulty/normal operation simulations. So you can choose 9 to enter
this mode when asked
'Enter simulation conditions (type 9) / Defaults (Hit Enter): '.
If you hit Enter for defaults simulation will run under normal operation.
9. When you choose to specify simulation conditions you will be asked to select
between
'Faulty operation / Normal operation: (0 / 1) [Default=1] '.
Choosing 0 (faulty mode) will require you to define the following
information on the fault,
'Variable no. that the fault to be introduced (1,2 or 3):'
For this version of the Pensim only the first three variables (Aeration
rate, agitator power and substrate feed rate) can be disturbed in a way that
one at a time.
There are two types of disturbances we considered: Step and Ramp.
'Fault type (Step:1, Ramp:0):'
If you choose Step (1) you are now required to enter magnitude of this
change. This must be given as +/- percent of set point. For example, you can
introduce a 10 % step decrease by specifying this value when asked
'Fault magnitude for step (+/- % of set point):'
You should enter -10 for this fault. If you choose Ramp (0) you must enter
+/- slope of the change when asked
'Fault magnitude for ramp (+/- slope)'.
You are then asked to specify the times in hours that you want the faults to
be introduced.
'Fault introduction time (h):'
'Fault termination time (h):'
10. You may choose the group of variables to plot or plot all of the variables.
11. Finally, if you want Pensim to write the simulation results into a text
file, choose 1 when asked
'Do you want to write simulation results into a text file? [Yes (1) / No
(0)]:'
to specify the file name. Note that you must type the full file name in
single quotes (' ') such as 'mydata.txt'.
If you don't give a name for the data file and simply hit Enter a file name
of 'output.txt' will be automatically assigned as the output data file
name.
Currently, we are working on a more user-friendly GUI. It will appear on
our web site...
A simpler version of this simulator can also be found on the following web
site as a server-based application:
http://www.chee.iit.edu/~control/PenSim/v1.0/
Enjoy using Pensim.
Pensim Development Team
Illinois I
南瓜风槐
- 粉丝: 2
- 资源: 4
最新资源
- YOLOv8 使用 DeepSORT 对象跟踪进行分割(ID + 轨迹).zip
- YOLOv5系列多主干(TPH-YOLOv5、Ghostnet、ShuffleNetv2、Mobilenetv3Small、EfficientNetLite、PP-LCNet、SwinTran.zip
- STM32小实验:使用双轴摇杆控制舵机云台
- Yolov5+SlowFast基于PytorchVideo的实时动作检测.zip
- YOLOv5 的 TensorFlow.js 示例.zip
- YOLOv5 的 PyTorch 实现.zip
- yolov5 的 LibTorch 推理实现.zip
- 基于Python旅游数据可视化分析.zip
- YOLOv5 的 FastAPI 包装器.zip
- YOLOv5 对象跟踪 + 检测 + 对象模糊 + 使用 OpenCV、PyTorch 和 Streamlit 的 Streamlit 仪表板.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈