tot_impact_df = export_total_result(result)
#flow_impact_df = export_flow_cat(result)
#proc_impact_df = export_proc_cat(result,'flow')
#info_df = export_setup(setup, farm)
with pd.ExcelWriter(fName) as writer:
#info_df.to_excel(writer,sheet_name='Setup info',index=True)
tot_impact_df.to_excel(writer, sheet_name='Impacts', startcol=1,startrow=1,index=False)
#flow_impact_df.to_excel(writer, sheet_name='Flow impact contributions', startcol=2,startrow=1,index=False)
#proc_impact_df.to_excel(writer, sheet_name='Process impact contributions',startcol=2,startrow=1, index=False)