Skip to content

Commit

Permalink
Clarify that also declaration equations of non-fixed parameter must b…
Browse files Browse the repository at this point in the history
…e acyclic
  • Loading branch information
henrikt-ma committed Nov 27, 2020
1 parent 310f5c4 commit 0196dad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chapters/classes.tex
Expand Up @@ -281,6 +281,10 @@ \subsection{Acyclic Bindings of Constants and Parameters}\label{acyclic-bindings
The unexpanded binding equations for parameters and constants in the translated model must be acyclic after flattening; except that cycles are allowed if the cycles disappear when evaluating parameters having annotation \lstinline!Evaluate = true! that are not part of the cycle.
Thus it is not possible to introduce equations for parameters by cyclic dependencies.

\begin{nonnormative}
There is no exception for parameters with \lstinline!fixed = false!, despite the fact that such parameters are generally allowed to be initialized from systems of dependent equations.
\end{nonnormative}

\begin{example}
\begin{lstlisting}[language=modelica]
constant Real p = 2 * q;
Expand Down

0 comments on commit 0196dad

Please sign in to comment.