Skip to content

Commit ed79def

Browse files
committed
Update demo for v1.0.1
1 parent c689b84 commit ed79def

File tree

1 file changed

+38
-4
lines changed

1 file changed

+38
-4
lines changed

doc/demo.ipynb

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"id": "4bbb9bdb-d928-44d5-807a-9555aa806013",
187187
"metadata": {},
188188
"source": [
189-
"We finish by regionalizing the elementary flows (if the corresponding boolean was selected)"
189+
"We regionalize the elementary flows (if the corresponding boolean was selected)"
190190
]
191191
},
192192
{
@@ -196,15 +196,15 @@
196196
"metadata": {},
197197
"outputs": [],
198198
"source": [
199-
"self.regionalize_elem_flows()"
199+
"regio.regionalize_elem_flows()"
200200
]
201201
},
202202
{
203203
"cell_type": "markdown",
204204
"id": "146552fe-877e-493d-ab59-19e058b73feb",
205205
"metadata": {},
206206
"source": [
207-
"All regionalized processes are now in a Python dictionnary. We can now write this database to the brightway2 software to be able to use brightway2 or activity-browser to perform LCAs."
207+
"Write regioinvent processes in the brightway2 SQL database."
208208
]
209209
},
210210
{
@@ -214,8 +214,42 @@
214214
"metadata": {},
215215
"outputs": [],
216216
"source": [
217-
"regio.write_to_database()"
217+
"regio.write_regioinvent_to_database()"
218218
]
219+
},
220+
{
221+
"cell_type": "markdown",
222+
"id": "61130e9c-202f-43f3-9a56-275298dad6a6",
223+
"metadata": {},
224+
"source": [
225+
"We reconnect ecoinvent processes to existing regioinvent processes, so that, e.g., electricity production, coal, CA uses the consumption market of coal for Canada that was created."
226+
]
227+
},
228+
{
229+
"cell_type": "code",
230+
"execution_count": null,
231+
"id": "6250150b-29ff-4393-b855-cc29c63114ce",
232+
"metadata": {},
233+
"outputs": [],
234+
"source": [
235+
"regio.connect_ecoinvent_to_regioinvent()"
236+
]
237+
},
238+
{
239+
"cell_type": "markdown",
240+
"id": "2ed15eb4-8103-4575-9c02-1a0442efe5ec",
241+
"metadata": {},
242+
"source": [
243+
"Done!! You can now go on brightway2 or AB to perform your LCAs normally."
244+
]
245+
},
246+
{
247+
"cell_type": "code",
248+
"execution_count": null,
249+
"id": "7811afa1-5b19-485f-adad-801fd2e9a4ba",
250+
"metadata": {},
251+
"outputs": [],
252+
"source": []
219253
}
220254
],
221255
"metadata": {

0 commit comments

Comments
 (0)