Вы находитесь на странице: 1из 11

BTE 4225 Computer Simulations of Biological Systems

CHEMOSTAT FERMENTATION
Assoc. Prof. Dr. Ibrahim Ali Noorbatcha Department of Biotechnology Engineering Faculty of Engineering, IIUM

Chemostat Fermentation (CHEMO) System A continuous fermenter, as shown in Fig. 1, is referred to as a chemostat. At steady state the specific growth rate () becomes equal to the dilution rate, = D. Operation is possible at flow rates (F) which give dilution rates (D = F/V) below the maximum specific growth rate (m). Washout of the organisms will occur when D > . The start-up, steady state and washout phenomena can be investigated by dynamic simulation.

Chemostat with model variables

Matlab code for Chemostat runchemo.m

function runchemo %written by Dr. Ibrahim, IIUM global d1; d1=0.25; % Dilution rate, 1/h chemo

d1=0.5; % Dilution rate, 1/h chemo


d1=1.0; % Dilution rate, 1/h chemo

% ------------------------------------------ continued

Matlab code for chemostat - continued


function chemo %written by Dr. Ibrahim, IIUM global d1; %Continuous fermentation model - Ref: Dunn et al. p.199- 203 %Chemostat fermentation tspan = [0 20]; % run the simulation for 20 hrs. %Initial conditions % y0(1) = x0 kg/m3 - initial biomass inoculum % y0(2) = s0 kg/m3 - initial substrate conc. % y0(3) = p0 kg/m3 - initial product concentration x0=0.01; s0=10; p0=0; y0 = [x0; s0; p0]; % Solve the problem using ode45 [t,C]= ode45(@f,tspan,y0);

hold on; subplot(2,1,1); plot(t,C(:,1),'--',t,C(:,3),':','LineWidth',2) grid off legend('biomass(X)','Product(P)') xlabel('time(hour)') ylabel('Conc. (kg/m3)') title('X and P vs time during continuos fermentation - chemostat') hold on; subplot(2,1,2);plot(t,C(:,2),'-.','LineWidth',2) grid off legend('Substrate(S)') xlabel('time(hour)') ylabel('Conc. (kg/m3)') title('S vs time during continuous fermentation-chemostat') hold on;

function dydt = f(t,y) global d1; %written by Dr. Ibrahim, IIUM % Define constants um=0.3; %1/h - maximum growth rate ks=0.1; %kg/m3 - Saturation constant k1=0.03; %kgP/KgX h - non-growth associated rate coefficient k2=0.08; % kgP/kgX h - coefficient associate with growth yxs=0.8; % kgX/kgS - biomass-substrate yield coefficient sf=10; % Feed concentration, kg/m3 tstart=5; % Start time for the feed
%y(1) = x; % y(2) = s; % y(3) = p x = y(1); s = y(2); p = y(3); %conditional equation for d, dilution rate % if time is >= tstart, then dilution begin, otherwise zero if (t >= tstart) d=d1; else d=0; end;

% kinetics u = um.*s/(ks+s); % Monod equation rx = u.*x; % biomass rate equation, kg/m3 h rs = -rx./yxs; % substrate rate equation, kg/m3 h rp = (k1+k2.*u)*x; % product rate equation, kg/m3 h %mass balances xdot = -d.*x+rx; % biomass balance equation sdot = d.*(sf-s) + rs; % substrate balance equation pdot = -d.*p+rp; % product balance equation dydt = [ xdot; sdot; pdot ];

Results after simulation for d=0.25, 0.5 and 1.0

Вам также может понравиться