6.2.12. 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
	164 [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]
	165 [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]
	166 [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]
	167 [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]
	168 [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]
	169 [label=sink fillcolor=black fontcolor=white shape=egg]
	170 [label=start fillcolor=red shape=egg]
	171 [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]
	172 [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]
	173 [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]
	170 -> 171 [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>>]
	165 -> 173
	164 -> 165
	171 -> 164
	170 -> 166 [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>>]
	168 -> 173
	170 -> 167 [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>>]
	172 -> 173
	170 -> 168 [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>>]
	170 -> 172 [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>>]
	167 -> 164
	166 -> 164
	173 -> 169
}
write_outputs’ data
dfs  
main_flags  
output_data  
output_file_name  
sink Sink node of the dispatcher that collects all unused outputs.
start_time  
template_file_name  
write_outputs’ functions
convert2df  
write_to_excel  
Returns:The write outputs module.
Return type:SubDispatchFunction