'lwrout': ['lwrstorage'], 'frout': ['frstorage'], 'moxout': ['moxstorage'], 'lwrtru': ['frmixer', 'moxmixer'], 'frtru': ['frmixer', 'moxmixer'], 'moxtru': ['frmixer', 'moxmixer'], 'lwrreprocessingwaste': ['lwrsink'], 'frreprocessingwaste': ['frsink'], 'moxreprocessingwaste': ['moxsink'] } for commod, facility in commod_dict.items(): agent_entry_dict[commod] = tester.get_agent_dict(output_file, facility) # get supply deamnd dict all_dict['power'] = tester.supply_demand_dict_nond3ploy( output_file, 'power', demand_eq) plotter.plot_demand_supply_nond3ploy(all_dict['power'], agent_entry_dict['power'], 'power', 'eg01-eg30-flatpower-nond3ploy_power', True, True, 1) front_commods = ['sourceout', 'enrichmentout'] back_commods = [ 'lwrstorageout', 'frstorageout', 'moxstorageout', 'lwrreprocessingwaste', 'frreprocessingwaste', 'moxreprocessingwaste', 'lwrout', 'frout', 'moxout', 'frtru' ] # 'lwrtru', 'frtru', 'moxtru']
'lwrstorageout', 'frstorageout', 'lwrout', 'frout', 'lwrreprocessingwaste', 'frreprocessingwaste', 'frpu', 'lwrpu' ] for commod in front_commods: all_dict[commod] = tester.supply_demand_dict_nondriving( output_file, commod, True) name = '0-' + calc_method + '-' + commod plotter.plot_demand_supply_agent(all_dict[commod], agent_entry_dict[commod], commod, name, True, True, False, 1) metric_dict = tester.metrics(all_dict[commod], metric_dict, calc_method, commod, True) for commod in mid_commods: all_dict[commod] = tester.supply_demand_dict_nond3ploy(output_file, commod) name = '0-' + calc_method + '-' + commod plotter.plot_demand_supply_nond3ploy(all_dict[commod], agent_entry_dict[commod], commod, name, True, True, 1) metric_dict = tester.metrics(all_dict[commod], metric_dict, calc_method, commod, False) for commod in back_commods: all_dict[commod] = tester.supply_demand_dict_nondriving( output_file, commod, False) name = '0-' + calc_method + '-' + commod plotter.plot_demand_supply_agent(all_dict[commod], agent_entry_dict[commod], commod, name, False, True, False, 1)