Skip to content

Commit

Permalink
Avoid 'allows to' (#2685)
Browse files Browse the repository at this point in the history
* Avoid 'allows to'
Closes #2380
  • Loading branch information
HansOlsson committed Oct 12, 2020
1 parent 794e835 commit d3aadcc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ \subsection{Version Date and Build Information}\label{version-date-and-build-inf
\item
\lstinline!revisionId! is a tool specific revision identifier
possibly generated by a source code management system (e.g.\ Subversion
or CVS). This information allows to exactly identify the library
or CVS). This information exactly identifies the library
source code in the source code management system.
\end{itemize}

Expand Down
4 changes: 2 additions & 2 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ \subsection{Component Variability Prefixes discrete, parameter, constant}\label{
constant variables. Additionally, the parameter prefix allows a
convenient graphical user interface in an experiment environment, to
support quick changes of the most important constants of a compiled
model. In combination with an if-clause, a parameter prefix allows to
remove parts of a model before the symbolic processing of a model takes
model. In combination with an if-clause, a parameter prefix allows
removing parts of a model before the symbolic processing of a model takes
place in order to avoid variable causalities in the model (similar to
\lstinline!#ifdef! in C). Class parameters can be sometimes used as an alternative.

Expand Down
4 changes: 2 additions & 2 deletions chapters/dae.tex
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ \chapter{Modelica DAE Representation}\label{modelica-dae-representation}
the relations changes its value an event is triggered, i.e., the exact
time instant of the change is determined and the integration is
halted. As discussed in \cref{events-and-synchronization}, relations which depend only on
time are usually treated in a special way, because this allows to
determine the time instant of the next event in advance.
time are usually treated in a special way, because this allows
determining the time instant of the next event in advance.
\item
At an event instant, \eqref{eq:hydrid-dae} is a mixed set of algebraic equations which
is solved for the Real, Boolean and Integer unknowns.
Expand Down
2 changes: 1 addition & 1 deletion chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ \section{Record Constructor Functions}\label{record-constructor-functions}
is found in the global scope, and thus cannot be modified.

\begin{nonnormative}
This allows to construct an instance of a record, with an
This allows constructing an instance of a record, with an
optional modification, at all places where a function call is allowed.

Examples:
Expand Down
4 changes: 2 additions & 2 deletions chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ \subsubsection{spatialDistribution}\label{spatialdistribution}
solver.
\end{nonnormative}

\lstinline!spatialDistribution! allows to approximate efficiently the solution of the infinite-dimensional problem
\lstinline!spatialDistribution! allows the infinite-dimensional problem below to be solved efficiently with good accuracy
\begin{align*}
\frac{\partial z(y,t)}{\partial t}+v(t)\frac{\partial z(y,t)}{\partial y} &= 0.0\\
z(0.0, t) &= \mathrm{in}_0(t) \text{ if $v\ge 0$}\\
Expand Down Expand Up @@ -841,7 +841,7 @@ \subsubsection{spatialDistribution}\label{spatialdistribution}
z(y+\int_{t}^{t+\beta} v(\alpha) \mathrm{d}\alpha, t+\beta) = z(y, t),\quad\text{for all $\beta$ as long as staying inside the domain}
\end{equation*}

This allows to directly compute the solution based on interpolating the
This allows the direct computation of the solution based on interpolating the
boundary conditions.

\lstinline!spatialDistribution! can be described in terms of the pseudo-code given as a block:
Expand Down
10 changes: 5 additions & 5 deletions chapters/revisions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1265,8 +1265,8 @@ \subsection{Contributors to the Modelica Language, Version 3.2}\label{contributo
and demonstrated its use on a vehicle dynamics example. Utilizing the
prototype implementation, Francesco Casella demonstrated with a model of
a thermal power plant with 390 iteration variables of the initialization
problem, that an appropriate usage of the homotopy operator allows to
reliably initialize the system without providing guess values for the
problem, that an appropriate usage of the homotopy operator allows the
system to reliably initialized without providing guess values for the
iteration variables. This was a strong indication that the homotopy
operator will indeed improve initialization in Modelica significantly.

Expand Down Expand Up @@ -1426,13 +1426,13 @@ \subsection{Main changes in Modelica 3.1}\label{main-changes-in-modelica-3-1}
URIs can be used for links in html-documentation and for the Bitmap
annotation (such as: \filename{modelica://Modelica.Mechanics/C.jpg} for image
\filename{C.jpg} that is stored in the directory of package
\lstinline!Modelica.Mechanics!). This allows to store resources in a package on
\lstinline!Modelica.Mechanics!). This allows storing resources in a package on
persistent storage and to reference resources via package and resource
names.
\item
\emph{Annotation} \lstinline!connectorSizing! to automatically enlarge a
vector of connectors and connect to a free element of this vector when
a connection line is drawn. This allows to improve the user
a connection line is drawn. This allows improving the user
convenience, especially for state machine and fluid models.
\item
\emph{Annotation} \lstinline!inverse! to define inverses of functions. This
Expand Down Expand Up @@ -1874,7 +1874,7 @@ \subsection{Main Changes in Modelica 3.0}\label{main-changes-in-modelica-3-0}
New annotations for graphical annotations in \cref{annotations-for-graphical-objects}:\\
New attribute \lstinline!Smooth = enumeration(None, Bezier)! for graphical objects
and connection lines (Bezier defines a Bezier spline).\\
New attribute \lstinline!visible! in \lstinline!record Placement! allows to make a graphical
New attribute \lstinline!visible! in \lstinline!record Placement! allows making a graphical
annotation invisible (e.g.\ after inheritance).\\
New attributes \lstinline!startAngle!, \lstinline!endAngle! in record ellipse to define part
of an ellipse.\\
Expand Down
4 changes: 2 additions & 2 deletions chapters/synchronous.tex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ \chapter{Synchronous Language Elements}\label{synchronous-language-elements}
equations where this variable is used, with the exception of as
argument to certain special operators, belong also to this clock, as
well as all variables that are used in these equations. This property
is used for \emph{clock inference} and allows to define an associated
is used for \emph{clock inference} and allows defining an associated
clock only at a few places (above only in the sampler, whereas in the
discrete controller and the hold the sampling period is inferred).
\item
Expand Down Expand Up @@ -1054,7 +1054,7 @@ \section{Continuous-Time Equations in Clocked Partitions}\label{continuous-time-
integration method between clock ticks. With this feature, it is for example possible to invert the nonlinear dynamic model of a plant, see (Thümmel et.al. 2005), and use it in
a feedforward path of an advanced control system that is associated with a clock.

This feature also allows to define multi-rate systems: Different parts of the continuous-time model are associated to different clocks and are solved with different integration
This feature also allows defining multi-rate systems: Different parts of the continuous-time model are associated to different clocks and are solved with different integration
methods between clock ticks, e.g., a very fast sub-system with an implicit solver with a small step-size and a slow sub-system with an explicit solver with a large step-size.
\end{nonnormative}

Expand Down

0 comments on commit d3aadcc

Please sign in to comment.