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

Add dhnx pandapipes tutorial #530

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions tutorials/tutorial_dhnx_pandapipes/input/Pipe_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DN number,Inner diameter [m],Roughness [mm],U-value [W/mK],alpha [W/m2K],Costs [eur]
20,0.0216,0.045,0.111,1.635759137,600
25,0.0285,0.045,0.1311,1.464225476,640
32,0.0372,0.045,0.1424,1.218476554,670
40,0.0431,0.045,0.1606,1.186092058,710
50,0.0545,0.045,0.1794,1.047794378,760
65,0.0703,0.045,0.2009,0.90965087,850
80,0.0825,0.045,0.2105,0.812172497,940
100,0.1071,0.045,0.2193,0.651777386,1070
125,0.1325,0.045,0.253,0.607791707,1250
150,0.1603,0.045,0.287,0.569899796,1440
200,0.2101,0.045,0.3047,0.461632662,1840
250,0.263,0.045,0.2985,0.361275669,2280
300,0.3127,0.045,0.3412,0.347321181,2740
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label_2,active,excess,shortage,shortage costs,excess costs
heat,1,0,0,999999,9999
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label_2,active,nominal_value
heat,1,1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label_3,active,nonconvex,l_factor,l_factor_fix,cap_max,cap_min,capex_pipes,fix_costs
your-pipe-type-label,1,1,4.035535662838318e-07,0.010058450720512743,26232.72050144843,24.138665706920662,0.08185899529957928,818.0035708025366
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
,label_2,active,excess,shortage,shortage costs,excess costs
1,heat,1,0,0,9999,9999
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label_2,active
heat,1
49 changes: 49 additions & 0 deletions tutorials/tutorial_dhnx_pandapipes/tutorial_dhnx_pandapipes.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"cells": [
{
"cell_type": "markdown",
"source": [
"# Tutorial"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Loading