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

Map mobile homes to HPXML's "manufactured home" #1270

Merged
merged 4 commits into from
Jul 12, 2024
Merged

Conversation

shorowit
Copy link
Contributor

@shorowit shorowit commented Jul 11, 2024

Pull Request Description

Maps mobile homes to HPXML using "manufactured home" instead of "single-family detached". Partially addresses #1098.

Checklist

Not all may apply:

@shorowit shorowit self-assigned this Jul 11, 2024
Comment on lines 411 to 413
# FIXME: Need to disaggregate detached and mobile home
cfas = { ['0-499', HPXML::ResidentialTypeSFD] => 298, # AHS 2021, 1 detached and mobile home weighted average
['0-499', HPXML::ResidentialTypeSFA] => 273, # AHS 2021, 1 detached and mobile home weighted average
['0-499', HPXML::ResidentialTypeSFA] => 273, # AHS 2021, 1 attached
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joseph-robertson Do you know how to generate new numbers that disaggregate SFD and MH?

Copy link
Contributor

Choose a reason for hiding this comment

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

I do not; I believe @afontani did this. But note that we very recently have been discussing modifying this approach with not only a replacement of AHS with RECS, but also some kind of random selection of CFAs within bins. We should probably discuss.

@rajeee

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In that case, we can probably keep this PR as is. It makes no substantive changes (no changes to simulation results); it only updates the building type in the HPXML and lays the groundwork for making additional MH-specific changes in the future.

Comment on lines 468 to 479
if [HPXML::ResidentialTypeSFD].include?(args[:geometry_unit_type])
# FIXME: Need to disaggregate detached and mobile home
if [HPXML::ResidentialTypeSFD, HPXML::ResidentialTypeManufactured].include?(args[:geometry_unit_type])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably not worth changing this right now. I'm looking to incorporate these plug load equations into OpenStudio-HPXML, and will separate out SFD and MH there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shorowit shorowit changed the title Maps mobile homes to HPXML's "manufactured home" Map mobile homes to HPXML's "manufactured home" Jul 11, 2024
@shorowit shorowit marked this pull request as ready for review July 12, 2024 14:43
@joseph-robertson joseph-robertson added this to the ResStock v3.3.0 milestone Jul 12, 2024
@joseph-robertson joseph-robertson merged commit af08e72 into develop Jul 12, 2024
0 of 8 checks passed
@joseph-robertson joseph-robertson deleted the mobile_homes branch July 12, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants