Skip to content

6. CO2MPAS model flags.

Víctor Valverde edited this page Feb 10, 2017 · 1 revision

CO2MPAS has several model flags that modulate the execution behaviour of the model when run in engineering mode. In order to make use of the flags set them to TRUE (green color) in the Advanced section of the GUI or from within the Excel input file. Alternatively, it is possible to set them to True through the command console by using the following commands: co2mpas batch input -O output -D flag.engineering_mode=True -D flag.soft_validation=True -D flag.out_template=D:\my_pre-populated_files\file1.xlsx -D flag.plot_workflow=True -D flag.only_summary=True

This section provides a description of all the options available within CO2MPAS:

  • ```-D flag.engineering_mode=True```: When enabled, the model uses of all available input data (not only the declaration inputs), and it is possible to override various model parameters.
    

Incompatible with DECLARATION mode (RUN TA button).

  • -D flag.out_template: A filepath of a pre-populated Excel file to store CO2MPAS outputs in. The output of CO2MPAS will clone the given Excel file and will append the results to it.
  • ```-D flag.plot_workflow=True```: this flag opens the workflow-plot in a browser after the CO<sub>2</sub>MPAS run is finished. The plot is a tool useful to investigate how CO<sub>2</sub>MPAS works and it enables to access in an easy way to all the intermediate calculations that the model computes for a single run.
    
  • ```-D flag.soft_validation=True```: CO<sub>2</sub>MPAS uses a schema to assess the quality of the input file. This schema checks for example not having negative battery capacity and it sets limits for some parameters (for example initial SOC). If you are confident with the input provided, the schema can be by-passed using the soft_validation flag.  
    
  • ```-D flag.only_summary=True```: used to get only the summary and not individual vehicle outputs. It is useful when running large number of vehicles to avoid overloading the computer with files that are not gonna be checked afterwards since the info of interest is already in the summary.
    
  • ```-D flag.run_plan=True```: When set to True, CO<sub>2</sub>MPAS is able to run a simulation plan. A simulation plan reads a normal input file with an additional tab named ``Plan``. CO<sub>2</sub>MPAS will produce NEDC CO<sub>2</sub> prediction for the original file and for variations of the input file included in the plan (for example setting several NEDC mass values). Check the provided demo file to get used to input a simulation plan in CO<sub>2</sub>MPAS.     
    

Back to the Index of the user guidelines