NatLabRockies / NatLabRockies/OpenStudio

AirGap material returns absorptance properties even though they aren't defined

Open
#4,351 2 comments 0 reactions 1 assignee View on GitHub

@jmarrec is already working on this.

Since Jun 11, 2021.

component - Model severity - Minor Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.