6.3.16. vehicle_processing_model

vehicle_processing_model()[source]

Defines the vehicle-processing model.

Processes a vehicle from the file path to the write of its outputs.

digraph dmap {
	node [style=filled]
	label = <dmap>
	splines = ortho
	style = filled
		104 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">base_data</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=base_data]
		105 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">input_file_name</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Input file name."]
		106 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/load_inputs-function.html">load_inputs</TD></TR></TABLE>> fillcolor=springgreen shape=note style=filled tooltip="Loads from files the inputs for the CO2MPAS model."]
		107 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">modelconf</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">None</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Path of modelconf that has modified the defaults."]
		108 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">output_folder</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="Output folder."]
		109 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">overwrite_cache</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">False</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Overwrite saved cache?"]
		110 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">plan_data</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=plan_data]
		111 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/prepare_data.html">prepare_data</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="Prepare the data to be processed."]
		112 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">raw_data</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Raw data from the input file."]
		113 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/run_base.html">run_base</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/check_run_base.html">check_run_base</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Processes a vehicle from the file path to the write of its outputs."]
		114 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/run_plan.html">run_plan</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-fb6a7d063fd2dfe767c9a98eeb6b969f63074f47/check_run_plan.html">check_run_plan</TD></TR></TABLE>> fillcolor=yellow shape=note style=filled tooltip="Processes a vehicle plan."]
		115 [label=sink fillcolor=black fontcolor=white shape=egg]
		116 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">solution</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=solution]
		117 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">timestamp</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">None</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Run timestamp."]
		118 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">type_approval_mode</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">False</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Is launched for TA?"]
		119 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">variation</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="Variations to be applied."]
			108 -> 111
			114 -> 116
			106 -> 115
			104 -> 113
			110 -> 114
			106 -> 112
			109 -> 111
			117 -> 111
			107 -> 111
			111 -> 104
			111 -> 110
			113 -> 116
			118 -> 111
			105 -> 106
			119 -> 111
			112 -> 111
			109 -> 106
			105 -> 111
}
CO2MPAS vehicle_processing_model’s data
base_data  
input_file_name Input file name.
modelconf Path of modelconf that has modified the defaults.
output_folder Output folder.
overwrite_cache Overwrite saved cache?
plan_data  
raw_data Raw data from the input file.
sink Sink node of the dispatcher that collects all unused outputs.
solution  
timestamp Run timestamp.
type_approval_mode Is launched for TA?
variation Variations to be applied.
CO2MPAS vehicle_processing_model’s functions
prepare_data Prepare the data to be processed.
CO2MPAS vehicle_processing_model’s dispatchers
load_inputs Loads from files the inputs for the CO2MPAS model.
run_base Processes a vehicle from the file path to the write of its outputs.
run_plan Processes a vehicle plan.
Returns:The vehicle-processing model.
Return type:schedula.Dispatcher