control_model

Functions and constants to define the start_stop_model selector.

Dispatchers

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

Model name.

models = ['motor_p3_front_efficiency', 'motor_p3_rear_efficiency', 'start_stop_model', 'motor_p1_maximum_power', 'motor_p1_efficiency', 'gear_box_mean_efficiency', 'belt_mean_efficiency', 'clutch_tc_mean_efficiency', 'motor_p1_rated_speed', 'motor_p3_front_rated_speed', 'motor_p2_rated_speed', 'motor_p2_efficiency', 'start_stop_hybrid_params', 'motor_p0_maximum_power', 'motor_p0_efficiency', 'motor_p2_planetary_rated_speed', 'motor_p2_planetary_efficiency', 'ecms_s', 'motor_p3_rear_rated_speed', 'motor_p4_rear_rated_speed', 'planetary_ratio', 'motor_p2_planetary_maximum_power', 'motor_p4_rear_efficiency', 'is_serial', 'motor_p3_front_maximum_power', 'motor_p4_front_maximum_power', 'motor_p3_rear_maximum_power', 'motor_p4_rear_maximum_power', 'final_drive_mean_efficiency', 'motor_p4_front_rated_speed', 'planetary_mean_efficiency', 'motor_p4_front_efficiency', 'motor_p2_maximum_power', 'motor_p0_rated_speed']

Parameters that constitute the model.

inputs = ['correct_start_stop_with_gears', 'motor_p0_maximum_power_function', 'gears', 'motor_p1_maximum_power_function', 'motor_p3_front_maximum_powers', 'times', 'min_time_engine_on_after_start', 'start_stop_activation_time', 'is_hybrid', 'motor_p3_rear_maximum_powers', 'motor_p2_maximum_powers', 'has_start_stop', 'auxiliaries_torque_loss', 'auxiliaries_power_loss', 'motor_p1_speed_ratio', 'engine_moment_inertia', 'drive_battery_model', 'accelerations', 'fuel_map', 'motor_p0_speed_ratio', 'gear_box_speeds_in', 'starter_model', 'velocities', 'motor_p4_rear_maximum_powers', 'is_cycle_hot', 'dcdc_converter_efficiency', 'after_treatment_cooling_duration', 'idle_engine_speed', 'full_load_curve', 'after_treatment_warm_up_duration', 'motor_p2_planetary_speed_ratio', 'motor_p2_planetary_maximum_power_function', 'final_drive_speeds_in', 'motor_p4_front_maximum_powers', 'motive_powers']

Inputs required to run the model.

outputs = ['on_engine', 'engine_starts']

Relevant outputs of the model.

targets = ['on_engine', 'engine_starts']

Targets to compare the outputs of the model.

weights = {'engine_starts': -1, 'on_engine': -1}

Weights coefficients to compute the model score.

metrics = {'engine_starts': <function _accuracy_score>, 'on_engine': <function _accuracy_score>}

Metrics to compare outputs with targets.

dn_limit = {'engine_starts': 0.7, 'on_engine': 0.7}

Bottom score limits to raise the warnings.