From 331415cfbf27b1bc5d31e89eb5d06207ce675ab8 Mon Sep 17 00:00:00 2001 From: HOS Date: Wed, 29 Nov 2023 17:07:15 +0100 Subject: [PATCH] The original diff --- chapters/annotations.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 597d6050e..7805c9517 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -472,6 +472,11 @@ \section{Simulations}\label{annotations-for-simulations}\label{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. +The experiment options are inherited, and the derived class may override individual inherited options. +\begin{nonnormative} +The inheritance makes it useful to have an \lstinline!experiment! annotation also in partial models, e.g., a template for a number of similar test cases. +\end{nonnormative} + 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}