

% Initialization for the Simulink file
% Tank_Sim.slx


R      = 0.5;     % Cylinder radius
A      = pi*R^2;  % Cylinder base area 
rho    = 1;       % Liquid densityo
hdes   = 1.00;    % Desired liquid height
hinit  = 0.75;    % Initial liquid height (initial state)
