Skip to content

Commit

Permalink
Merge pull request #2565 from modelica/henrikt-ma-patch-3
Browse files Browse the repository at this point in the history
Minor cleanup of listing for overdetermined connector example
  • Loading branch information
HansOlsson committed May 20, 2020
2 parents 10cf22a + 8ea23fd commit 4b272fd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chapters/connectors.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ \subsubsection{An Overdetermined Connector for Power Systems}\doublelabel{an-ove
function equalityConstraint
input AC_Angle theta1;
input AC_Angle theta2;
output Real residue[0] "No constraints"
output Real residue[0] "No constraints";
algorithm
/* make sure that theta1 and theta2 from joining edges are identical */
assert(abs(theta1 - theta2) < 1.e-10, "Consistent angles");
Expand All @@ -1031,8 +1031,7 @@ \subsubsection{An Overdetermined Connector for Power Systems}\doublelabel{an-ove
import Modelica.Units.SI;
AC_Angle theta;
SI.Voltage v[3] "Voltages resolved in AC_Angle frame";
flow SI.Current i[3] "Currents resolved in AC_Angle
frame";
flow SI.Current i[3] "Currents resolved in AC_Angle frame";
end AC_Plug;
\end{lstlisting}
The currents and voltages in the connector are defined relatively
Expand Down

0 comments on commit 4b272fd

Please sign in to comment.