functionsampleStart
Start time for sampling
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function that returns the time at which the sampling needs to start.
This function takes as arguments the sampling interval and the current time. It returns the time at which the sampling will start. The start of the sampling will be such that a sample instant coincides with t=0.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | t | Simulation time | |
| Modelica.Units.SI.Time | samplePeriod | Sample Period |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | sampleStart | Time at which first sample happens |
Revisions
-
October 25, 2014 by Michael Wetter:
First implementation.