Skip to content

Commit

Permalink
Minor cleanup of listing for overdetermined connector example
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed May 20, 2020
1 parent 0f11faa commit 8ea23fd
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 8ea23fd

Please sign in to comment.