Skip to content

Commit

Permalink
Rename variables used in definitions of component variabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 11, 2020
1 parent e74a90f commit 5dd1b57
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
A variable \lstinline!vc! declared with \lstinline!constant! prefix remains constant during transient analysis, with a value that is unaffected by the initialization problem (i.e., determined during translation).
\item
% TODO: Add "structural parameter" and "evaluated parameter" to index.
A variable \lstinline!vc! is called a \firstuse{structural parameter} if all of the following applies:
A variable \lstinline!vs! is called a \firstuse{structural parameter} if all of the following applies:
\begin{itemize}
\item
It is declared with the \lstinline!parameter! prefix.
Expand All @@ -312,9 +312,9 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
\item
It does not have annotation \lstinline!Evaluate = false!.
\item
The expression of its declaration equation does not depend on \lstinline!vc! itself, neither directly nor via cyclic dependency on other parameters.
To satisfy this condition, dependencies shall be removed as needed by applying simplifications based on values of constants (except with \lstinline!Evaluate = false!) and all other structural parameters that don't depend on \lstinline!vc!.
That the value of a structural parameter is used for these simplifications does not mean that it has to be determined during translation, but if \lstinline!vc! is found to be a structural parameter, then a Modelica tool will be able to break all cycles involving \lstinline!vc! by making some (possibly none or all) of the other structural parameters determined during translation.
The expression of its declaration equation does not depend on \lstinline!vs! itself, neither directly nor via cyclic dependency on other parameters.
To satisfy this condition, dependencies shall be removed as needed by applying simplifications based on values of constants (except with \lstinline!Evaluate = false!) and all other structural parameters that don't depend on \lstinline!vs!.
That the value of a structural parameter is used for these simplifications does not mean that it has to be determined during translation, but if \lstinline!vs! is found to be a structural parameter, then a Modelica tool will be able to break all cycles involving \lstinline!vs! by making some (possibly none or all) of the other structural parameters determined during translation.
(Note that certain uses of a parameter requires it to be a structural parameter, thereby forcing these simplifications to be made.)
\item
The declaration equation is given by a structural expression (\cref{structural-expressions}).
Expand All @@ -323,7 +323,7 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
At which of these stages the value is determined is tool dependent.
\item
% TODO: Add "normal parameter" to index.
A variable \lstinline!vc! declared with the \lstinline!parameter! prefix, is called a \firstuse{normal parameter} unless it is a structural parameter.
A variable \lstinline!vp! declared with the \lstinline!parameter! prefix, is called a \firstuse{normal parameter} unless it is a structural parameter.
It remains constant during transient analysis, with a value determined by the initialization problem.
\item
A \emph{discrete-time} variable \lstinline!vd! has a vanishing time derivative between events.
Expand Down

0 comments on commit 5dd1b57

Please sign in to comment.