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.

OpMonitor

Library

rtlab/Monitoring

Block

The OpMonitor block provides monitoring information on the subsystem where it is inserted.

Figure 1: OpMonitor block

Mask

Figure 2: OpMonitor mask.

Description

The OpMonitor block provides information on the subsystem where it is inserted. This block is intended to be used in an RT-LAB model only, and will return default values when used without RT-LAB.

Signal outports appear in the same order as the corresponding parameters selected in the block mask. Information is relevant only to the subsystem where this block is inserted. Time values are given in microseconds.

This block replaces the deprecated OpSimulationInfo block.

Parameters

This block's mask presents a list of parameters that enable you to monitor the corresponding model's performance:

Computation time (computing only)When this option is selected, the corresponding outport returns the time spent in calculation (i.e. excluding communication overhead) during the execution of the previous time step.
Real Step Size (computing+overhead+synchronization)When this option is selected, the corresponding outport returns the total time length of execution of the previous time step, including communication time and (if applicable) synchronization.
Idle timeWhen this option is selected, the corresponding outport returns the value of the idle time during the execution of the previous time step.
Number of overrunsWhen this option is selected, the corresponding outport returns the number of overruns detected during execution of the subsystem where this block is inserted, unless this number was reset to 0 by sending a 1 on the Rst Overrun(s) inport.
User timeWhen this option is selected, the corresponding outport returns the value of the specified user event time.
User event nameThis option is enabled when the User time is selected. Many event could be specified separated by a comma. User event are registered using the OpMonitoringStart and OpMonitoringStop blocks

Inputs

Rst Overrun(s)When the number of overruns parameters is selected, this block displays an inport named Rst Overrun(s). This inport is used to reset the number of overruns to 0. This is done by switching the input value from 0 to 1.

Outputs

The outports correspond to the checkbox parameters of the block mask. Please refer to the Parameters section for descriptions of the output values.

Characteristics and Limitations

This block has no special characteristics.

Direct Feedthrough

No

Discrete sample time

Yes

XHP support

Yes

Work offline

No

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