Consider the liquid-level system shown in Figure 10.7–1. The governing

Consider the liquid-level system shown in Figure 10.7–1. The governing equation based on conservation of mass is Equation (10.7–2). Suppose that the height h is controlled by using a relay to switch the input flow rate between the values 0 and 50 kg/s. The flow rate is switched on when the height is less than 4.5 m and is switched off when the height reaches 5.5 m. Create a Simulink model for this application using the values A = 2 m2, R = 400 m-1 s-1, ρ = 1000 kg/m3, and h(0) = 1 m. Obtain a plot of h(t).


Figure 10.7–1

 Imi Pa h R Ра Imo