diff --git a/OpenHPL/Waterway/Gate.mo b/OpenHPL/Waterway/Gate.mo index 6158430..56443d1 100644 --- a/OpenHPL/Waterway/Gate.mo +++ b/OpenHPL/Waterway/Gate.mo @@ -27,7 +27,7 @@ model Gate "Model of a sluice or tainter gate based on [Bollrich2019]" equation mu_A = psi/sqrt(1+psi*a/h_0); if sluice then - psi = 1 / (1+ 0.64 * sqrt(1-(a/h_0)^2)); + psi = 1 / (1+ 0.64 * sqrt(1-(a/h_0)^2)) "Sluice gate, i.e. alpha = 90 deg"; else psi = 1.3 - 0.8 * sqrt(1 - ((to_deg(alpha)-205)/220)^2) "Normally only valid for a/h_0 --> 0"; end if; @@ -79,7 +79,9 @@ With