Refer to Figure 10.7–2. Assume that the resistances obey the linear relation, so that the mass flow ql through the left-hand resistance is ql = (pl – p)/Rl, with a similar linear relation for the right-hand resistance.
a. Create a Simulink subsystem block for this element.
b. Use the subsystem block to create a Simulink model of the system shown in Figure 10.7–5. Assume that the mass in flow rate is a step function.
c. Use the Simulink model to obtain plots of h1(t) and h2(t) for the following parameter values: A1 = 2 m2, A2 = 5 m2, R1 = 400 m-1 ∙ s-1
R2 = 600 m-1 ∙ s-1, ρ = 1000 kg/m3, qmi = 50 kg/s, h1(0) = 1.5 m, and h2(0) 0.5 m.
Figure 10.7–2