NatLabRockies / NatLabRockies/OpenStudio
AirGap material returns absorptance properties even though they aren't defined
@jmarrec is already working on this.
Since Jun 11, 2021.
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
AirGap returns absorptance properties even though they aren't defined for the material (https://openstudio-sdk-documentation.s3.amazonaws.com/cpp/OpenStudio-3.2.0-doc/model/html/classopenstudio_1_1model_1_1_air_gap.html).
For example, material.thermalAbsorptance returns 0.0.
Current Behavior
material.thermalAbsorptance, material.solarAbsorptance, material.visibleAbsorptance return 0.0
Expected Behavior
This should raise an undefined method error.
Steps to Reproduce
Using OS CLI:
model = OpenStudio::Model::Model.new
material = OpenStudio::Model::AirGap.new(model)
material.thermalAbsorptance
returns 0.0
Environment
- Windows, openstudio-3.2.0-rc1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.