You are on page 1of 1

1 function [sys, x0] = sf_bioc(timp,stari,u,flag)

2 %
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %% Fermentation bioreactor model
5 %% +++++ CONTINUous ++++++
6 %%
7 %% If you use this model please cite the following paper
8 %%
9 %% Z. K. Nagy, Model Based Control of a Fermentation Bioreactor using
10 %% Optimally Designed Artificial Neural Networks,
11 %% Chemical Engineering Journal, 127, 95-109, 2007.
12 %%
13 %% Copyright 2000-2007, Zoltan K. Nagy
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
16 % Constants
17
18 % Specific Ionic constants (l/g_ion)
19
20 HNa = -0.550;
21 HCa = -0.303;
22 HMg = -0.314;
23 HH = -0.774;
24 HCl = 0.844;
25 HCO3 = 0.485;
26 HHO = 0.941;
27
28 % Molecular masses (g/mol)
29
30 MNaCl = 58.5;
31 MCaCO3 = 90;
32 MMgCl2 = 95;
33 MNa = 23;
34 MCa = 40;
35 MMg = 24;
36 MCl = 35.5;
37 MCO3 = 60;
38
39 % Kinetic constants
40
41 % miu_X = 0.556; % [1/h]
42 miu_P = 1.790; % [1/h]
43 Ks = 1.030; % [g/l]
44 Ks1 = 1.680; % [g/l]
45 Kp = 0.139; % [g/l]
46 Kp1 = 0.070; % [g/l]
47 Rsx = 0.607;
48 Rsp = 0.435;
49 YO2 = 0.970; % [mg/mg]
50 KO2 = 8.86; % [mg/l]
51 miu_O2 = 0.5; % [1/h]
52 A1 = 9.5e8;
53 A2 = 2.55e33;
54 Ea1 = 55000; % J/mol
55 Ea2 = 220000; % J/mol
56 R = 8.31; % J/(mol.K)
57
58 % thermodynamic constants
59
60 Kla0 = 38; % [1/h]
61 KT = 100*3600; % [J/hm2K]
62 Vm = 50; % [l]
63 AT = 1; % [m2]
64 ro = 1080; % [g/l]
65 ccal = 4.18; % [J/gK]
66 roag = 1000; % [g/l]

You might also like