Workflows 22.1 PDF HTML
Automotive Assessments REPORTER

Standard Templates

The list of standard library templates that have been updated so they work with workflow data saved from PRIMER can be found here

Running the templates interactively

As an example of how to use the templates we'll use the EuroNCAP Side Pole Impact 2022 template, but they all follow the same process:

  • In PRIMER specify and save the required data using the Automotive Assessments workflow
  • In REPORTER use File → Open Library Template to select the relevant template. Templates that use workflow data are indicated by the   icon:


  • On opening the template you will be prompted to select the keyword file of the job you want to post-process


  • After pressing OK a file selector is mapped for you to select the keyword file.
  • After selecting the keyword file a prompt will ask if you want to proceed with some default directories to search for model results and for writing images and other files. The defaults assume:
  1. The results are in the same directory as the keyword file
  2. REPORTER will use a subdirectory in the keyword file directory named "EuroNCAP_Side_Pole_Impact_2022" to write images and other files to (the name will differ depending on the template). If the directory doesn't exist REPORTER will create it.


  • If you are happy with the defaults press Yes and you can skip the next steps. T/HIS will start to post-process the results according to the protocol, generating the required graphs.
  • If you want to change the directories press No. This will open PRIMER with a window where you can select the directories (and the model keyword file if you want to change this):


  • Once selected, press Run. This will close PRIMER and start T/HIS to post-process the results according to the protocol, generating the required graphs
  • Once finished, T/HIS will close and the template will be generated:



Running the templates in batch

The templates can also be run in batch mode, specifying the required information through command line arguments.

If your results are in the same directory as the keyword file then you only need to specify the keyword file on the command line:

<reporter_exe> -batch -file=<template_name> -varKEYWORD_FILE=<keyword_file> -exit

[Add the -pdf, -html, -pptx command line arguments to write the report out in the format you want]

Where:

reporter_exe
The full path and filename to the REPORTER executable  
template_name

The full path and filename of the template you want to use.

The workflow templates can be found in $OA_INSTALL/workflows/templates/automotive_assessments

keyword_file
The full path and filename of the keyword file

If the results are in a different folder to the keyword file, you will need to add an extra argument to specify it:

<reporter_exe> -batch -file=<template_name> -varKEYWORD_FILE=<keyword_file> -varRESULTS_DIR=<results_dir> -exit

Where:

results_dir
The full path to the results directory

Similarly if you want to output the images and other files generated by REPORTER to a different folder than the default, you will need to add an extra argument:

<reporter_exe> -batch -file=<template_name> -varKEYWORD_FILE=<keyword_file> -varOUTPUT_DIR=<output_dir> -exit

Where:

output_dir
The full path to the output directory

Reasons for migrating the templates to the workflow framework

Migrating the standard templates to use data saved from the Automotive Assessment workflow has the following benefits:

  • Setting up the data and generating the templates is simpler with fewer steps required
  • The same data can be used in the Automotive Assessment workflow in T/HIS to interactively plot and interrogate results
  • It makes it easier to add templates for new protocol versions and protocols not currently supported