Skip to content

Commit

Permalink
Reorder in increasing order of variability
Browse files Browse the repository at this point in the history
Rules should generally be presented in this order, as the lower variabilities are included in the higher ones.
  • Loading branch information
henrikt-ma committed Jun 22, 2021
1 parent 6eb4952 commit 388081a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chapters/equations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ \section{Events and Synchronization}\label{events-and-synchronization}
verification already at compile time.
\end{nonnormative}


\section{Initialization, initial equation, and initial algorithm}\label{initialization-initial-equation-and-initial-algorithm}

Before any operation is carried out with a Modelica model (e.g., simulation or linearization), initialization takes place to assign consistent values for all variables present in the model.
Expand Down Expand Up @@ -772,11 +773,11 @@ \section{Initialization, initial equation, and initial algorithm}\label{initiali
Implicitly by using the \lstinline!start!-attribute for variables with \lstinline!fixed = true!. With \lstinline!start! given by \lstinline!startExpression!:
\begin{itemize}
\item
For a non-discrete-time \lstinline!Real! variable \lstinline!vc!, the equation \lstinline!vc = startExpression! is added to the initialization equations.
For a variable declared as \lstinline!constant! or \lstinline!parameter!, no equation is added to the initialization equations.
\item
For a discrete-time variable \lstinline!vd!, the equation \lstinline!pre(vd) = startExpression! is added to the initialization equations.
\item
For a variable declared as \lstinline!constant! or \lstinline!parameter!, no equation is added to the initialization equations.
For a non-discrete-time \lstinline!Real! variable \lstinline!vc!, the equation \lstinline!vc = startExpression! is added to the initialization equations.
\end{itemize}
\end{enumerate}

Expand Down

0 comments on commit 388081a

Please sign in to comment.