Functions and constants to define the engine_speed_model selector.


metric_engine_speed_model Metric for the engine_speed_model.
select_models Select models from data.


dsp Wraps all functions needed to calibrate and predict light-vehicles’ CO2 emissions.
name = 'engine_speed_model'

Model name.

models = ['final_drive_ratios', 'gear_box_ratios', 'idle_engine_speed_median', 'idle_engine_speed_std', 'CVT', 'max_speed_velocity_ratio', 'tyre_dynamic_rolling_coefficient']

Parameters that constitute the model.

inputs = ['velocities', 'gears', 'times', 'on_engine', 'gear_box_type', 'accelerations', 'tyre_code', 'after_treatment_speeds_delta', 'motive_powers', 'accelerations', 'hybrid_modes', 'motor_p4_front_powers', 'motor_p4_rear_powers', 'motor_p3_front_powers', 'motor_p3_rear_powers']

Inputs required to run the model.

outputs = ['gear_box_speeds_in']

Relevant outputs of the model.

targets = ['engine_speeds_out']

Targets to compare the outputs of the model.

metrics_inputs = ['times', 'velocities', 'gear_shifts', 'on_engine', 'stop_velocity', 'hybrid_modes', 'after_treatment_warm_up_phases']

Extra inputs for the metrics.

metrics = {'engine_speeds_out': <function metric_engine_speed_model>}

Metrics to compare outputs with targets.

up_limit = {'engine_speeds_out': 40}

Upper score limits to raise the warnings.