-
Notifications
You must be signed in to change notification settings - Fork 72
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
Issue745 add kfw archetypes #757
Conversation
…thod, usage, construction_type to construction_data and geometry_data using enums
…ion_data and geometry_data
…WArchetypes # Conflicts: # teaser/data/output/aixlib_output.py # teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone # teaser/logic/buildingobjects/buildingphysics/wall.py # teaser/logic/buildingobjects/useconditions.py # teaser/project.py # tests/test_useconditions.py
…issue745_AddKfWArchetypes
# Conflicts: # teaser/data/output/aixlib_output.py # teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonas0902 Thanks for the really cools features! I have some minor comments you can address / change.
Afterwards, maybe @DaJansenGit wants to have a look into the changes, else we are good to go.
teaser/logic/buildingobjects/buildingphysics/buildingelement.py
Outdated
Show resolved
Hide resolved
…pyter Notebook format.
…issue745_AddKfWArchetypes
…pyter Notebook format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes requested, thanks for the good work :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version = 0.7
: shouldn't we update these as well to 1.0? The question is why we have a version in the .json files anyway? We can discuss this in our meeting today. If we do changes, we need to do them in all .json files and in the code for loading functions of the .json files.
@@ -20,7 +20,7 @@ def example_generate_archetype(): | |||
# used data base). Be careful: Dymola does not like whitespaces in names and | |||
# filenames, thus we will delete them anyway in TEASER. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this documentation needs to be revised as we don't set load_data=True
@@ -15,14 +15,17 @@ def example_create_building(): | |||
# First step: Import the TEASER API (called Project) into your Python module | |||
|
|||
from teaser.project import Project | |||
from teaser.data.utilities import ConstructionData | |||
from teaser.data.dataclass import DataClass | |||
|
|||
# To use the API instantiate the Project class and rename the Project. The | |||
# parameter load_data=True indicates that we load data into our |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this documentation needs to be revised as we don't set load_data=True
…pyter Notebook format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my comments regarding the docs in the example file. If you agree, change the .py files.
As a default, the 'iwu' archetype data will be loaded into our Project | ||
via DataClass(construction_data=ConstructionData.iwu_heavy) (e.g. for material properties | ||
and typical wall constructions. This can take a few seconds depending on the size of the used database). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though the data is not loaded anymore? At least I don't see it in project.py
Project (e.g. for Material properties and typical wall constructions. | ||
This can take a few seconds, depending on the size of the used data base. | ||
To use the API, instantiate the Project class and rename the project. | ||
As a default, the 'iwu' archetype data will be loaded into our Project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks good! Let's wait for CI and push of new examples. Then you can merge.
…pyter Notebook format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI looks good, you can go ahead and merge @jonas0902
closes #745