23-Chem-A6 Process Dynamics and Control · May 2013
Question 1 of 8: Two Non-Interacting Tanks in Series
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams / EGBC — May 2013 — 04-Chem-A6 Process Dynamics & Control. Three-hour open-book examination; any non-communicating calculator is permitted. Eight problems are printed and any five constitute a complete paper (each worth 20%); all eight are solved below for completeness. Most parts are quantitative (modelling, transfer functions, step/pulse responses, Routh, Nyquist/Bode and IMC design); qualitative sketches are drawn as real figures where the paper asks for them.
Reference texts: D. E. Seborg, T. F. Edgar, D. A. Mellichamp & F. J. Doyle III, Process Dynamics and Control (4th ed., Wiley) — Laplace-domain modelling, transfer functions, feedback stability, frequency response and IMC design; G. Stephanopoulos, Chemical Process Control: An Introduction to Theory and Practice (Prentice Hall) — Routh test, Nyquist criterion, Bode stability and dead-time systems; D. R. Coughanowr & S. E. LeBlanc, Process Systems Analysis and Control (3rd ed., McGraw-Hill) — first-order tank dynamics, step/pulse response and block-diagram algebra. Standard control conventions (deviation variables, unity valve/sensor gains unless stated) are used throughout.
Problem 1: Two Non-Interacting Tanks in Series (20%)
Find. (a) the two governing ODEs; (b) the transfer functions $H_1/Q_{in}$ and $H_2/Q_{in}$.
Problem 1 layout: constant inlet $q_{in}=10$ to tank 1 (level $h_1$), a pump delivering the manipulated flow $q_1$ into tank 2 (level $h_2$), which drains through a valve $R$ as $q_2=\tfrac12\sqrt{h_2}$. The pump makes tank 1 a pure integrator and isolates tank 2 from $q_{in}$.
Approach. Write a volumetric balance on each tank; recognise that the pumped outflow $q_1$ makes tank 1 a pure integrator (non-self-regulating), linearise the square-root valve on tank 2, and then trace which inputs actually reach each level to obtain the transfer functions.
Volumetric balance on tank 1. With constant area, accumulation equals inflow minus outflow: $A\,\dfrac{dh_1}{dt}=q_{in}-q_1$. Since $A=1$, $$\boxed{\dfrac{dh_1}{dt}=q_{in}-q_1}$$ Because $q_1$ is delivered by a pump it does not depend on $h_1$, so tank 1 has no self-regulation — it is a pure integrator.
Volumetric balance on tank 2. The hydrostatic head gives $\Delta P=\rho g h_2$, so the valve law is $q_2=\tfrac12\sqrt{\Delta P/(\rho g)}=\tfrac12\sqrt{h_2}$. The balance is $A\,\dfrac{dh_2}{dt}=q_1-q_2$, i.e. $$\boxed{\dfrac{dh_2}{dt}=q_1-\tfrac12\sqrt{h_2}}$$ This tank is self-regulating (outflow rises with level), but non-linearly.
Steady state and linearisation of tank 2. At steady state $dh_1/dt=0\Rightarrow q_{1s}=q_{in}=10$, and $dh_2/dt=0\Rightarrow q_{2s}=q_{1s}=10$. Then $\tfrac12\sqrt{h_{2s}}=10\Rightarrow h_{2s}=400\ \mathrm{m}$. Linearising $q_2=\tfrac12\sqrt{h_2}$ about $h_{2s}$: $\left.\dfrac{dq_2}{dh_2}\right|_{s}=\dfrac{0.25}{\sqrt{h_{2s}}}=\dfrac{0.25}{20}=0.0125\equiv\dfrac{1}{R_2}$, so the effective resistance is $R_2=80$ and the time constant $\tau_2=A R_2=\boxed{80\ \mathrm{s}}$.
Transfer function $H_1/Q_{in}$. Laplace-transform step 1 in deviation variables (holding the manipulated $q_1$ for this input): $A s\,H_1(s)=Q_{in}(s)$, hence $$\boxed{\dfrac{H_1(s)}{Q_{in}(s)}=\dfrac{1}{A s}=\dfrac{1}{s}}$$ a pure integrator (no steady-state gain — a level offset persists, the signature of a pumped-out tank).
Transfer function $H_2/Q_{in}$. Linearised tank 2 gives $\dfrac{H_2(s)}{Q_1(s)}=\dfrac{R_2}{\tau_2 s+1}=\dfrac{80}{80s+1}$. However, $q_{in}$ enters only tank 1, and tank 1’s outflow $q_1$ is fixed independently by the pump — there is no causal path from $q_{in}$ to $h_2$. Therefore $$\boxed{\dfrac{H_2(s)}{Q_{in}(s)}=0}$$ The pump decouples the two tanks: $q_{in}$ moves $h_1$ only, while $h_2$ responds solely to the manipulated variable $q_1$.
Result
Expression
Tank 1 ODE
$dh_1/dt=q_{in}-q_1$
Tank 2 ODE
$dh_2/dt=q_1-\tfrac12\sqrt{h_2}$
Tank 2 steady level / resistance
$h_{2s}=400\ \mathrm{m},\ R_2=\tau_2=80$
$H_1(s)/Q_{in}(s)$
$\mathbf{1/s}$ (integrator)
$H_2(s)/Q_{in}(s)$
$\mathbf{0}$ (pump decouples)
$H_2(s)/Q_1(s)$
$80/(80s+1)$
Check — the "trap" in part (b)
Asking for $H_2/q_{in}$ is a deliberate check: because $q_1$ is a pump-set manipulated variable (not $h_1/R_1$ as in a gravity cascade), disturbances in $q_{in}$ never propagate to tank 2. The physically meaningful dynamic relation for tank 2 is $H_2/Q_1=80/(80s+1)$, given above so the answer is complete either way the grader intends the question.