Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Advanced | SITOPREF
RELATIVE OPERATING TIME – [SITOPREF]
Compute the operating time of a relay relative to the rise or fall of a reference signal.
CATEGORY
SI5
DESCRIPTION
The function allows to compute the operating time of a relay relative to the rise or fall of a reference signal.
RESULT VARIABLES AND PARAMETERS
res | time in milliseconds for which the threshold value is reached on the signal analyzed, as specified by the reference pulse.
|
Signal | Signal to analyze. |
Reference signal | Reference signal. |
Types (m, d, c, C, f, F) | Type of search for the relay operating time, in other words the time when a threshold value is reached. On a rise (m, c, C), the relay must operate between the rise of the reference pulse and its end. On a fall (d, f, F), the relay must operate only after the fall of the reference pulse.
|
Threshold | Threshold to reach on the signal analyzed showing that the relay operated. The method used to establish that the value was reached is determined by the type of search (m, d, c, C, f, F) |
Threshold_ref | Threshold value to reach on the reference signal specifying the start and the end of the reference pulse |
Begin_time | Time at which the analysis of a signal must start. This time is expressed in milliseconds [ms]. This value must be greater than 0 and lower than the duration of the test. The default value is 0. |
End_time | Time at which the analysis of a signal must end. This time is expressed in milliseconds [ms]. The value of this time must be larger than the specified begin_time and smaller than the duration of the test. Use the “HUGE” value to specify the end of the test. The default value is HUGE. |
Factor | Multiplying factor for the results generated by the function. The default value of the multiplying factor is 1.0 and has no effect on the results. |
SYNTAX
res = sitopref( a, ref, "m", threshold, threshold_ref, 0, HUGE, 1)
CHARACTERISTICS
Data type support
Double Floating point
EXAMPLE
The following figure shows the different cases for this function, including the limit cases where the values returned are HUGE, -HUGE or simply 0.
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter