Skip to content

Commit 0bdc139

Browse files
authored
Merge branch 'OpenSimHub:master' into feat/torqueEquation
2 parents d8e4569 + 60a1757 commit 0bdc139

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

OpenHPL/Waterway/Gate.mo

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ With
8787
<dt> $$ \\mu_A = \\frac{\\psi}{\\sqrt{1+\\frac{\\psi\\cdot a}{h_0}}} \\tag{8.23}$$ </dt>
8888
<dd>Contraction coefficient sluice gate (\\(\\alpha=90^\\circ\\))</dd>
8989
<dt> $$ \\psi_{90^\\circ}= \\frac{1}{1+0.64\\cdot \\sqrt{1-(a/h_0)^2}} \\tag{8.25}$$ </dt>
90-
<dd>Contraction coefficient radial gate (for \(a/h_0 \\rightarrow 0\))</dd>
90+
<dd>Contraction coefficient radial gate (for \\(a/h_0 \\rightarrow 0\\))</dd>
9191
<dt> $$ \\psi_0(\\alpha)= 1.3 -0.8\\cdot\\sqrt{1-\\left(\\frac{\\alpha -205^\\circ}{220^\\circ}\\right)^2} \\tag{8.25a}$$ </dt>
92-
<dd> The edge angle \(\\alpha\) of the gate </dd>
92+
<dd> The edge angle \\(\\alpha\\) of the gate </dd>
9393
<dt> $$ \\alpha = \\left( \\frac{\\pi}{2} - \\arcsin(\\frac{h_h-a}{r})\\right) \\cdot \\frac{180^\\circ}{\\pi} $$ </dt>
9494
</dl>
9595
<blockquote>
9696
With:
9797
<ul>
98-
<li> \(a \\ldots\) Vertical gate opening </li>
99-
<li> \(h_h \\ldots\) Height of the hinge above gate bottom</li>
100-
<li> \(r \\ldots\) Radius of the gate arm </li>
98+
<li> \\(a \\ldots\\) Vertical gate opening </li>
99+
<li> \\(h_h \\ldots\\) Height of the hinge above gate bottom</li>
100+
<li> \\(r \\ldots\\) Radius of the gate arm </li>
101101
</ul>
102102
</blockquote>
103103
@@ -149,12 +149,11 @@ With
149149
150150
<h5>Boundary between free and backed-up flow</h5>
151151
<p>
152-
The boundary of the height of the water level \(h_2\) behind the gate from which on the calculation switches to the backed-up flow (8.29) can be derived from:
152+
The boundary of the height of the water level \\(h_2\\) behind the gate from which on the calculation switches to the backed-up flow (8.29) can be derived from:
153153
154154
$$ \\frac{h_2^*}{a} = \\frac{\\psi}{2} \\cdot \\left( \\sqrt{ 1 + \\frac{16}{\\psi\\cdot\\left(1+\\frac{\\psi\\cdot a}{h_0}\\right)}\\cdot\\frac{h_0}{a}} - 1 \\right) \\tag{8.26}$$
155155
156-
So when \(\\frac{h_2}{a} \\geq \\frac{h_2^*}{a}\) then we have back-up flow.
156+
So when \\(\\frac{h_2}{a} \\geq \\frac{h_2^*}{a}\\) then we have back-up flow.
157157
</p>
158-
</html>",
159-
__OpenModelica_infoHeader = "<script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML\"></script>"));
158+
</html>"));
160159
end Gate;

OpenHPL/Waterway/Gate_HR.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,5 @@ $$Q = C_{dx} A \\sqrt{2gH} \\tag{3}$$
8888
<strong>Note:</strong>
8989
The use of <code>Cdx</code> is different to the implementaion as done in HEC-RAS. This was done in order to have a smoother transition from the partially to fully submerged region.
9090
</p>
91-
</html>",
92-
__OpenModelica_infoHeader = "<script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML\"></script>"));
91+
</html>"));
9392
end Gate_HR;

OpenHPL/package.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ package OpenHPL "Open-source hydropower library"
1414
consists of hydropower unit models and is modelled using Modelica.</p>
1515
<p>It is developed at the <a href=\"https://www.usn.no/english\">University of South-Eastern Norway (USN)</a>, Campus Porsgrunn. </p>
1616
<p>For more information see the <a href=\"modelica://OpenHPL.UsersGuide\">User's Guide</a>.</p>
17-
</html>"));
17+
</html>",
18+
__OpenModelica_infoHeader = "<script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML\"></script>"));
1819
end OpenHPL;

0 commit comments

Comments
 (0)