Gearshift Model

GEARSHIFT model is plotted here below: you can explore the diagram nests by clicking on them.

The execution of gearshift model for a single vehicle is a procedure in three sequential stages:

  • Calculate Speed Trace: Scales down specified sections of a given trace by the given downscale factor (see next section Model structure).

  • Calculate shift points, Ndv and full power curve: Determines shift-points over trace-time (see next section Model structure).

Model structure

The model is structured in two dispachers:

  • scaleTrace: This dispacher is responsible to apply the all requirements defined in the Sub-Annex 1 in the Commission Regulation (EU) 2017/1151 of 1 June 2017.

  • calculateShiftpointsNdvFullPC: This dispacher is responsible to apply the all requirements defined in the Sub-Annex 2 in the Commission Regulation (EU) 2017/1151 of 1 June 2017.

Project files and folders

The files and folders of the project are listed below:

+--gearshift/                                       # main folder that contains the whole gearshift project
|   +--cli/                                         # folder that contains all cli scripts
|   +--core/                                        # folder that contains core packages
|       +--load/                                    # (package) python-code of the load
|           +--speed_phases/                        # folder that contains speed phases in ftr format
|           +--excel.py                             # (script) load from the excel file parameters
|       +--model/                                   # (package) python-code of the model
|           +--calculateShiftpointsNdvFullPC/       # (package) python-code of the calculate shift points, Ndv and  FullPC
|           +--scaleTrace/                          # (package) python-code of the calculate scale trace
|       +--write/                                   # (package) python-code of the write
|           +--excel.py                             # (script) write to the excel file output parameters
|   +--demos/                                       # folder that contains demo files
|   +--docs/                                        # folder that contains documentation
+-- AUTHORS.rst
+--setup.py                                         # (script) The entry point for `setuptools`, installing, testing, etc
+--README.rst
+--LICENSE.txt