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
		3394 [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."]
		3395 [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."]
		3396 [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."]
		3397 [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."]
		3398 [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."]
		3399 [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]
		3400 [label=end fillcolor=blue shape=egg]
		3401 [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."]
		3402 [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."]
		3403 [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."]
		3404 [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."]
		3405 [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]
		3406 [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]
		3407 [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]
		3408 [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]
		3409 [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]
		3410 [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]
		3411 [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]
		3412 [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]
		3413 [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"]
		3414 [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"]
		3415 [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"]
		3416 [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"]
		3417 [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"]
		3418 [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"]
		3419 [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"]
		3420 [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"]
		3421 [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]
		3422 [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]
		3423 [label=start fillcolor=red shape=egg]
		3424 [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."]
		3425 [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."]
		3426 [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."]
			3394 -> 3396
			3394 -> 3402
			3403 -> 3405
			3423 -> 3412 [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>>]
			3422 -> 3414
			3414 -> 3396
			3421 -> 3408
			3405 -> 3421
			3421 -> 3406
			3396 -> 3405
			3424 -> 3405
			3403 -> 3410
			3422 -> 3417
			3423 -> 3399 [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>>]
			3416 -> 3398
			3394 -> 3395
			3401 -> 3405
			3425 -> 3404
			3421 -> 3407
			3406 -> 3400 [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>>]
			3419 -> 3403
			3408 -> 3400 [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>>]
			3397 -> 3410
			3409 -> 3400 [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>>]
			3423 -> 3425 [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>>]
			3421 -> 3409
			3395 -> 3405
			3407 -> 3400 [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>>]
			3398 -> 3405
			3426 -> 3404
			3415 -> 3397
			3394 -> 3424
			3423 -> 3426 [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>>]
			3417 -> 3401
			3402 -> 3410
			3413 -> 3395
			3420 -> 3424
			3394 -> 3397
			3394 -> 3398
			3412 -> 3422
			3411 -> 3400 [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>>]
			3398 -> 3410
			3421 -> 3411
			3402 -> 3405
			3394 -> 3403
			3395 -> 3410
			3422 -> 3416
			3404 -> 3394
			3422 -> 3415
			3422 -> 3418
			3424 -> 3410
			3394 -> 3401
			3396 -> 3410
			3422 -> 3419
			3422 -> 3413
			3397 -> 3405
			3399 -> 3421
			3401 -> 3410
			3422 -> 3420
			3418 -> 3402
			3410 -> 3421
}
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