Six default media types implemented in the model and the H-S equations. In the equations h [L] is the hydraulic head, S [L3] is the storage, As[L2] is the surface/bottom area, ε and ns are matrix suction parameters for storage blocks under near dry condition (Brooks and Corey, 1964), se = (θ – θr/(θs − θr) is the effective saturation, n is the Van Genuchten soil retention parameter, Ss[1/L] is specific storage, z0 is the bottom elevation, h0 is the top elevation of the block, H() is the Heaviside function and pos(x) = H(x)x.