function auswertung

clear all; close all; clc; % Aufräumen

%Reaktorinhalt
p.VR=5000; % entspricht 5m^3

%Reaktionsgeschw.
p.k1=30; % 30

%Gesamtvolumenstrom
p.FAzu=50; % entspricht 0,05m^3/s
p.FBzu=50;
p.Fab=100;

% Zulaufkonzentration
p.CAzu=1;
p.CBzu=2;
%p.CCzu=0;


x0 = 0;
t_span = [ 0 500 ];
ops = odeset;

[t,c] = ode45(@berechnung,t_span,x0,ops,p);


figure; 
plot(t,c,'b-');
grid on;
xlabel('Zeit');
ylabel('Füllhöhe');
titel ('Verlauf der Füllhöhe über die Zeit');
end



%c_0A=0; x_0B=0, C_0C=0;
%c_0=[c_0A c_0B c_0C]

%t_simu=[0 500]
%option=odeset
%[t,c] = ode45(@reaktion,t_span,x0,ops,p);
%c_a=c(:,1);
%c_B=c(:,2);
%c_C=c(:,3);


%figure; 
%plot(t,c,'b-');
%grid on;
%xlabel('Zeit');
%ylabel('konz in mol/l');
%legend ('Konz verlauf');