6.1.2.14. 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
	3746 [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."]
	3747 [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."]
	3748 [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."]
	3749 [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."]
	3750 [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."]
	3751 [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]
	3752 [label=end fillcolor=blue shape=egg]
	3753 [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."]
	3754 [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."]
	3755 [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."]
	3756 [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."]
	3757 [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]
	3758 [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]
	3759 [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]
	3760 [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]
	3761 [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]
	3762 [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]
	3763 [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]
	3764 [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]
	3765 [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"]
	3766 [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"]
	3767 [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"]
	3768 [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"]
	3769 [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"]
	3770 [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"]
	3771 [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"]
	3772 [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"]
	3773 [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]
	3774 [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]
	3775 [label=start fillcolor=red shape=egg]
	3776 [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."]
	3777 [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."]
	3778 [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."]
	3777 -> 3756
	3748 -> 3757
	3774 -> 3767
	3746 -> 3776
	3770 -> 3754
	3750 -> 3757
	3757 -> 3773
	3753 -> 3762
	3775 -> 3764 [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>>]
	3764 -> 3774
	3746 -> 3749
	3756 -> 3746
	3772 -> 3776
	3766 -> 3748
	3773 -> 3761
	3775 -> 3751 [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>>]
	3773 -> 3760
	3765 -> 3747
	3774 -> 3768
	3768 -> 3750
	3776 -> 3762
	3775 -> 3777 [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>>]
	3746 -> 3755
	3763 -> 3752 [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>>]
	3747 -> 3762
	3773 -> 3763
	3778 -> 3756
	3774 -> 3769
	3774 -> 3766
	3767 -> 3749
	3776 -> 3757
	3775 -> 3778 [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>>]
	3751 -> 3773
	3755 -> 3762
	3746 -> 3747
	3748 -> 3762
	3746 -> 3750
	3753 -> 3757
	3759 -> 3752 [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>>]
	3774 -> 3771
	3746 -> 3748
	3750 -> 3762
	3754 -> 3762
	3774 -> 3765
	3773 -> 3758
	3749 -> 3762
	3758 -> 3752 [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>>]
	3760 -> 3752 [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>>]
	3773 -> 3759
	3747 -> 3757
	3769 -> 3753
	3746 -> 3753
	3762 -> 3773
	3774 -> 3770
	3749 -> 3757
	3754 -> 3757
	3771 -> 3755
	3755 -> 3757
	3761 -> 3752 [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>>]
	3774 -> 3772
	3746 -> 3754
}
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