Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistance Required with Premise Implementation in Brightway #199

Open
nikhilsampathrao opened this issue Mar 12, 2025 · 1 comment
Open

Comments

@nikhilsampathrao
Copy link

nikhilsampathrao commented Mar 12, 2025

Dear Romain Sacchi,

I am currently learning to use Premise with Brightway and working on implementing future scenarios. My goal is to update the results back to the Activity Browser for verification. However, I am encountering an error in the process.

Could you please review my code and let me know if I am implementing it correctly? Below is the code I am using:

Image

Image

Image

Image

I would appreciate any guidance or suggestions to resolve this issue.

Thank you for your support.

Best regards,
Nikhil

@jorgegata
Copy link

Hi Nikhil,

I assume you're using premise 1.8.2, based on the cell output from the NewDatabase instance creation.

Please check the method in the NewDatabase class that exports the database to Brightway2. If it exported correctly, you can verify this visually in ActivityBrowser.

In that version, the method should be ndb.write_db_to_brightway()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants