Skip to content

Commit

Permalink
Merge pull request #3619 from modelica/eshmoylova-evaluable-connect
Browse files Browse the repository at this point in the history
Update "parameter" to "evaluable" in connectors.tex
  • Loading branch information
HansOlsson authored Dec 4, 2024
2 parents a4ec2b9 + b546b95 commit c869c38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chapters/connectors.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ \section{Connect-Equations and Connectors}\label{connect-equations-and-connector
\lstinline!m.c!, where \lstinline!m! is a non-connector element in the class and \lstinline!c! is a connector element of \lstinline!m!.
\end{itemize}

There may optionally be array subscripts on any of the components; the array subscripts shall be parameter expressions or the special operator \lstinline!:!.
There may optionally be array subscripts on any of the components; the array subscripts shall be evaluable expressions or the special operator \lstinline!:!.
If the connect construct references array of connectors, the array dimensions must match, and each corresponding pair of elements from the arrays is connected as a pair of scalar connectors.

\begin{example}
Expand Down Expand Up @@ -556,9 +556,9 @@ \section{Restrictions of Connections and Connectors}\label{restrictions-of-conne

\begin{itemize}
\item
The \lstinline!connect!-equations (and the special functions for overdetermined connectors) can only be used in equations, and shall not be used inside \lstinline!if!-equations with conditions that are not parameter expressions, or in \lstinline!when!-equations.
The \lstinline!connect!-equations (and the special functions for overdetermined connectors) can only be used in equations, and shall not be used inside \lstinline!if!-equations with conditions that are not evaluable expressions, or in \lstinline!when!-equations.
\begin{nonnormative}
The \lstinline!for!-equations always have parameter expressions for the array expression.
The \lstinline!for!-equations always have evaluable expressions for the array expression.
\end{nonnormative}
\item
A connector component shall not be declared with the prefix \lstinline!parameter! or \lstinline!constant!.
Expand Down Expand Up @@ -607,7 +607,7 @@ \section{Restrictions of Connections and Connectors}\label{restrictions-of-conne
Otherwise the connection sets could contain redundant information breaking the equation count for locally balanced models and blocks.
\end{nonnormative}
\item
Subscripts in a connector reference shall be parameter expressions or the special operator \lstinline!:!.
Subscripts in a connector reference shall be evaluable expressions or the special operator \lstinline!:!.
\item
Constants or parameters in connected components yield the appropriate \lstinline!assert!-statements to check that they have the same value; connections are not generated.
\item
Expand Down Expand Up @@ -864,7 +864,7 @@ \subsection{Connection Graphs and Their Operators}\label{overconstrained-equatio
\begin{semantics}
The overdetermined type or record instance \lstinline!R! in connector instance \lstinline!a! is a \firstuse{potential root node}\index{root node!potential} in a virtual connection graph with priority \lstinline!p! ($p \geq 0$).
If no second argument is provided, the priority is zero.
\lstinline!p! shall be a parameter expression of type \lstinline!Integer!.
\lstinline!p! shall be an evaluable expression of type \lstinline!Integer!.
In a virtual connection subgraph without a \lstinline!Connections.root! definition, one of the potential roots with the lowest priority number is selected as root.

\begin{nonnormative}
Expand Down

0 comments on commit c869c38

Please sign in to comment.