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
	3847 [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."]
	3848 [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."]
	3849 [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."]
	3850 [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."]
	3851 [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."]
	3852 [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]
	3853 [label=end fillcolor=blue shape=egg]
	3854 [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."]
	3855 [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."]
	3856 [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."]
	3857 [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."]
	3858 [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]
	3859 [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]
	3860 [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]
	3861 [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]
	3862 [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]
	3863 [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]
	3864 [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]
	3865 [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]
	3866 [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"]
	3867 [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"]
	3868 [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"]
	3869 [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"]
	3870 [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"]
	3871 [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"]
	3872 [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"]
	3873 [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"]
	3874 [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]
	3875 [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]
	3876 [label=start fillcolor=red shape=egg]
	3877 [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."]
	3878 [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."]
	3879 [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."]
	3874 -> 3864
	3866 -> 3848
	3849 -> 3858
	3862 -> 3853 [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>>]
	3875 -> 3869
	3852 -> 3874
	3856 -> 3858
	3874 -> 3861
	3878 -> 3857
	3864 -> 3853 [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>>]
	3875 -> 3868
	3875 -> 3867
	3869 -> 3851
	3856 -> 3863
	3849 -> 3863
	3860 -> 3853 [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>>]
	3847 -> 3855
	3858 -> 3874
	3859 -> 3853 [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>>]
	3875 -> 3872
	3855 -> 3863
	3877 -> 3863
	3848 -> 3858
	3874 -> 3860
	3871 -> 3855
	3847 -> 3850
	3847 -> 3856
	3879 -> 3857
	3847 -> 3877
	3875 -> 3866
	3847 -> 3851
	3875 -> 3873
	3851 -> 3863
	3867 -> 3849
	3854 -> 3863
	3874 -> 3859
	3847 -> 3854
	3872 -> 3856
	3850 -> 3858
	3876 -> 3879 [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>>]
	3857 -> 3847
	3861 -> 3853 [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>>]
	3873 -> 3877
	3868 -> 3850
	3865 -> 3875
	3874 -> 3862
	3877 -> 3858
	3847 -> 3849
	3876 -> 3852 [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>>]
	3863 -> 3874
	3851 -> 3858
	3876 -> 3865 [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>>]
	3854 -> 3858
	3850 -> 3863
	3876 -> 3878 [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>>]
	3855 -> 3858
	3875 -> 3870
	3875 -> 3871
	3847 -> 3848
	3870 -> 3854
	3848 -> 3863
}
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