Skip to content

Commit

Permalink
Prepare for inherited experiment by restricting it to non-partial mod…
Browse files Browse the repository at this point in the history
…els.
  • Loading branch information
HansOlsson committed Nov 9, 2023
1 parent 8f17cbe commit b2d805d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ \section{Annotations for Simulations}\label{annotations-for-simulations}
The \lstinline!experiment! annotation defines the start time (\lstinline!StartTime!) in {[}s{]}, the stop time (\lstinline!StopTime!) in {[}s{]}, the suitable time resolution for the result grid (\lstinline!Interval!) in {[}s{]}, and the relative integration tolerance (\lstinline!Tolerance!) for simulation experiments to be carried out with the model or block at hand.
When \lstinline!Interval! or \lstinline!Tolerance! is not provided, the tool is responsible for applying appropriate defaults.

If \lstinline!StopTime! is set the model is required to be a simulation model.
If \lstinline!StopTime! is set in a non-partial model, it is required to be a simulation model.
Tools can allow users to override these settings without modifying the model.
\end{semantics}
\end{annotationdefinition}
Expand Down

0 comments on commit b2d805d

Please sign in to comment.