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

Update IDD fields for water equipment to have \ip-units gal/min #5339

Closed
macumber opened this issue Jan 3, 2025 · 1 comment · Fixed by #5346
Closed

Update IDD fields for water equipment to have \ip-units gal/min #5339

macumber opened this issue Jan 3, 2025 · 1 comment · Fixed by #5346

Comments

@macumber
Copy link
Contributor

macumber commented Jan 3, 2025

Issue overview

Originally reported at openstudiocoalition/OpenStudioApplication#779

Water equipment with flow rates in \units m3/s should have \ip-units gal/min to override the default conversion to ft3/s which is not used in practice.

Current Behavior

Water equipment with flow rates in \units m3/s is converted to ft3/s when converting to IP units.

Expected Behavior

Water equipment with flow rates in \units m3/s should be converted to gal/min when converting to IP units.

Steps to Reproduce

OpenStudio::IdfObject.new("OS:SolarCollector:FlatPlate:Water".to_IddObjectType).iddObject.getField(6).get.properties.units.get
OpenStudio::IdfObject.new("OS:SolarCollector:FlatPlate:Water".to_IddObjectType).iddObject.getField(6).get.properties.ipUnits.get

Possible Solution

Add \ip-units gal/min to the OpenStudio.idd for fields with water flow rates. OS:SolarCollector:FlatPlate:Water::Maximum Flow Rate is one field but a complete review would be a good idea.

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version):
  • Version of OpenStudio (if using an intermediate build, include SHA):

Context

@macumber macumber added the Triage Issue needs to be assessed and labeled, further information on reported might be needed label Jan 3, 2025
@macumber
Copy link
Contributor Author

macumber commented Jan 3, 2025

This script https://github.com/NREL/OpenStudio/blob/develop/developer/ruby/FindAndAddMissingIPUnits.rb appears to have tried to address this issue

@jmarrec jmarrec self-assigned this Jan 14, 2025
@jmarrec jmarrec added Enhancement Request IDDChange and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Jan 14, 2025
jmarrec added a commit that referenced this issue Jan 15, 2025
Fix #5339 - Fixup Idd units m3/s -> gal/min
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants