Skip to content

Commit

Permalink
Add results files.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Aug 26, 2024
1 parent 4cf19d0 commit a617b54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,16 @@ How to use it?
bw.projects.set_current("your_bw_project")

ndb = NewDatabase(
scenarios = [
{"model":"image", "pathway":"SSP2-Base", "year":2050,},
{"model":"image", "pathway":"SSP2-RCP26", "year":2030,},
],
source_db="ecoinvent 3.8 cutoff",
source_version="3.8",
key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
external_scenarios=[
ammonia, # <-- list datapackages here
]
)
scenarios = [
{"model":"image", "pathway":"SSP2-Base", "year":2050, "external scenarios": [{"scenario": "Business as usual", "data": ammonia}]},
{"model":"image", "pathway":"SSP2-RCP26", "year":2030, "external scenarios": [{"scenario": "Sustainable development", "data": ammonia}]},
],
source_db="ecoinvent 3.10 cutoff",
source_version="3.10",
key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)

ndb.update_external_scenario()
ndb.update("external") # or ndb.update() if you want to update the database with the IAM data plus the external scenario

```

0 comments on commit a617b54

Please sign in to comment.