Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Carbon Cycle Assessment
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
urbanoikos
models
Carbon Cycle Assessment
Commits
7f528210
Commit
7f528210
authored
1 year ago
by
ClemensBo
Browse files
Options
Downloads
Patches
Plain Diff
formating
parent
9f59af94
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/tegel/run_model.ipynb
+5
-5
5 additions, 5 deletions
applications/tegel/run_model.ipynb
with
5 additions
and
5 deletions
applications/tegel/run_model.ipynb
+
5
−
5
View file @
7f528210
...
...
@@ -31,11 +31,11 @@
" filepath_musagetable=\"materialusage.ods\",\n",
" infra_floor_area=1276.429,\n",
" project_area=213069.25,\n",
" name_of_transport=
'
truck_small
'
,\n",
" name_of_transport=
\"
truck_small
\"
,\n",
" write_output=True,\n",
" resolution=
'
material
'
,\n",
" seperate_dfs=
False,\n",
")"
" resolution=
\"
material
\"
,\n",
" seperate_dfs=False,\n",
")
\n
"
]
},
{
...
...
@@ -372,7 +372,7 @@
}
],
"source": [
"tegel"
"tegel
\n
"
]
}
],
...
...
%% Cell type:code id: tags:
```
python
%
cd
..
/
..
/
import
cca
%
cd
-
```
%% Output
d:\Felix\Documents\Arbeit\Tutor_Stadtoekologie\Python\cca
d:\Felix\Documents\Arbeit\Tutor_Stadtoekologie\Python\cca\applications\tegel
%% Cell type:code id: tags:
```
python
tegel
=
cca
.
cca_to_df
(
filepath_minfotable
=
"
materialinfo.ods
"
,
filepath_musagetable
=
"
materialusage.ods
"
,
infra_floor_area
=
1276.429
,
project_area
=
213069.25
,
name_of_transport
=
'
truck_small
'
,
name_of_transport
=
"
truck_small
"
,
write_output
=
True
,
resolution
=
'
material
'
,
seperate_dfs
=
False
,
resolution
=
"
material
"
,
seperate_dfs
=
False
,
)
```
%% Cell type:code id: tags:
```
python
tegel
```
%% Output
project_scope ps_area ps_inhabitants dim \
0 project_scope_sys1_timber_frame 213069.25 0 min
1 project_scope_sys1_timber_frame 213069.25 0 min
2 project_scope_sys1_timber_frame 213069.25 0 min
3 project_scope_sys1_timber_frame 213069.25 0 min
4 project_scope_sys1_timber_frame 213069.25 0 min
.. ... ... ... ...
178 project_scope_sys2_mass_timber 213069.25 0 max
179 project_scope_sys2_mass_timber 213069.25 0 max
180 project_scope_sys2_mass_timber 213069.25 0 max
181 project_scope_sys2_mass_timber 213069.25 0 max
182 project_scope_sys2_mass_timber 213069.25 0 max
infrastructure construction_sys_x scaled_inhabitants \
0 infra_sys1_timber_frame sys1_timber_frame 0
1 infra_sys1_timber_frame sys1_timber_frame 0
2 infra_sys1_timber_frame sys1_timber_frame 0
3 infra_sys1_timber_frame sys1_timber_frame 0
4 infra_sys1_timber_frame sys1_timber_frame 0
.. ... ... ...
178 infra_sys2_mass_timber sys2_mass_timber 0
179 infra_sys2_mass_timber sys2_mass_timber 0
180 infra_sys2_mass_timber sys2_mass_timber 0
181 infra_sys2_mass_timber sys2_mass_timber 0
182 infra_sys2_mass_timber sys2_mass_timber 0
scaled_floorarea age material \
0 211887.214 0 gypsum_fibreboard
1 211887.214 0 osb
2 211887.214 0 wooden_frame_6-24
3 211887.214 0 cellulose_insulation
4 211887.214 0 wood_fibre_insulation_board
.. ... ... ...
178 211887.214 0 elastic-bonded_fill_90kg-m2
179 211887.214 0 clt
180 211887.214 0 plasterboard
181 211887.214 0 wood_fibre_insulation_board_pressure-resistant
182 211887.214 0 clt_element
construction_sys_y part scaled_weight scaled_cstorage \
0 sys1_timber_frame wall 2.417382e+06 0.000000e+00
1 sys1_timber_frame wall 2.900094e+06 1.392045e+06
2 sys1_timber_frame wall 7.191478e+06 3.595739e+06
3 sys1_timber_frame wall 2.961614e+06 1.480807e+06
4 sys1_timber_frame wall 3.924303e+06 1.667829e+06
.. ... ... ... ...
178 sys2_mass_timber ceiling 1.713150e+06 0.000000e+00
179 sys2_mass_timber ceiling 6.284382e+07 3.142191e+07
180 sys2_mass_timber roof 2.158128e+06 0.000000e+00
181 sys2_mass_timber roof 1.587104e+07 6.745192e+06
182 sys2_mass_timber roof 2.327730e+07 1.163865e+07
scaled_cemissions_prod scaled_cemissions_transp
0 1.299718e+06 27714.507570
1 2.255769e+05 33248.642138
2 1.523651e+05 82447.968698
3 1.939891e+05 33953.946155
4 7.754232e+05 44990.870237
.. ... ...
178 2.150755e+05 19640.711936
179 2.226255e+06 720484.084246
180 9.423991e+04 24742.240359
181 3.136906e+06 181956.345818
182 8.258737e+05 266866.730637
[183 rows x 16 columns]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment