The modes ending in R like AOOR require that we adjust the rate for that we had to model the component that will adjust the rate.
\paragraph{Programmable parameters requirements}
In this mode the following programmable parameters must be taken into account while pacing:
\begin{itemize}
\item LRL shall be 60 ppm.
\item MSR shall be 120 ppm.
\item ActivityThreshold shall be \textbf{Med}.
\item ResponseFactor shall be 8.
\item ReactionTime shall be 30 s.
\item RecoveryTime shall be 5 m.
\end{itemize}
\paragraph{Purpose and abstraction level}
The rate controller full functionality isnot modelled, we represent all the variables needed to control the increase and decrease in rate. But the changes will be instantaneous disregarding the response and recovery time delays. These are requirements for the rate change andnotfor the operating mode.
The purpose it to understand the different operation modes not how the rate changes, so its logical that if the rate can change on an operation mode forinstance AOOR we model that change but in an abstract way.
\subsection*{VDM-SL module}
The rate controller will accept as input a sequence of Accelerometer inputs:
Finally the simulation of the rate controller follows as a relation between the reach of the MSR with a exceeding input value of the treshold, and the LRL as a decrease after the reacovery time form the MSR or the normal functioning of the system.
\begin{vdm_al} functions
Simulate(inp : Input) out : Output pre 0 notinsetdom inp postforall t insetdom inp &
(out(t) = MSR => inp(t-ReactionTime) > Threshold or out(t-1) = MSR) and forall t insetdom inp \ {1} &
(out(t) = LRL => inp(t-RecoveryTime) < Threshold or out(t-1) = LRL);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.