%4.1

global t A hmax q1 q2 KV TS g l u h %globale variablen

%variable
t = 1;

%Max. Tankhöhe [m
hmax = 10;

%Tankflaeche [m²]
A = 7;

%Zufluss [m³/h]
q1(t) = 100;

%Abluss [m³/s]
q2(t) = 0;

%Leitwert Ventiel [m²] 
KV = 6.7e-3;

%Zeitkonstante Ventiel [s]
TS = 10;

%Erdbeschleunigung [m²/s]
g = 9.81;

%Sollwert Ventielöffnung [%]
u(t) = 0;

%Istwert Ventielöffnung [%]
l(t) = 0;

%Füllstand [m]
h(t) = 0;