You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am currently trying to generate my first prospective scenarios using the Activity Browser for the foreground systems of concrete recycling. Now, I have attempted to generate a superstructured database using Premise.
I created a new environment with Premise 2.2.7 and ecoinvent 3.6 (brightway, newest version).
Maybe I am making a logical error, but at the moment, I am trying to convert the entire ecoinvent database combined with (initially) one SSP-based scenario for 2030. This results in a database of around 33GB, and I keep running into a memory error. I guess my 16GB DDR3 RAM can't handle the workload.
Is there any shortcut to generate the database in smaller steps? My goal is to create one superstructured database for 2030, 2040, and 2050, with, let's say, three variations of the IMAGE scenarios.
my script:
import os
import sys
import warnings
import time
import pandas as pd
import bw2io as bi
import brightway2 as bw
from premise import *
import bw2data as bd
from premise import NewDatabase
from datapackage import Package
Setze das gewünschte Projekt
bw.projects.set_current("LCa Beton recycling")
Überprüfe das aktuelle Projekt
print("Current project set to: ", bw.projects.current)
Zeige das aktuelle Arbeitsverzeichnis
print("Current working directory: ", os.getcwd(), "\n")
activate a brightway project containing the ecoinvent database
Hi, I am currently trying to generate my first prospective scenarios using the Activity Browser for the foreground systems of concrete recycling. Now, I have attempted to generate a superstructured database using Premise.
I created a new environment with Premise 2.2.7 and ecoinvent 3.6 (brightway, newest version).
Maybe I am making a logical error, but at the moment, I am trying to convert the entire ecoinvent database combined with (initially) one SSP-based scenario for 2030. This results in a database of around 33GB, and I keep running into a memory error. I guess my 16GB DDR3 RAM can't handle the workload.
Is there any shortcut to generate the database in smaller steps? My goal is to create one superstructured database for 2030, 2040, and 2050, with, let's say, three variations of the IMAGE scenarios.
my script:
import os
import sys
import warnings
import time
import pandas as pd
import bw2io as bi
import brightway2 as bw
from premise import *
import bw2data as bd
from premise import NewDatabase
from datapackage import Package
Setze das gewünschte Projekt
bw.projects.set_current("LCa Beton recycling")
Überprüfe das aktuelle Projekt
print("Current project set to: ", bw.projects.current)
Zeige das aktuelle Arbeitsverzeichnis
print("Current working directory: ", os.getcwd(), "\n")
activate a brightway project containing the ecoinvent database
bw.projects.set_current("LCa Beton recycling")
ndb = NewDatabase(
)
ndb.update(create_superstructure=True)
ndb.write_db_to_brightway()
print(f"Datenbank wurde erfolgreich erstellt und gespeichert.")
input()
The text was updated successfully, but these errors were encountered: