Skip to content

Commit

Permalink
Actual definition of discrete-time variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 2, 2021
1 parent 80f268a commit b6e3a48
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,14 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
\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.
\item
A \emph{discrete-time} variable \lstinline!vd! has a vanishing time derivative between events.
A \emph{discrete-time} variable \lstinline!vd! is a variable declared with the \lstinline!discrete!\indexinline{discrete} prefix, or a variable without any prefix that is not a continuous-time variable.
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, and it is not legal
to apply \lstinline!der! to discrete-time variables as they are not continuous. During transient analysis the variable
can only change its value at event
instants (see \cref{events-and-synchronization}).
to apply \lstinline!der! to discrete-time variables as they are not continuous.
During transient analysis the variable can only change its value at event instants (see \cref{events-and-synchronization}).
\item
A continuous-time variable is a \lstinline!Real! variable without any prefix that is not assigned in a \lstinline!when!-clause.
A \emph{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
Expand Down

0 comments on commit b6e3a48

Please sign in to comment.