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

774 retrofit combos #775

Open
wants to merge 145 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 144 commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
e2fdbdb
first implementation
DaJansenGit Oct 26, 2021
384862c
finalize functions and add tests and documentation
DaJansenGit Oct 27, 2021
ca34f65
allow profiles to be single values.
DaJansenGit Oct 27, 2021
2ae3511
Merge branch 'development' into issue544_RetailProfiles
DaJansenGit Oct 27, 2021
87d4003
minor linting
DaJansenGit Oct 27, 2021
d94ebe0
Merge remote-tracking branch 'origin/issue544_RetailProfiles' into is…
DaJansenGit Oct 27, 2021
7ad88f8
make 24h profile in unit test instead 25h and fix own test
DaJansenGit Oct 27, 2021
dcf1c29
clean imports
DaJansenGit Oct 27, 2021
b7f8a5f
more linting
DaJansenGit Oct 27, 2021
5156482
revert of unintentional changed value
DaJansenGit Oct 27, 2021
92ab571
schedules attribute setter function -> calc_schedules function call
DaJansenGit Aug 16, 2022
1d5b001
refactor schedules to a mix of property and function call
DaJansenGit Aug 16, 2022
03e1e01
get profiles_before first to improve readability
DaJansenGit Aug 16, 2022
3bb3c83
add an example for schedule adjustment
DaJansenGit Aug 16, 2022
36bc7d1
Merge branch 'development' into issue544_RetailProfiles
DaJansenGit Aug 16, 2022
c3733ed
fix typo in e8, bug is already solved in master
DaJansenGit Aug 16, 2022
740a41b
Merge pull request #715 from RWTH-EBC/711_ExampleBugHotfixDev
DaJansenGit Aug 16, 2022
c5b3b2e
integrate parameters for dynamic heat load calc in modelica (#714)
DaJansenGit Aug 17, 2022
5b52d7c
Update modelicainfo.py (#717)
DaJansenGit Aug 30, 2022
c4b206d
add missing connection for multizone post process (#719)
DaJansenGit Aug 30, 2022
53df80b
Merge branch 'development' into issue544_RetailProfiles
DaJansenGit Sep 14, 2022
6c6c370
Merge pull request #699 from RWTH-EBC/issue544_RetailProfiles
Dawac Sep 19, 2022
351a29f
refactor retrofit wall function
DaJansenGit Oct 13, 2022
d80366b
add missing docs for calc_u
DaJansenGit Oct 13, 2022
f2293d1
Merge pull request #725 from RWTH-EBC/713-move-retrofit_wall-into-cor…
DaJansenGit Oct 13, 2022
4506e9f
hotfix to not insulate when u values are same
DaJansenGit Oct 20, 2022
c8633cd
Merge pull request #726 from RWTH-EBC/issue713-hotfix
DaJansenGit Oct 21, 2022
434a9b4
Added a simple HTML report and a simplified visual representation
DaJansenGit Aug 23, 2023
795cf7a
finalize model report and integrate it into project export for aixlib
DaJansenGit Aug 29, 2023
42cb913
Merge branch 'development' into issue683_modelReportFromFork
DaJansenGit Aug 29, 2023
dc44f7c
fix: add missing "," in function
DaJansenGit Aug 29, 2023
dac51be
improve pep8
DaJansenGit Aug 29, 2023
96faedf
fix: inner_area was depracted, use function to calc instead.
DaJansenGit Aug 29, 2023
a8b95ea
pep8 improveoments
DaJansenGit Aug 29, 2023
95c1535
remove not used variable
DaJansenGit Aug 29, 2023
6d38b77
add plotly to setup.py
DaJansenGit Aug 29, 2023
0b6b8f1
Minor graphical changes to model report
DaJansenGit Aug 29, 2023
ab8195a
fix typo
DaJansenGit Aug 29, 2023
b65c15d
improved model report
DaJansenGit Aug 30, 2023
9aeb1ef
add todo for model report for further changes
DaJansenGit Aug 30, 2023
c9e8938
add shortcomings to doc string
Aug 31, 2023
5d57b3d
Revert "add shortcomings to doc string"
Aug 31, 2023
ed38aaa
add error handling, add assumptions, fix pep8
DaJansenGit Aug 31, 2023
c0a1282
Merge remote-tracking branch 'origin/issue683_modelReportFromFork' in…
DaJansenGit Aug 31, 2023
2cdf4d3
add units to model report and minor visual improvements
DaJansenGit Aug 31, 2023
023223b
pep8
DaJansenGit Aug 31, 2023
1cf00c3
run black
DaJansenGit Aug 31, 2023
cc01668
pep8
DaJansenGit Aug 31, 2023
37e73cf
pep8
DaJansenGit Aug 31, 2023
0c61d35
Merge pull request #741 from RWTH-EBC/issue683_modelReportFromFork
DaJansenGit Aug 31, 2023
6283a82
fix: add model report to setup.py
Sep 19, 2023
a31e6df
Merge branch 'development' into issue683_modelReportFromFork
DaJansenGit Nov 6, 2023
7a11d49
make sure value exists to prevent errors
DaJansenGit Nov 6, 2023
0a3050b
handle None values and add workaround for bldg without floor height
DaJansenGit Nov 6, 2023
bd26857
fix whitespace issue
DaJansenGit Nov 6, 2023
a073f31
Merge pull request #744 from RWTH-EBC/issue683_modelReportFromFork
DaJansenGit Nov 6, 2023
68a98f3
chore: bump aixlib version
FWuellhorst Jan 10, 2024
edfa656
Merge branch 'development' into 746_aixlib_1_3_2
DaJansenGit Jan 10, 2024
df0b465
Merge pull request #747 from RWTH-EBC/746_aixlib_1_3_2
FWuellhorst Jan 10, 2024
48a76bf
add __Dymola_selection implementation
DaJansenGit Feb 15, 2024
584f223
remove falsy whitespaces
DaJansenGit Feb 16, 2024
7cd1551
add annotation that export_vars only work for dymola and add source
DaJansenGit Feb 16, 2024
7035647
Merge pull request #749 from RWTH-EBC/issue748_dymola_selection
DaJansenGit Feb 16, 2024
f1fc186
added KFW efficiency house standards and refactored the parameters me…
jonas0902 Mar 12, 2024
c303eec
fix freq warning
FWuellhorst Apr 10, 2024
91dc969
adjusted all tests and examples with the two new parameters construct…
jonas0902 Apr 16, 2024
9a15cd3
First push
HoeppJ Apr 23, 2024
86df533
Update
HoeppJ Apr 24, 2024
a6f468d
Update
HoeppJ Apr 24, 2024
82cfbc7
Update
HoeppJ Apr 26, 2024
d2fdc30
Update
HoeppJ Apr 26, 2024
1ddeb21
fix outer area calculation for visualization
DaJansenGit Apr 26, 2024
0e56eee
Merge pull request #754 from RWTH-EBC/issue683_fix_visualization
DaJansenGit Apr 26, 2024
0b70886
Merge branch 'development' into 751-futurewarning-h-is-deprecated-and…
DaJansenGit Apr 29, 2024
e1a906d
Merge pull request #752 from RWTH-EBC/751-futurewarning-h-is-deprecat…
FWuellhorst Apr 29, 2024
6ab733f
Changed name of bool lighting_method to use_maintained_illuminance
HoeppJ Apr 30, 2024
4c6b89e
Fixed bug
HoeppJ Apr 30, 2024
40aa4fe
Updated the documentation, example and tests to new variables
jonas0902 May 7, 2024
a150592
Formal changes: changed 'geometry_data' back to 'usage' in context of…
jonas0902 May 7, 2024
4f5f01f
Merge remote-tracking branch 'origin/development' into issue745_AddKf…
FWuellhorst May 7, 2024
2641e66
enable again
FWuellhorst May 7, 2024
277cebc
rename to usage as discussed
FWuellhorst May 7, 2024
c45142c
Merge branch 'development' into masterUpdate
FWuellhorst May 7, 2024
656c0ce
rename to usage as discussed
FWuellhorst May 7, 2024
ec12bf0
chore(examples): Automatic commit of example files in Markdown and Ju…
May 7, 2024
39aadef
Only calc_building_parameters if not tabula, as in current developmen…
FWuellhorst May 21, 2024
c0798fe
correction of construction_data variable in json data
jonas0902 May 21, 2024
37bc442
Merge remote-tracking branch 'origin/issue745_AddKfWArchetypes' into …
jonas0902 May 21, 2024
0317be8
set raise_errors default to False again
FWuellhorst May 21, 2024
4d13703
set default after setting it to None
FWuellhorst May 21, 2024
87e95bf
Update
HoeppJ May 21, 2024
491c741
add test again
FWuellhorst May 21, 2024
889a748
Updated all usages in UseConditions.json
HoeppJ May 21, 2024
fbd303c
comment test that fails before dev merged into master
DaJansenGit May 22, 2024
5b7162f
Merge pull request #758 from RWTH-EBC/masterUpdate
FWuellhorst May 22, 2024
d3a262c
add test for tz_naming again
DaJansenGit May 22, 2024
4ba56de
make sure that thermalzones have unique names
DaJansenGit May 22, 2024
05c3bd4
fix setter method for tz name
DaJansenGit May 22, 2024
60f1cc2
remove usage of itertools
DaJansenGit May 22, 2024
6f3d847
Merge pull request #759 from RWTH-EBC/hotfix_readd_test
DaJansenGit May 22, 2024
b90c5bd
Merge branch 'development' into issue745_AddKfWArchetypes
FWuellhorst May 23, 2024
d87059d
Use warnings without f-string =
FWuellhorst May 23, 2024
0ce1679
chore(examples): Automatic commit of example files in Markdown and Ju…
May 23, 2024
2d63ed1
Use optional import
FWuellhorst May 23, 2024
6c7c5c6
Merge remote-tracking branch 'origin/issue745_AddKfWArchetypes' into …
FWuellhorst May 23, 2024
9564375
Add post processing block to multizone template again
DaJansenGit May 24, 2024
654ebc7
Merge pull request #760 from RWTH-EBC/readd_postprocessing
DaJansenGit May 24, 2024
ce4e360
change access for external file loading to r instead r+
DaJansenGit May 27, 2024
b731daa
Merge pull request #761 from RWTH-EBC/issue750_read-only-in-dataclass
DaJansenGit May 28, 2024
e94a754
Added parameter fixed_lighting_power in UseConditions.json
HoeppJ May 28, 2024
a3ad7d6
Update
HoeppJ May 28, 2024
d86bc9c
added exception
HoeppJ May 28, 2024
94d1d5d
Update
HoeppJ May 28, 2024
3028567
Changes based on the review
jonas0902 May 28, 2024
3e551e5
Final update of tests and jsons
HoeppJ May 28, 2024
4d9e72b
Moved the construction_data setter functions to data/utilities
jonas0902 May 29, 2024
9ee3d1d
chore(examples): Automatic commit of example files in Markdown and Ju…
May 29, 2024
8d43aa5
updated version number
jonas0902 May 31, 2024
6ccebe6
fix freq warning in remaining files
DaJansenGit Jun 20, 2024
117f961
Merge branch 'development' into 751-futurewarning-h-is-deprecated-and…
DaJansenGit Jun 20, 2024
9c5fb97
Merge pull request #765 from RWTH-EBC/751-futurewarning-h-is-deprecat…
DaJansenGit Jun 20, 2024
8a40ae0
Merge branch 'development' into issue745_AddKfWArchetypes
DaJansenGit Jul 16, 2024
94b07b7
minor linting changes
DaJansenGit Jul 16, 2024
0c7e3f5
fix wrong indentation
DaJansenGit Jul 16, 2024
f58b8c3
Merge branch 'development' into 753-add-illuminance-levels-and-lighti…
DaJansenGit Jul 16, 2024
8865e8a
Merge branch 'development' into 762-add-instance-check-of-export_vars
DaJansenGit Jul 16, 2024
4ea919b
updated and deleted version number in json files
jonas0902 Jul 23, 2024
09b7962
Adjusted documentation in e1 and e6
jonas0902 Jul 23, 2024
884c61f
chore(examples): Automatic commit of example files in Markdown and Ju…
Jul 23, 2024
3682606
Edited docs of e1 and e6
jonas0902 Jul 23, 2024
063bfbd
chore(examples): Automatic commit of example files in Markdown and Ju…
Jul 23, 2024
d6db3d5
Merge pull request #757 from RWTH-EBC/issue745_AddKfWArchetypes
jonas0902 Jul 24, 2024
e4534a8
Merge branch 'development' into 762-add-instance-check-of-export_vars
DaJansenGit Jul 25, 2024
37026f0
Merge pull request #764 from RWTH-EBC/762-add-instance-check-of-expor…
DaJansenGit Jul 25, 2024
f0ab7a5
Merge branch 'development' into 753-add-illuminance-levels-and-lighti…
DaJansenGit Jul 29, 2024
35291c2
Fixed small bug in test_lighting_power
HoeppJ Jul 29, 2024
10eef29
Resolved review
HoeppJ Jul 30, 2024
b2f455d
Merge pull request #763 from RWTH-EBC/753-add-illuminance-levels-and-…
DaJansenGit Jul 30, 2024
b4b56f8
Deleted obsolte use condition parameters
HoeppJ Aug 26, 2024
faa8e9c
Update
HoeppJ Aug 26, 2024
1e17567
Merge pull request #770 from RWTH-EBC/769-delete-obsolte-use-conditio…
HoeppJ Aug 26, 2024
9995f7a
add functions
FWuellhorst Oct 4, 2024
d88bacf
add docstrings
FWuellhorst Oct 4, 2024
5233305
Add return of generated building names
FWuellhorst Oct 4, 2024
008c07a
Fix bad continue
FWuellhorst Oct 4, 2024
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
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:
TEST_ENGINE: "PYTEST"
GIT_REPO: "RWTH-EBC/TEASER"
EXAMPLE_CONVERTER_CONFIG: teaser/examples/converter.toml
EXTRA_REQUIREMENTS_PIP: "[report]"

include:
- project: 'EBC/EBC_all/gitlab_ci/templates'
Expand Down
14 changes: 7 additions & 7 deletions docs/jupyter_notebooks/e1_generate_archetype.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
{
"cell_type": "markdown",
"metadata": {},
"source": "To use the API instantiate the Project class and rename the Project. The\nparameter load_data=True indicates that we load `iwu` typology archetype\ndata into our Project (e.g. for Material properties and typical wall\nconstructions. This can take a few seconds, depending on the size of the\nused data base). Be careful: Dymola does not like whitespaces in names and\nfilenames, thus we will delete them anyway in TEASER.\n"
"source": "To use the API, instantiate the Project class and rename the project.\nBe careful: Dymola does not like whitespaces in names and filenames, thus we will delete them anyway in TEASER.\n"
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "prj = Project(load_data=True)\nprj.name = \"ArchetypeExample\"\n"
"source": "prj = Project()\nprj.name = \"ArchetypeExample\"\n"
},
{
"cell_type": "markdown",
Expand All @@ -37,14 +37,14 @@
{
"cell_type": "markdown",
"metadata": {},
"source": "To generate residential archetype buildings the function\nProject.add_residential() is used. Seven parameters are compulsory,\nadditional parameters can be set according to the used method. `method`\nand `usage` are used to distinguish between different archetype\nmethods. The name, year_of_construction, number and height of floors\nand net_leased_area need to be set to provide enough information for\narchetype generation. For specific information on the parameters please\nread the docs.\n"
"source": "To generate residential archetype buildings the function\nProject.add_residential() is used. Seven parameters are compulsory,\nadditional parameters can be set according to the used method. `construction_data`\nand `geometry_data` are used to distinguish between different construction and archetype\nmethods. The name, year_of_construction, number and height of floors\nand net_leased_area need to be set to provide enough information for\narchetype generation. For specific information on the parameters please\nread the docs.\n"
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "prj.add_residential(\n method='iwu',\n usage='single_family_dwelling',\n name=\"ResidentialBuilding\",\n year_of_construction=1988,\n number_of_floors=2,\n height_of_floors=3.2,\n net_leased_area=200.0)\n"
"source": "prj.add_residential(\n construction_data='iwu_heavy',\n geometry_data='iwu_single_family_dwelling',\n name=\"ResidentialBuilding\",\n year_of_construction=1988,\n number_of_floors=2,\n height_of_floors=3.2,\n net_leased_area=200.0)\n"
},
{
"cell_type": "markdown",
Expand All @@ -56,12 +56,12 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "prj.add_non_residential(\n method='bmvbs',\n usage='office',\n name=\"OfficeBuilding\",\n year_of_construction=1988,\n number_of_floors=4,\n height_of_floors=3.5,\n net_leased_area=4500.0)\n\nprj.add_non_residential(\n method='bmvbs',\n usage='institute',\n name=\"InstituteBuilding\",\n year_of_construction=1952,\n number_of_floors=5,\n height_of_floors=4.0,\n net_leased_area=3400.0)\n\nprj.add_non_residential(\n method='bmvbs',\n usage='institute',\n name=\"InstituteBuildingMoisture\",\n year_of_construction=1980,\n number_of_floors=3,\n height_of_floors=4.2,\n net_leased_area=3600.0,\n internal_gains_mode=3)\n"
"source": "prj.add_non_residential(\n construction_data='iwu_heavy',\n geometry_data='bmvbs_office',\n name=\"OfficeBuilding\",\n year_of_construction=1988,\n number_of_floors=4,\n height_of_floors=3.5,\n net_leased_area=4500.0)\n\nprj.add_non_residential(\n construction_data='iwu_heavy',\n geometry_data='bmvbs_institute',\n name=\"InstituteBuilding\",\n year_of_construction=1952,\n number_of_floors=5,\n height_of_floors=4.0,\n net_leased_area=3400.0)\n\nprj.add_non_residential(\n construction_data='iwu_heavy',\n geometry_data='bmvbs_institute',\n name=\"InstituteBuildingMoisture\",\n year_of_construction=1980,\n number_of_floors=3,\n height_of_floors=4.2,\n net_leased_area=3600.0,\n internal_gains_mode=3)\n"
},
{
"cell_type": "markdown",
"metadata": {},
"source": "Besides `iwu` and `bmvbs` there is a third option for archetype\ngeneration. We integrated the typology of TABULA Germany\n(http://webtool.building-typology.eu/#bm) and other countries are about to\nfollow. To use TABULA archetype simple choose `tabula_de` as the method\nand `single_family_house`, `multi_family_house`, `terraced_house` or\n`apartment_block` as the usage. In addition you can specify the\nconstruction type of TABULA, chose between `tabula_standard` (default),\n`tabula_retrofit` or `tabula_adv_retrofit`. In this case we generate one\nsingle and one multi family house with TABULA typology.\n"
"source": "Besides `iwu` and `bmvbs` there is a third option for archetype\ngeneration. We integrated the typology of TABULA Germany\n(http://webtool.building-typology.eu/#bm) and other countries are about to\nfollow. To use TABULA archetype simple choose the default `tabula_de_standard` as the construction_data\nand `tabula_de_single_family_house`, `tabula_de_multi_family_house`, `tabula_de_terraced_house` or\n`tabula_de_apartment_block` as the geometry_data. In addition you can specify the\nconstruction type of TABULA, chose between `tabula_de_standard` (default),\n`tabula_de_retrofit` or `tabula_de_adv_retrofit`. In this case we generate one\nsingle and one multi family house with TABULA typology.\n"
},
{
"cell_type": "markdown",
Expand All @@ -73,7 +73,7 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "prj.add_residential(\n method='tabula_de',\n usage='single_family_house',\n name=\"ResidentialBuildingTabula\",\n year_of_construction=1988,\n number_of_floors=3,\n height_of_floors=3.2,\n net_leased_area=280.0,\n construction_type='tabula_standard')\n\nprj.add_residential(\n method='tabula_de',\n usage='multi_family_house',\n name=\"ResidentialBuildingTabulaMulti\",\n year_of_construction=1960,\n number_of_floors=4,\n height_of_floors=3.2,\n net_leased_area=600.0,\n construction_type='tabula_retrofit')\n"
"source": "prj.add_residential(\n construction_data='tabula_de_standard',\n geometry_data='tabula_de_single_family_house',\n name=\"ResidentialBuildingTabula\",\n year_of_construction=1988,\n number_of_floors=3,\n height_of_floors=3.2,\n net_leased_area=280.0)\n\nprj.add_residential(\n construction_data='tabula_de_retrofit',\n geometry_data='tabula_de_multi_family_house',\n name=\"ResidentialBuildingTabulaMulti\",\n year_of_construction=1960,\n number_of_floors=4,\n height_of_floors=3.2,\n net_leased_area=600.0)\n"
}
],
"metadata": {
Expand Down
7 changes: 6 additions & 1 deletion docs/jupyter_notebooks/e2_export_aixlib_models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,17 @@
"metadata": {},
"source": "To export the ready-to-run models simply call Project.export_aixlib().\nYou can specify the path, where the model files should be saved.\nNone means, that the default path in your home directory\nwill be used. If you only want to export one specific building, you can\npass over the internal_id of that building and only this model will be\nexported. In this case we want to export all buildings to our home\ndirectory, thus we are passing over None for both parameters.\n"
},
{
"cell_type": "markdown",
"metadata": {},
"source": "We might want not have all data stored in our result file. By defining\nexport_vars as following we can specify which results we want to store\nand define a collection name under which these results are stored. This\nfeature only works with Dymola.\n"
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "path = prj.export_aixlib(\n internal_id=None,\n path=None)\n"
"source": "export_vars = {\n \"HeatingDemands\": [\"*multizone.PHeater*\", \"*multizone.PHeatAHU\"],\n \"CoolingDemands\": [\"*multizone.PCooler*\", \"*multizone.PCoolAHU\"],\n \"Temperatures\": [\"*multizone.TAir*\", \"*multizone.TRad*\"]\n}\n\npath = prj.export_aixlib(\n internal_id=None,\n path=None,\n report=True,\n export_vars=export_vars\n)\n"
}
],
"metadata": {
Expand Down
10 changes: 5 additions & 5 deletions docs/jupyter_notebooks/e6_generate_building.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "from teaser.project import Project\n"
"source": "from teaser.project import Project\nfrom teaser.data.utilities import ConstructionData\nfrom teaser.data.dataclass import DataClass\n"
},
{
"cell_type": "markdown",
"metadata": {},
"source": "To use the API instantiate the Project class and rename the Project. The\nparameter load_data=True indicates that we load data into our\nProject (e.g. for Material properties and typical wall constructions.\nThis can take a few seconds, depending on the size of the used data base.\n"
"source": "To use the API, instantiate the Project class and rename the project.\n"
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "prj = Project(load_data=True)\nprj.name = \"BuildingExample\"\n"
"source": "prj = Project()\nprj.name = \"BuildingExample\"\nprj.data = DataClass(construction_data=ConstructionData.iwu_heavy)\n"
},
{
"cell_type": "markdown",
Expand Down Expand Up @@ -159,7 +159,7 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "ground_floor_dict = {\"GroundFloor\": [100.0, 0.0, -2]}\n\nfrom teaser.logic.buildingobjects.buildingphysics.innerwall import InnerWall\n\nin_wall_dict = {\"InnerWall1\": [10.0],\n \"InnerWall2\": [14.0],\n \"InnerWall3\": [10.0]}\n\nfor key, value in out_wall_dict.items():\n # Instantiate class, key is the name\n out_wall = OuterWall(parent=tz)\n out_wall.name = key\n # Use load_type_element() function of the building element, and pass\n # over the year of construction of the building and the type of\n # construction (in this case `heavy`).\n\n out_wall.load_type_element(\n year=bldg.year_of_construction,\n construction='heavy')\n\n # area, tilt and orientation need to be set individually.\n\n out_wall.area = value[0]\n out_wall.tilt = value[1]\n out_wall.orientation = value[2]\n"
"source": "ground_floor_dict = {\"GroundFloor\": [100.0, 0.0, -2]}\n\nfrom teaser.logic.buildingobjects.buildingphysics.innerwall import InnerWall\n\nin_wall_dict = {\"InnerWall1\": [10.0],\n \"InnerWall2\": [14.0],\n \"InnerWall3\": [10.0]}\n\nfor key, value in out_wall_dict.items():\n # Instantiate class, key is the name\n out_wall = OuterWall(parent=tz)\n out_wall.name = key\n # Use load_type_element() function of the building element, and pass\n # over the year of construction of the building and the type of\n # construction (in this case `heavy`).\n\n out_wall.load_type_element(\n year=bldg.year_of_construction,\n construction='iwu_heavy')\n\n # area, tilt and orientation need to be set individually.\n\n out_wall.area = value[0]\n out_wall.tilt = value[1]\n out_wall.orientation = value[2]\n"
},
{
"cell_type": "markdown",
Expand All @@ -171,7 +171,7 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "for key, value in in_wall_dict.items():\n\n in_wall = InnerWall(parent=tz)\n in_wall.name = key\n in_wall.load_type_element(\n year=bldg.year_of_construction,\n construction='heavy')\n in_wall.area = value[0]\n\nfrom teaser.logic.buildingobjects.buildingphysics.groundfloor import \\\n GroundFloor\n\nfor key, value in ground_floor_dict.items():\n\n ground = GroundFloor(parent=tz)\n ground.name = key\n ground.load_type_element(\n year=bldg.year_of_construction,\n construction='heavy')\n ground.area = value[0]\n ground.tilt = value[1]\n ground.orientation = value[2]\n\nfrom teaser.logic.buildingobjects.buildingphysics.window import Window\n\nwin_dict = {\"Window_east\": [5.0, 90.0, 90.0],\n \"Window_south\": [8.0, 90.0, 180.0],\n \"Window_west\": [5.0, 90.0, 270.0]}\n\nfor key, value in win_dict.items():\n\n win = Window(parent=tz)\n win.name = key\n win.area = value[0]\n win.tilt = value[1]\n win.orientation = value[2]\n\n # Additional to the already known attributes the window has\n # additional attributes. Window.g_value describes the solar gain\n # through windows, a_conv the convective heat transmission due to\n # absorption of the window on the inner side. shading_g_total and\n # shading_max_irr refers to the shading (solar gain reduction of the\n # shading and shading_max_irr the threshold of irradiance to\n # automatically apply shading).\n\n win.inner_convection = 1.7\n win.inner_radiation = 5.0\n win.outer_convection = 20.0\n win.outer_radiation = 5.0\n win.g_value = 0.789\n win.a_conv = 0.03\n win.shading_g_total = 0.0\n win.shading_max_irr = 180.0\n\n # One equivalent layer for windows\n\n win_layer = Layer(parent=win)\n win_layer.id = 1\n win_layer.thickness = 0.024\n\n # Material for glass\n\n win_material = Material(win_layer)\n win_material.name = \"GlasWindow\"\n win_material.thermal_conduc = 0.067\n win_material.transmittance = 0.9\n"
"source": "for key, value in in_wall_dict.items():\n\n in_wall = InnerWall(parent=tz)\n in_wall.name = key\n in_wall.load_type_element(\n year=bldg.year_of_construction,\n construction='iwu_heavy')\n in_wall.area = value[0]\n\nfrom teaser.logic.buildingobjects.buildingphysics.groundfloor import \\\n GroundFloor\n\nfor key, value in ground_floor_dict.items():\n\n ground = GroundFloor(parent=tz)\n ground.name = key\n ground.load_type_element(\n year=bldg.year_of_construction,\n construction='iwu_heavy')\n ground.area = value[0]\n ground.tilt = value[1]\n ground.orientation = value[2]\n\nfrom teaser.logic.buildingobjects.buildingphysics.window import Window\n\nwin_dict = {\"Window_east\": [5.0, 90.0, 90.0],\n \"Window_south\": [8.0, 90.0, 180.0],\n \"Window_west\": [5.0, 90.0, 270.0]}\n\nfor key, value in win_dict.items():\n\n win = Window(parent=tz)\n win.name = key\n win.area = value[0]\n win.tilt = value[1]\n win.orientation = value[2]\n\n # Additional to the already known attributes the window has\n # additional attributes. Window.g_value describes the solar gain\n # through windows, a_conv the convective heat transmission due to\n # absorption of the window on the inner side. shading_g_total and\n # shading_max_irr refers to the shading (solar gain reduction of the\n # shading and shading_max_irr the threshold of irradiance to\n # automatically apply shading).\n\n win.inner_convection = 1.7\n win.inner_radiation = 5.0\n win.outer_convection = 20.0\n win.outer_radiation = 5.0\n win.g_value = 0.789\n win.a_conv = 0.03\n win.shading_g_total = 0.0\n win.shading_max_irr = 180.0\n\n # One equivalent layer for windows\n\n win_layer = Layer(parent=win)\n win_layer.id = 1\n win_layer.thickness = 0.024\n\n # Material for glass\n\n win_material = Material(win_layer)\n win_material.name = \"GlasWindow\"\n win_material.thermal_conduc = 0.067\n win_material.transmittance = 0.9\n"
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion docs/jupyter_notebooks/e7_retrofit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
"cell_type": "markdown",
"metadata": {},
"source": "To apply simplified retrofit for all buildings in the project we can\nuse Project.retrofit_all_buildings() function. This will retrofit all\nbuilding in the project in following manner:\n1. Replace all window with a new window (default is EnEv window with\nU-Value of XYZ\n2. Add an additional insulation layer to all outer walls (including,\nroof and ground floor). Set the thickness that it corresponds to the\nretrofit standard od the year of retrofit.\nThe year of retrofit has to be specified. In addition, we can set\nthe used window_type and the type of insulation material used.\nAs we have both `iwu`/`bmvbs` and `tabuly` typology in our project we need\nto pass all keywords to the function year_of_retrofit, window_type,\nmaterial for `iwu`/`bmvbs` and type_of_retrofit for `tabula`.\n"
"source": "To apply simplified retrofit for all buildings in the project we can\nuse Project.retrofit_all_buildings() function. This will retrofit all\nbuilding in the project in following manner:\n1. Replace all window with a new window (default is EnEv window with\nU-Value of XYZ\n2. Add an additional insulation layer to all outer walls (including,\nroof and ground floor). Set the thickness that it corresponds to the\nretrofit standard od the year of retrofit.\nThe year of retrofit has to be specified. In addition, we can set\nthe used window_type and the type of insulation material used.\nAs we have both `iwu`/`bmvbs` and `tabula` typology in our project we need\nto pass all keywords to the function year_of_retrofit, window_type,\nmaterial for `iwu`/`bmvbs` and type_of_retrofit for `tabula`.\n"
},
{
"cell_type": "code",
Expand Down
Loading
Loading