Skip to content

Commit

Permalink
Refine index entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Nov 9, 2021
1 parent 1868f7e commit 09a3f21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -337,23 +337,23 @@ \subsection{Acyclic Bindings of Constants and Parameters}\label{acyclic-bindings

\subsection{Component Variability Prefixes discrete, parameter, constant}\label{component-variability-prefixes-discrete-parameter-constant}

The prefixes \lstinline!discrete!, \lstinline!parameter!, \lstinline!constant! of a component declaration are called \firstuse{variability prefixes}\index{variability!prefix}\index{declared variability}\index{variability!declared|see{declared variability}} and define in which situation the variable values of a component are initialized (see \cref{events-and-synchronization} and \cref{initialization-initial-equation-and-initial-algorithm}) and when they are changed in transient analysis (= solution of initial value problem of the hybrid DAE):
The prefixes \lstinline!discrete!, \lstinline!parameter!, \lstinline!constant! of a component declaration are called \firstuse{variability prefixes}\index{variability!prefix}\index{component variability}\index{declared variability}\index{variability!declared|see{declared variability}} and define in which situation the variable values of a component are initialized (see \cref{events-and-synchronization} and \cref{initialization-initial-equation-and-initial-algorithm}) and when they are changed in transient analysis (= solution of initial value problem of the hybrid DAE):
\begin{itemize}
\item
A variable \lstinline!vc! declared with \lstinline!constant!\indexinline{constant} prefix remains constant during transient analysis, with a value that is unaffected by the initialization problem.
This is called a \firstuse{constant}, or \firstuse{constant variable}\index{constant variable}\index{component variability!constant}.
This is called a \firstuse{constant}, or \firstuse{constant!variable}\index{constant!variable}\index{component variability!constant}.
\item
A variable \lstinline!vc! declared with the \lstinline!parameter!\indexinline{parameter} prefix remains constant during transient analysis, with a value determined by the initialization problem.
This is called a \firstuse{parameter}, or \firstuse{parameter variable}\index{parameter variable}\index{component variability!parameter}.
This is called a \firstuse{parameter}, or \firstuse{parameter!variable}\index{parameter!variable}\index{component variability!parameter}.
\item
A \emph{discrete-time} variable \lstinline!vd! is a variable that is discrete-valued (that is, not of \lstinline!Real! type) or assigned in a \lstinline!when!-clause.
A \emph{discrete-time}\index{discrete-time!variable}\index{component variability!discrete-time} variable \lstinline!vd! is a variable that is discrete-valued (that is, not of \lstinline!Real! type) or assigned in a \lstinline!when!-clause.
The \lstinline!discrete!\indexinline{discrete} prefix may be used to clarify that a variable is discrete-time.
It has a vanishing time derivative between events.
Note that this is not the same as saying that \lstinline!der(vd)=0! almost everywhere, as the derivative is not even defined at the events.
It is not allowed to apply \lstinline!der! to discrete-time variables.
During transient analysis the variable can only change its value at event instants (see \cref{events-and-synchronization}).
\item
A \emph{continuous-time} variable is a \lstinline!Real! variable without any prefix that is not assigned in a \lstinline!when!-clause.
A \emph{continuous-time}\index{continuous-time!variable}\index{component variability!continuous-time} variable is a \lstinline!Real! variable without any prefix that is not assigned in a \lstinline!when!-clause.
A continuous-time variable \lstinline!vn! may have a non-vanishing time derivative (\lstinline!der(vn)<>0! possible) and may also change its value discontinuously at any time during transient analysis (see \cref{events-and-synchronization}).
If there are any discontinuities the variable is not differentiable.
\end{itemize}
Expand Down
6 changes: 3 additions & 3 deletions chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ \section{Variability of Expressions}\label{variability-of-expressions}

\subsection{Constant Expressions}\label{constant-expressions}

Constant expressions\index{constant expression}\index{expression variability!constant} are:
Constant expressions\index{constant!expression}\index{expression variability!constant} are:
\begin{itemize}
\item
\lstinline!Real!, \lstinline!Integer!, \lstinline!Boolean!, \lstinline!String!, and \lstinline!enumeration! literals.
Expand All @@ -1407,7 +1407,7 @@ \subsection{Constant Expressions}\label{constant-expressions}

\subsection{Parameter Expressions}\label{parameter-expressions}

Parameter expressions\index{parameter expression}\index{expression variability!parameter}\index{parametric variability|see{parameter expression}} are:
Parameter expressions\index{parameter!expression}\index{expression variability!parameter}\index{parametric variability|see{parameter, expression}} are:
\begin{itemize}
\item
Constant expressions.
Expand Down Expand Up @@ -1437,7 +1437,7 @@ \subsection{Parameter Expressions}\label{parameter-expressions}

\subsection{Discrete-Time Expressions}\label{discrete-time-expressions}

Discrete-time expressions\index{discrete-time expression}\index{expression variability!discrete-time} are:
Discrete-time expressions\index{discrete-time!expression}\index{expression variability!discrete-time} are:
\begin{itemize}
\item
Parameter expressions.
Expand Down

0 comments on commit 09a3f21

Please sign in to comment.