6.2.13. write_outputs

write_outputs()[source]

Defines a module to write on files the outputs of the CO2MPAS model.

Writes on files the outputs of the CO2MPAS model.

digraph dmap { node [style=filled] label = <dmap> splines = ortho style = filled 204 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-1871657f17a7c3d92347b9fe2ada10b201dc2452/convert2df.html">convert2df</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=convert2df] 205 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">dfs</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=dfs] 206 [label=end fillcolor=blue shape=egg] 207 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">main_flags</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=main_flags] 208 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">output_data</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=output_data] 209 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">output_file</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=output_file] 210 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">output_file_name</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=output_file_name] 211 [label=start fillcolor=red shape=egg] 212 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start_time</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=start_time] 213 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">template_file_name</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=template_file_name] 214 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">type_approval_mode</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=type_approval_mode] 215 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-1871657f17a7c3d92347b9fe2ada10b201dc2452/write_to_excel.html">write_to_excel</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=write_to_excel] 211 -> 210 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; output_file_name</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">0</TD></TR></TABLE>>] 213 -> 215 208 -> 204 207 -> 204 209 -> 206 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">output_file --&gt; end</TD></TR><TR><TD align="RIGHT" border="1">out_id</TD><TD align="LEFT" border="1">0</TD></TR></TABLE>>] 211 -> 214 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; type_approval_mode</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">5</TD></TR></TABLE>>] 211 -> 212 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; start_time</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">3</TD></TR></TABLE>>] 211 -> 208 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; output_data</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">2</TD></TR></TABLE>>] 214 -> 215 205 -> 215 204 -> 205 211 -> 213 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; template_file_name</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">1</TD></TR></TABLE>>] 210 -> 215 215 -> 209 211 -> 207 [xlabel=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">start --&gt; main_flags</TD></TR><TR><TD align="RIGHT" border="1">inp_id</TD><TD align="LEFT" border="1">4</TD></TR></TABLE>>] 212 -> 204 }

write_outputs’ data
dfs  
main_flags  
output_data  
output_file  
output_file_name  
start_time  
template_file_name  
type_approval_mode  
write_outputs’ functions
convert2df  
write_to_excel  
Returns:The write outputs module.
Return type:SubDispatchFunction