Skip to content

Commit

Permalink
add temporal distribution visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoDiepers committed Aug 7, 2024
1 parent 69ce613 commit 76c4e82
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions docs/content/examples/example_ev.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,16 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We need to add the temporal distributions at the exchanges level. \n",
"See [bw_temporalis documentation](https://github.com/brightway-lca/bw_temporalis) for more information on `TemporalDistribution`. Timedelta, which we use below, describes relative temporal relations, e.g. 2 years earlier. \n"
"We need to add the temporal distributions at the exchanges level. The temporal distributions we assume in this EV example look somewhat like this:\n",
"\n",
"<img src=\"temporal_distribution_ev.png\" width=\"800\"/>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We now need to add these as `TemporalDistribution`s to our production system. See [bw_temporalis documentation](https://github.com/brightway-lca/bw_temporalis) for more information on `TemporalDistribution`. Timedelta, which we use below, describes relative temporal relations, e.g. 2 years earlier. \n"
]
},
{
Expand Down Expand Up @@ -453,18 +461,9 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/timodiepers/anaconda3/envs/timex/lib/python3.10/site-packages/scikits/umfpack/umfpack.py:736: UmfpackWarning: (almost) singular matrix! (estimated cond. number: 1.30e+13)\n",
" warnings.warn(msg, UmfpackWarning)\n"
]
}
],
"outputs": [],
"source": [
"tlca = TimexLCA({ev_lifecycle.key: 1}, method, database_date_dict)"
]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 76c4e82

Please sign in to comment.