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.
RTE Events Generator
Library
RT-EVENTS Sources
Block
Description
The RTE Events Generator block generates square pulses. At each calculation step, the block must receive the following information about events: the number of events that occur, the times and the values (transitions) of each event.
Mask
Parameters
Outport Data Type | Specified if the output is an RTE Boolean or RTE Double signal. |
---|---|
Maximum number of events | The maximum number of events or transitions that can occur during a single step. Above this number, events are not output. |
Sample Time | The output sample time in seconds. |
Input
Time Vector (Double) | The vector of each event's time within the model sample time. The values of time must be in the following range : [0 to Sample Time]. |
---|---|
State Vector (Double) | The vector of each event's state. |
Initial condition (Double) | The state of the RTE output signal before the first event. |
Number of events (Double) | The number events in each calculation step. |
Output
Output (RTE) | RTE generated the signal. |
---|---|
Status (Double) | The status of the RTE signal. See RT-EVENTS Status |
Characteristics
Direct Feedthrough | Yes |
---|---|
Sample time | Inherited and fixed discrete |
Work offline | Yes |
Dimensionalized | No |
Examples
The rte_basic1.mdl model shows how to do simple operations on RTE signals. It also demonstrates how to use the RTE Events Generator block to generate a repetitive sequence of pulses.
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