6.1.2.17. selector

selector(*data, pred_cyl_ids=('nedc_h', 'nedc_l', 'wltp_h', 'wltp_l'))[source]

Defines the models’ selector model.

Select the calibrated models.

digraph dmap { node [style=filled] label = <dmap> splines = ortho style = filled 3992 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">CO2MPAS_results</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="A unique dict with new values."] 3993 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/alternator_model_selector.html">alternator_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated alternator_model."] 3994 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/at_model_selector.html">at_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated at_model."] 3995 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/clutch_torque_converter_model_selector.html">clutch_torque_converter_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated clutch_torque_converter_model."] 3996 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/co2_params_selector.html">co2_params selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated co2_params."] 3997 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">default_models</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=default_models] 3998 [label=end fillcolor=blue shape=egg] 3999 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/engine_cold_start_speed_model_selector.html">engine_cold_start_speed_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated engine_cold_start_speed_model."] 4000 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/engine_coolant_temperature_model_selector.html">engine_coolant_temperature_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated engine_coolant_temperature_model."] 4001 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/engine_speed_model_selector.html">engine_speed_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated engine_speed_model."] 4002 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/map_list.html">map_list</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="Returns a new dict."] 4003 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models</TD></TR><TR><TD align="RIGHT" border="1">wait_inputs</TD><TD align="LEFT" border="1">True</TD></TR><TR><TD align="RIGHT" border="1">function</TD><TD align="LEFT" border="1" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/combine_outputs.html">combine_outputs</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=models] 4004 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_nedc_h</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=models_nedc_h] 4005 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_nedc_l</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=models_nedc_l] 4006 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_wltp_h</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=models_wltp_h] 4007 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_wltp_l</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=models_wltp_l] 4008 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">scores</TD></TR><TR><TD align="RIGHT" border="1">wait_inputs</TD><TD align="LEFT" border="1">True</TD></TR><TR><TD align="RIGHT" border="1">function</TD><TD align="LEFT" border="1" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/combine_outputs-0.html">combine_outputs</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=scores] 4009 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selections</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=selections] 4010 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">{}</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=selector_settings] 4011 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/alternator_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/alternator_model"] 4012 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/at_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/at_model"] 4013 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/clutch_torque_converter_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/clutch_torque_converter_model"] 4014 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/co2_params</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/co2_params"] 4015 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/engine_cold_start_speed_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/engine_cold_start_speed_model"] 4016 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/engine_coolant_temperature_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/engine_coolant_temperature_model"] 4017 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/engine_speed_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/engine_speed_model"] 4018 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selector_settings/start_stop_model</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="selector_settings/start_stop_model"] 4019 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/split_prediction_models.html">split_prediction_models</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=split_prediction_models] 4020 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/split_selector_settings.html">split_selector_settings</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=split_selector_settings] 4021 [label=start fillcolor=red shape=egg] 4022 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-c8730d33ce2881cb28a88d784c0b4841195414a6/start_stop_model_selector.html">start_stop_model selector</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Select the calibrated start_stop_model."] 4023 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">wltp_h</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="A sequence of data."] 4024 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">wltp_l</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="A sequence of data."] 3999 -> 4003 3997 -> 4019 3993 -> 4003 4019 -> 4006 4020 -> 4011 4004 -> 3998 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_nedc_h --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">1</TD></TR></TABLE>>] 3992 -> 3995 4019 -> 4004 4014 -> 3996 4022 -> 4003 4001 -> 4008 3992 -> 4001 4012 -> 3994 4002 -> 3992 3996 -> 4003 4019 -> 4009 4019 -> 4007 4023 -> 4002 3993 -> 4008 4024 -> 4002 3996 -> 4008 4020 -> 4013 4003 -> 4019 4019 -> 4005 4020 -> 4018 3994 -> 4003 3992 -> 3996 4010 -> 4020 4000 -> 4003 3992 -> 3999 3992 -> 4022 4021 -> 4024 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; wltp_l</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">3</TD></TR></TABLE>>] 4016 -> 4000 3995 -> 4008 3992 -> 3993 4021 -> 3997 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; default_models</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">1</TD></TR></TABLE>>] 4020 -> 4017 4021 -> 4023 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; wltp_h</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">2</TD></TR></TABLE>>] 4020 -> 4016 4015 -> 3999 4022 -> 4008 4020 -> 4015 4007 -> 3998 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_wltp_l --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">4</TD></TR></TABLE>>] 4013 -> 3995 4017 -> 4001 4020 -> 4012 3992 -> 3994 4021 -> 4010 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; selector_settings</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">0</TD></TR></TABLE>>] 3995 -> 4003 3999 -> 4008 4006 -> 3998 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_wltp_h --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">3</TD></TR></TABLE>>] 3992 -> 4000 4000 -> 4008 4018 -> 4022 3994 -> 4008 4008 -> 4019 4001 -> 4003 4020 -> 4014 4009 -> 3998 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">selections --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">0</TD></TR></TABLE>>] 4005 -> 3998 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">models_nedc_l --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">2</TD></TR></TABLE>>] 4011 -> 3993 }

models_selector’s data
CO2MPAS_results A unique dict with new values.
default_models  
models  
models_nedc_h  
models_nedc_l  
models_wltp_h  
models_wltp_l  
scores  
selections  
selector_settings  
selector_settings/alternator_model  
selector_settings/at_model  
selector_settings/clutch_torque_converter_model  
selector_settings/co2_params  
selector_settings/engine_cold_start_speed_model  
selector_settings/engine_coolant_temperature_model  
selector_settings/engine_speed_model  
selector_settings/start_stop_model  
wltp_h A sequence of data.
wltp_l A sequence of data.
models_selector’s functions
map_list Returns a new dict.
split_prediction_models  
split_selector_settings  
models_selector’s dispatchers
alternator_model selector Select the calibrated alternator_model.
at_model selector Select the calibrated at_model.
clutch_torque_converter_model selector Select the calibrated clutch_torque_converter_model.
co2_params selector Select the calibrated co2_params.
engine_cold_start_speed_model selector Select the calibrated engine_cold_start_speed_model.
engine_coolant_temperature_model selector Select the calibrated engine_coolant_temperature_model.
engine_speed_model selector Select the calibrated engine_speed_model.
start_stop_model selector Select the calibrated start_stop_model.
Returns:The models’ selector model.
Return type:SubDispatchFunction