cyrillefrancois / openlca2bw

Other
9 stars 5 forks source link

olcav1.10.3 uslci database - LCA calculations providing erroneous results. #12

Open tjlca opened 7 months ago

tjlca commented 7 months ago
for i in db:
    if "Electricity, natural gas, at power plant" in i['name']:
        randomAct = i
        break

randomMethod = ('TRACI 2.1', 'Global warming')
myFirstLCA_quick = bwlca.LCA({randomAct:1}, randomMethod)
a = myFirstLCA_quick.lci()    # Builds matrices, solves the system, generates an LCI matrix.
myFirstLCA_quick.lcia()   # Characterization, i.e. the multiplication of the elements 
                          # of the LCI matrix with characterization factors from the chosen method
print(myFirstLCA_quick.score)    # Returns the score, i.e. the sum of the characterized inventory

Results = -3.3469291967016535 GWP

tjlca commented 7 months ago
top_activities()

[(-2.552984070622525,
  -2.54916236941292,
  'Electricity, bituminous coal, at power plant' (kilowatt hour, RNA, None)),
 (-0.3030982535993836,
  -0.5153592957420761,
  'Electricity, natural gas, at power plant' (kilowatt hour, RNA, None)),
 (-0.12900198089176698,
  -0.11772036456037886,
  'Electricity, lignite coal, at power plant' (kilowatt hour, RNA, None)),
 (-0.11241259533269941,
  -1.1269432794514445,
  'Bituminous coal, at mine' (kilogram, RNA, None)),
 (-0.07561298277018214,
  -0.07712136739837752,
  'Electricity, diesel, at power plant' (kilowatt hour, RNA, None)),
 (-0.0310674447347023,
  -0.01137543734727986,
  'Diesel, combusted in industrial boiler' (litre, RNA, None)),
 (-0.022502948620815946,
  -1.1773606531910705,
  'Transport, train, diesel powered' (ton kilometer, RNA, None)),
 (-0.021568147585878158,
  -0.18868109741413977,
  'Transport, pipeline, natural gas' (ton kilometer, RNA, None)),
 (-0.01763521133104244,
  -0.021882444203929513,
  'Electricity, residual fuel oil, at power plant' (kilowatt hour, RNA, None)),
 (-0.008320861885981811,
  -0.07794718304648444,
  'Natural gas, at processing, shale, kg' (kilogram, US, None)),
 (-0.008228883484577912,
  -0.08112869762579845,
  'Natural gas, at processing, conventional, kg' (kilogram, US, None)),
 (-0.00788622976562327,
  -0.0024121084207493664,
  'Residual fuel oil, combusted in industrial boiler' (litre, RNA, None)),
 (-0.006431526452719736,
  -0.04279141091475132,
  'Natural gas, at extraction, conventional onshore, kg' (kilogram, US, None)),
 (-0.006296781653429518,
  -0.04713160057777237,
  'Crude oil, extracted' (kilogram, RNA, None)),
 (-0.006031560828629225,
  -0.0030591693324006674,
  'Natural gas, combusted in industrial boiler' (cubic meter, RNA, None)),
 (-0.00514678437067588,
  -0.04358678955957982,
  'Natural gas, at extraction, Barnett Shale, kg' (kilogram, US, None)),
 (-0.00450131837882491,
  -0.0022901796603646547,
  'Natural gas, combusted in industrial equipment' (cubic meter, RNA, None)),
 (-0.0036809410985057444,
  -0.020998016134961408,
  'Natural gas, at extraction, conventional onshore associated, kg' (kilogram, US, None)),
 (-0.003292319162946275,
  -0.20429275029648572,
  'Transport, ocean freighter, residual fuel oil powered' (ton kilometer, US, None)),
 (-0.0032647762851880278,
  -0.04055512924515804,
  'Transport, combination truck, diesel powered' (ton kilometer, RNA, None)),
 (-0.003251706371545332,
  -0.1123770671109513,
  'Transport, barge, residual fuel oil powered' (ton kilometer, RNA, None)),
 (-0.003212044460752954,
  -0.0272019762017867,
  'Natural gas, at extraction, Marcellus Shale, kg' (kilogram, US, None)),
 (-0.0026017608734802363,
  -0.09209773087876269,
  'Lignite coal, at surface mine' (kilogram, RNA, None)),
 (-0.002349111994649878,
  -0.0011048485864334524,
  'Gasoline, combusted in equipment' (litre, RNA, None)),
 (-0.0020943650128563895,
  -0.017975574203073143,
  'Natural gas, at extraction, conventional offshore, kg' (kilogram, US, None))]