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
最新资源
- API监控看板搭建:Prometheus+Grafana实时追踪DeepSeek调用指标.pdf
- Chatbox、CherryStudio集成DeepSeek:打造企业级智能对话系统的秘诀.pdf
- ChatGPT辅助开发:用AI自动生成DeepSeekAPI客户端代码的技巧.pdf
- API文档自动化生成术:Swagger集成DeepSeek的OpenAPI规范实践.pdf
- CUDA核心优化:DeepSeek与英伟达NIM平台的协同实践.pdf
- DeepSeek+Dify极速集成:3小时搭建企业级AI知识库.pdf
- DeepSeekAPI安全加固指南:防注入攻击与敏感数据过滤方案.pdf
- DeepSeekAPI调用全流程解析:从密钥获取到响应优化的10个关键步骤.pdf
- DeepSeekAPI调用全解析:从零搭建到高效集成的10个核心步骤.pdf
- DeepSeekAPI调用全解析:从注册到实战的10个必知技巧.pdf
- DeepSeekAPI高并发架构设计:从限流策略到分布式缓存方案.pdf
- DeepSeekAPI零基础到精通:Python、Go、Java多语言SDK配置全指南.pdf
- DeepSeekAPI限流破解指南:令牌桶算法与分布式缓存的最佳实践.pdf
- DeepSeek-V3模型架构解密:从训练框架到API接口的底层逻辑.pdf
- DeepSeekvsGPT-4:MoE架构在API吞吐量上的碾压优势.pdf
- DeepSeek多模态API开发指南:图文混合生成的技术实现路径.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


