Difference between revisions of "Double Tank"

From mintOC
Jump to: navigation, search
(Created page with "The two states of the system correspond to the fluid levels of an upper and a lower tank. The output of the upper tank flows into the lower tank, the output of the lower tank...")
 
Line 3: Line 3:
 
tank exits the system, and the flow into the upper tank is restricted to either 1[lt/s]
 
tank exits the system, and the flow into the upper tank is restricted to either 1[lt/s]
 
or 2[lt/s].  The dynamics in each mode are then derived using Torricelli’s law, as
 
or 2[lt/s].  The dynamics in each mode are then derived using Torricelli’s law, as
shown in Table 5.1. The objective of the optimization is to have the fluid level in the
+
shown in Table xxx. The objective of the optimization is to have the fluid level in the
lower tank equal to 3[m], as reflected in the cost function in Table 5.2
+
lower tank equal to 3[m], as reflected in the cost function in xxx
 +
== Mathematical formulation ==
 +
 
 +
<math>
 +
\begin{array}{ll}
 +
\displaystyle \min_{\sigma} &  \displaystyle \int_{0}^{T}2(x_2-3)^2 \quad \text{d}t \\[1.5ex]
 +
\mbox{s.t.} &  \displaystyle \dot{x}_1(t) = c_{\sigma(t)}-\sqrt{x_1(t)} \\
 +
&  \displaystyle \dot{x}_2(t) = \sqrt{x_2(t)}-\sqrt{x_2(t)}  \\ [1.5ex]
 +
&  \displaystyle t \in \left[t_0,t_N\right] \\
 +
&  \displaystyle u(t) \in \left[698.15/748.15,1\right]\\
 +
&  \displaystyle T=10\\
 +
\end{array}
 +
</math>

Revision as of 17:00, 9 December 2015

The two states of the system correspond to the fluid levels of an upper and a lower tank. The output of the upper tank flows into the lower tank, the output of the lower tank exits the system, and the flow into the upper tank is restricted to either 1[lt/s] or 2[lt/s]. The dynamics in each mode are then derived using Torricelli’s law, as shown in Table xxx. The objective of the optimization is to have the fluid level in the lower tank equal to 3[m], as reflected in the cost function in xxx

Mathematical formulation


\begin{array}{ll}
 \displaystyle \min_{\sigma} &  \displaystyle \int_{0}^{T}2(x_2-3)^2 \quad \text{d}t \\[1.5ex]
 \mbox{s.t.} &  \displaystyle \dot{x}_1(t) = c_{\sigma(t)}-\sqrt{x_1(t)} \\
 &  \displaystyle \dot{x}_2(t) = \sqrt{x_2(t)}-\sqrt{x_2(t)}  \\ [1.5ex]
 &  \displaystyle t \in \left[t_0,t_N\right] \\
 &  \displaystyle u(t) \in \left[698.15/748.15,1\right]\\
 &  \displaystyle T=10\\
\end{array}