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 128 [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] 129 [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."] 130 [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."] 131 [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."] 132 [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."] 133 [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?"] 134 [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] 135 [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."] 136 [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."] 137 [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."] 138 [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."] 139 [label=sink fillcolor=black fontcolor=white shape=egg] 140 [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] 141 [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."] 142 [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?"] 143 [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."] 130 -> 136 141 -> 135 143 -> 135 142 -> 135 138 -> 140 135 -> 134 133 -> 130 132 -> 135 137 -> 140 133 -> 135 129 -> 135 130 -> 139 134 -> 138 128 -> 137 135 -> 128 136 -> 135 129 -> 130 131 -> 135 }

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