Weight of the shell and the two 2:1 elliptical heads
function weight extends Modelica.Icons.Function; input Length_in d4 "Tank internal diameter"; input Length_in t3 "Tank thickness"; input Length_in l1 "Tank length accounting for the cylinder only"; input Density_lb_in rho1 "Density of the tank material"; output Mass_lb w1 "Tank weight"; end weight;