Skip to content

Conversation

@brgix
Copy link
Collaborator

@brgix brgix commented Dec 28, 2025

In support of branch nrcan_476:

  • fixes TBD unit test to cover simple derating cases: "good" and "bad" PSI factor sets
  • preps for embodied carbon estimates of non-modelled structural elements (e.g. columns, bracing, cabinets)
  • embodied GHG (structure, non-modelled partitions) may need tweaking at some point - OK for now

@nicholaspneu : merge with nrcan_476 at your convenience.

@brgix brgix self-assigned this Dec 28, 2025
if attic
if boundary == "outdoors"
assert(TBD.rsi(lc) < 1.0, err_msg) # uninsulated
assert(TBD.rsi(lc, film) < 1.0, err_msg) # uninsulated
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... more thorough.

uo = prop.get
# puts "#{id} : #{uo.round(3)} vs #{(1/TBD.rsi(lc)).round(3)}"
unless option == 'uprate'
assert_empty(prop, err_msg)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(New) AdditionalProperty not yet enabled for simple derating cases.

lload = activity.liveload

if cat.respond_to?(:to_s)
if cat.respond_to?(:to_sym)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferable to check for symbols than stringable objects, then convert to strings.

case @@data[:category]
when "commerce" then partition_m2 = floor_m2 / 2
when "industry" then partition_m2 = floor_m2 / 4
when "recreation" then partition_m2 = floor_m2 / 3
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A deeper dive may be required to adjust non-modelled partition m2 / floor area m2. Best guesstimate for now.

#
# Upon initialization, only the :structure tally is set. It is assumed
# that structure (and main framing) do not change with NECB U-factor
# requirements, e.g.:
Copy link
Collaborator Author

@brgix brgix Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Embodied carbon linked to modelled surfaces (e.g. envelope), now calculated elsewhere in BTAP.

@brgix brgix requested a review from nicholaspneu December 29, 2025 14:18
@nicholaspneu nicholaspneu merged commit 01166c2 into nrcan_476 Jan 5, 2026
0 of 3 checks passed
@nicholaspneu
Copy link
Collaborator

Merged, thank you Denis.

@brgix brgix deleted the nrcan_476b branch January 5, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants