From 5dd1b571b72227e943ec15915176e1f6448a2d51 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Sat, 12 Dec 2020 00:55:57 +0100 Subject: [PATCH] Rename variables used in definitions of component variabilities --- chapters/classes.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chapters/classes.tex b/chapters/classes.tex index 43eb91d5f..b623718f1 100644 --- a/chapters/classes.tex +++ b/chapters/classes.tex @@ -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. @@ -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}). @@ -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.