Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Scopeview | Comtrade Combiner


Description

This tool allows you to group several COMTRADE files from several versions to combine their signals and produce a single file. It can be accessed through the signal selection window, in the top bar by clicking on Tools.

confluence_1.png
Menu to access the combiner

The combination is done with predetermined parameters to adequately select the desired data. Among these parameters, we find a start and end time in milliseconds, a new sampling rate, the type of interpolation chosen if re-sampling must be done, and the COMTRADE version produced.

It is divided into four sections related to the following image interface:

  • Section 1: Contol

  • Section 2: Settings

  • Section 3: Min/Max comtrade values

  • Section 4: Selected Files

comtrade_1.png
The combiner and its sections

Section 1: Control

To add multiple files, the user can select a parent folder and all COMTRADE files under that folder is added. To have a better overview, the user can group their COMTRADE files by acquisition types in individual folders under a parent folder:

 

 

When selecting the parent folder, all subfolders are read and COMTRADE files are added to the table.

The combiner allows the selection of desired signals from the list of all signals in the added files. To open the menu, the Signal filter menu... button must be selected. This menu has two tables and buttons. On the left, we find the list of signals for all the added files:

When no signals are selected, the combiner chooses all available signals. To select signals, choose them individually from the table on the left. It is also possible to search for a specific signal in the list using the text field below the table, in addition to being able to select several at once.

 

To remove items from the right table, select them and press the Remove Selected button or the Delete key on the keyboard.

Section 2: Settings

All settings to create the combined COMTRADE file is here. Choosing parameter values applies a filter to select all signals that meet the desired conditions.

Parameters

Description

Parameters

Description

Desired frequency

All signals that are not at the desired frequency is filtered.

Sampling rate

All signals that are retained from the filters is interpolated at this frequency.

Interpolation method

The retained signals use this interpolation method for the new sample frequency.

Time start & Time stop

It defines the start of the space-time of the generated COMTRADE file. Any signals that exist between the start and the end is chosen. If a signal ends before the end time, NaN values is set, which shows as a blank when read. If a signal starts before the start, only its part after the time start are taken into account. Since all signals are on a time scale, the times chosen here represent absolute space-time.

Output version

COMTRADE version generated by the tool. It is possible to combine a single file and change its COMTRADE version.

Units panel

Allows you to choose the unit format for the following four types of values: amperage, voltage, wattage and reactive power (VAr)

Example

If a user wants to combine several small successive acquisitions into a single file, he has to set the start time of the first acquisition and the end time of the last acquisition to filter the good signals.

5 files represent the continuation of a 23-millisecond acquisition. Currently, these files are independent acquisitions in ScopeView. Their start and end times are the same since the files only represent the time-space of their acquisition:

 

If these five files are added to the combiner, their adjustments to real space-time can be made. This means that the signals are referenced according to the start time and the end time indicated in the settings. Using the Maximum Values button (from the next section), a user can enter these parameters automatically:

After the combination, the signals from all five files are centered on the new time reference.

 

Therefore, it is possible to see the sequence of signals, according to their true time reference, using the superposition in ScopeView:

Section 3: Min/Max comtrade values

This section has non-editable fields and a button to apply them. These fields represent the maximum information that can be put as parameters. The minimum time represents the signal among the added files, that has the most recent start time. The maximum time represents the opposite, the oldest time among the signals. Additionally, the highest sampling rate value is present, to allow all signals to be adjusted to the same. This section is used to quickly encompass and include all signals from files that are added to the combiner.

It is important to note that for performance reasons, combinations are limited to a maximum of 60 minutes.

Additionally, a Set selected row button is present to apply the settings of the selected file in the table. When pressed, the settings of the chosen files are now the combination settings. This feature is useful when a user wants to target a specific file among the others.

Section 4: Selected Files

When adding a COMTRADE file, several information and fields are displayed in a new table row:

Parameters

Description

Parameters

Description

File Name

COMTRADE file name

Path

Absolute path of the COMTRADE file

Prefix

This column allows you to give a prefix to the name of signals that is combined. This makes it possible to differentiate between several signals that have the same names when combining.

Offset

This column allows you to apply time compensation (offset) to the signals in this COMTRADE file.

The value is in seconds and can be written in decimal form or with the unit. Example: 0.005 or 5ms. A positive value moves the signal backwards and a negative value moves the signal forward in time.

Synchronizing Files

Some COMTRADE files may have minimal delays, which negatively affect signal analysis. These delays are in the form of a few seconds or less. To compensate for these delays automatically, a tool has been added to provide the exact value in the offset column of the table. Synchronization is done in a few steps.

You must first select the reference file. This file is selected with a click on its row in the table of added files. When selected, the row is highlighted in blue. This subsequently allows any synchronization to be based on this file and its parameters. The sample rate can also be adjusted, it defaults to the average of added files, but it can be lowered to reduce file size.

The timing menu can be opened by selecting the Calculate delay button. This menu displays a list of signals by files to synchronize. The signals on the left are the signals from the reference file chosen earlier and on the right are the other files in the table that have been added. The tool tries to link signals that have names with similarities, but if nothing is found, the first signal in the list is selected. At any time, the user can change the signals to be used for synchronization.

The tool determines the delay between the chosen signals and the reference one using algorithms. Any delay found is subsequently added in the offset column to the added files. It is then necessary to combine everything to have the deadlines applied. If the signals are already synchronized in time, the returned value is 0.0.

 

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323