From 385bed43af99535d97c7627cf82b6a184e193821 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Sun, 11 Oct 2020 22:52:06 +0200 Subject: [PATCH] Say 'applied to', not 'applied on' There are also situations where 'applied on' is correct, but I don't think we have any of these in the specification. --- chapters/equations.tex | 2 +- chapters/synchronous.tex | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chapters/equations.tex b/chapters/equations.tex index 1e6cf3d7e..86928e951 100644 --- a/chapters/equations.tex +++ b/chapters/equations.tex @@ -438,7 +438,7 @@ \subsection{reinit}\label{reinit} such a way that variables with an applied \lstinline!reinit! are selected as states at least when the corresponding when-clauses become active. If this is not possible, an error occurs, since otherwise -\lstinline!reinit! would be applied on a non-state variable. +\lstinline!reinit! would be applied to a non-state variable. Example for the usage of \lstinline!reinit! (bouncing ball): \begin{lstlisting}[language=modelica] diff --git a/chapters/synchronous.tex b/chapters/synchronous.tex index 1bf409ea0..8819e20f7 100644 --- a/chapters/synchronous.tex +++ b/chapters/synchronous.tex @@ -1182,7 +1182,7 @@ \subsection{Solver Methods}\label{solver-methods} \dot{x} &= f(x, u, t)\\ y &= g(x, u, t) \end{align*} -A solver method is applied on a subclock partition. Such a partition has +A solver method is applied to a subclock partition. Such a partition has explicit inputs $u$ marked by \lstinline!sample($u$)!, \lstinline!subSample($u$)!, \lstinline!superSample($u$)!, \lstinline!shiftSample($u$)! and/or \lstinline!backSample($u$)!. Furthermore, the outputs $y$ of @@ -1368,7 +1368,7 @@ \section{Initialization of Clocked Partitions}\label{initialization-of-clocked-p Clocked discrete-time variables cannot be used in initial equation or initial algorithm sections. \item - Attribute \lstinline!fixed! cannot be applied on clocked discrete-time + Attribute \lstinline!fixed! cannot be applied to clocked discrete-time variables. The attribute \lstinline!fixed! is true for variables to which \lstinline!previous! is applied, otherwise false. \end{itemize}