Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Nov 15, 2021
1 parent 8a4442b commit 3328937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/classes.tex
Expand Up @@ -353,10 +353,10 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
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}\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 \firstuse{continuous-time variable}\index{continuous-time!variable}\index{component variability!continuous-time} 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 (provided \lstinline!der(vn)! is allowed this can be expressed as \lstinline!der(vn) <> 0!) and may also change its value discontinuously at any time during transient analysis (see \cref{events-and-synchronization}).
It may also contain a combination of these effects.
Note that \lstinline!der(vn)! is not allowed if there are any discontinuities, see \cref{modelica:der}.
Regarding existence of \lstinline!der(vn)!, see \cref{modelica:der}.
\end{itemize}

Components declared as \lstinline!constant! shall have an associated declaration equation with a constant expression, if the constant is directly in the simulation model, or used in the simulation model.
Expand Down

0 comments on commit 3328937

Please sign in to comment.