massimopizzol/B4B

Electricity process for Italy from ecoinvent not available in bw2

Opened this issue · 0 comments

Dear all,
I want to get a process for electricity production in bw2, however searching like this:

"ei=Database('ecoinvent 3.6')
for activity in ei.search('electricity',filter={"location" : 'IT'}, limit = 5):
print(activity)
print(activity['code'])"
does not give me any results.

When I check the availability of other country's mixes (e.g. GB), I can find them, however, with an equivalent search..
"ei=Database('ecoinvent 3.6')
for activity in ei.search('electricity',filter={"location" : 'GB'}, limit = 5):
print(activity)
print(activity['code'])"

Reinstalling ecoinvent 3.6 did not help. I imported it using the following code:
ei36dir = r"C:\Users\C\Documents\2020\Ecoinvent\datasets"
if 'ecoinvent 3.6' in databases:
print("Database has already been imported")
else:
ei36 = SingleOutputEcospold2Importer(ei36dir, 'ecoinvent 3.6',use_mp=False) # You can give it another name of course
ei36.apply_strategies()
ei36.statistics()

ei36.write_database() # This will take some time.
I have also checked in FilenameToActivtiyLookup.csv, there, this electricity process is available.
can someone help me with this issue?