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 3965 [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."] 3966 [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."] 3967 [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."] 3968 [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."] 3969 [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."] 3970 [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] 3971 [label=end fillcolor=blue shape=egg] 3972 [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."] 3973 [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."] 3974 [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."] 3975 [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."] 3976 [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] 3977 [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] 3978 [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] 3979 [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] 3980 [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] 3981 [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] 3982 [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] 3983 [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] 3984 [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"] 3985 [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"] 3986 [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"] 3987 [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"] 3988 [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"] 3989 [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"] 3990 [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"] 3991 [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"] 3992 [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] 3993 [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] 3994 [label=start fillcolor=red shape=egg] 3995 [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."] 3996 [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."] 3997 [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."] 3974 -> 3981 3966 -> 3981 3986 -> 3968 3987 -> 3969 3975 -> 3965 3967 -> 3981 3993 -> 3985 3988 -> 3972 3965 -> 3972 3993 -> 3984 3974 -> 3976 3968 -> 3976 3994 -> 3996 [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>>] 3993 -> 3991 3993 -> 3989 3965 -> 3973 3994 -> 3970 [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>>] 3994 -> 3983 [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>>] 3968 -> 3981 3965 -> 3966 3972 -> 3976 3994 -> 3997 [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>>] 3996 -> 3975 3970 -> 3992 3982 -> 3971 [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>>] 3985 -> 3967 3992 -> 3978 3969 -> 3976 3966 -> 3976 3983 -> 3993 3993 -> 3990 3980 -> 3971 [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>>] 3973 -> 3976 3995 -> 3981 3997 -> 3975 3965 -> 3995 3992 -> 3979 3992 -> 3980 3990 -> 3974 3965 -> 3974 3995 -> 3976 3965 -> 3967 3979 -> 3971 [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>>] 3967 -> 3976 3992 -> 3982 3992 -> 3977 3978 -> 3971 [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>>] 3989 -> 3973 3969 -> 3981 3973 -> 3981 3965 -> 3969 3981 -> 3992 3993 -> 3987 3976 -> 3992 3993 -> 3986 3984 -> 3966 3965 -> 3968 3972 -> 3981 3991 -> 3995 3993 -> 3988 3977 -> 3971 [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>>] }

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