Skip to content

Quickstart Guide Plotter

CVLenerginet edited this page Feb 7, 2023 · 4 revisions

Preperation

The PP-MTB plotter is a simple tool that allows plotting of generated RMS and EMT results.

To use it, locate and move the generated RMS (.csv) and/or EMT (.csv and .inf) data to the subfolders of the PP-MTB plotter folder. The config.ini file can be adjusted and contains the following parameters:

Keep in mind, that paths under the section header "[Simulation data paths]" can be appended to if needed, simply add a new line matching the folder containing data you want plotted.

The plotter tool identifies simulation data using both the filename and the path. For example, data files named "rms/fredericia_1.csv" and "rms2/aarhus_1.csv" are identified as belonging to the projects "rms/fredericia" and "rms2/aarhus", respectively. Keep this in mind, if you want to plot multiple projects at the same time.

The plotter tool automatically categorizes projects found in paths under the "[Simulation data paths]" section header. An RMS resultsfile is defined as a .csv file with the leftmost column named b:tnow in s and an EMT resultsfile (metafile) is defined as an .inf file with the first line starting with PGB(1). EMT datafiles are assumed to be in the same folder as the metafile. This is important if you want to plot data you've exported yourself.


The file figureSetup.csv is used to configure individual plots. Three EMT and RMS signals can be specified in each plot. Names of signals should be as they are in the .csv header for RMS and in the "Desc" attribute of the .inf file for EMT. This file contains the following parameters:

Script Execution and Results

Execute the script and find the results in the results folder defined in the config.ini file (default: PP-MTB\Plotter\results). The results should look similar to the example below. Keep in mind, that project-data is paired and plotted by the case ID, in this example case ID 07 is shown plotted, with all paths defined in the config.ini file under the "[Simulation data paths]" section header containing the ID 07 is plotted together. You must manually include only the relevant data in the "[Simulation data paths]" that you want to plot together.