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

Fix #4016 - Move VT from 2.9.0 to 3.0.0 for new fields at end of the ZoneHVAC:TerminalUnit:VariableRefrigerantFlow #4032

Merged
merged 1 commit into from Aug 10, 2020

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Aug 5, 2020

Pull request overview

Tested via the failing component in #4016

wget https://raw.githubusercontent.com/DavidGoldwasser/PAT_projects/os30_upgrade/PAT_SDDC_PrimarySchool/measures/zedgk_12_hvac_vrf_with_doas/resources/VRF_Terminal.osc
p = 'VRF_Terminal.osc'
vt = OpenStudio::OSVersion::VersionTranslator.new
new_objectComponent = vt.loadComponent(OpenStudio::Path.new(p))
object = new_objectComponent.get.primaryObject
puts object

Before:

OS:ZoneHVAC:TerminalUnit:VariableRefrigerantFlow,
  {4e15e1b4-659e-4025-9dfa-d9886f97eced}, !- Handle
  VRF Terminal Unit,                      !- Name
  {a62ea42d-ebe7-405e-a7fd-a4a18662a939}, !- Terminal Unit Availability schedule
  ,                                       !- Terminal Unit Air Inlet Node
  ,                                       !- Terminal Unit Air Outlet Node
  0.2,                                    !- Supply Air Flow Rate During Cooling Operation {m3/s}
  autosize,                               !- Supply Air Flow Rate When No Cooling is Needed {m3/s}
  0.2,                                    !- Supply Air Flow Rate During Heating Operation {m3/s}
  autosize,                               !- Supply Air Flow Rate When No Heating is Needed {m3/s}
  autosize,                               !- Outdoor Air Flow Rate During Cooling Operation {m3/s}
  autosize,                               !- Outdoor Air Flow Rate During Heating Operation {m3/s}
  autosize,                               !- Outdoor Air Flow Rate When No Cooling or Heating is Needed {m3/s}
  {a62ea42d-ebe7-405e-a7fd-a4a18662a939}, !- Supply Air Fan Operating Mode Schedule
  ,                                       !- Supply Air Fan placement
  {2c002f23-1469-41f7-919f-735fb7091339}, !- Supply Air Fan
  ,                                       !- Outside Air Mixer
  {c25f7f69-6b16-4bbc-a394-dfe502fe30b7}, !- Cooling Coil
  {68998874-fdb3-46f0-baf4-5aa2765f1978}, !- Heating Coil
  30,                                     !- Zone Terminal Unit On Parasitic Electric Energy Use {W}
  20,                                     !- Zone Terminal Unit Off Parasitic Electric Energy Use {W}
  1,                                      !- Rated Total Heating Capacity Sizing Ratio {W/W}
  ,                                       !- Availability Manager List Name
  ,                                       !- Design Specification ZoneHVAC Sizing Object Name
  ,                                       !- Supplemental Heating Coil Name
  ,                                       !- Maximum Supply Air Temperature from Supplemental Heater {C}
  ;                                       !- Maximum Outdoor Dry-Bulb Temperature for Supplemental Heater Operation {C}

After:

OS:ZoneHVAC:TerminalUnit:VariableRefrigerantFlow,
  {4e15e1b4-659e-4025-9dfa-d9886f97eced}, !- Handle
  VRF Terminal Unit,                      !- Name
  {a62ea42d-ebe7-405e-a7fd-a4a18662a939}, !- Terminal Unit Availability schedule
  ,                                       !- Terminal Unit Air Inlet Node
  ,                                       !- Terminal Unit Air Outlet Node
  0.2,                                    !- Supply Air Flow Rate During Cooling Operation {m3/s}
  autosize,                               !- Supply Air Flow Rate When No Cooling is Needed {m3/s}
  0.2,                                    !- Supply Air Flow Rate During Heating Operation {m3/s}
  autosize,                               !- Supply Air Flow Rate When No Heating is Needed {m3/s}
  autosize,                               !- Outdoor Air Flow Rate During Cooling Operation {m3/s}
  autosize,                               !- Outdoor Air Flow Rate During Heating Operation {m3/s}
  autosize,                               !- Outdoor Air Flow Rate When No Cooling or Heating is Needed {m3/s}
  {a62ea42d-ebe7-405e-a7fd-a4a18662a939}, !- Supply Air Fan Operating Mode Schedule
  ,                                       !- Supply Air Fan placement
  {2c002f23-1469-41f7-919f-735fb7091339}, !- Supply Air Fan
  ,                                       !- Outside Air Mixer
  {c25f7f69-6b16-4bbc-a394-dfe502fe30b7}, !- Cooling Coil
  {68998874-fdb3-46f0-baf4-5aa2765f1978}, !- Heating Coil
  30,                                     !- Zone Terminal Unit On Parasitic Electric Energy Use {W}
  20,                                     !- Zone Terminal Unit Off Parasitic Electric Energy Use {W}
  1,                                      !- Rated Total Heating Capacity Sizing Ratio {W/W}
  ,                                       !- Availability Manager List Name
  ,                                       !- Design Specification ZoneHVAC Sizing Object Name
  ,                                       !- Supplemental Heating Coil Name
  Autosize,                               !- Maximum Supply Air Temperature from Supplemental Heater {C}
  21;                                     !- Maximum Outdoor Dry-Bulb Temperature for Supplemental Heater Operation {C}

Pull Request Author

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

  • Model API Changes / Additions
  • Any new or modified fields have been implemented in the EnergyPlus ForwardTranslator (and ReverseTranslator as appropriate)
  • Model API methods are tested (in src/model/test)
  • EnergyPlus ForwardTranslator Tests (in src/energyplus/Test)
  • If a new object or method, added a test in NREL/OpenStudio-resources: Add Link
  • If needed, added VersionTranslation rules for the objects (src/osversion/VersionTranslator.cpp)
  • Checked behavior in OpenStudioApplication, adjusted policies as needed (src/openstudio_lib/library/OpenStudioPolicy.xml)
  • Verified that C# bindings built fine on Windows, partial classes used as needed, etc.
  • All new and existing tests passes
  • If methods have been deprecated, update rest of code to use the new methods

Labels:

  • If change to an IDD file, add the label IDDChange
  • If breaking existing API, add the label APIChange
  • If deemed ready, add label Pull Request - Ready for CI so that CI builds your PR

Review Checklist

This will not be exhaustively relevant to every PR.

  • Perform a Code Review on GitHub
  • Code Style, strip trailing whitespace, etc.
  • All related changes have been implemented: model changes, model tests, FT changes, FT tests, VersionTranslation, OS App
  • Labeling is ok
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified

…ZoneHVAC:TerminalUnit:VariableRefrigerantFlow

Note #3687 was originally planned for 2.9.0 inclusion, so VT was there. But it was only merged to develop3 and hence relased in 3.0.0
Moving it in the right location, as needed per #4016
@jmarrec jmarrec added severity - Normal Bug component - HVAC component - Version Translator Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. labels Aug 5, 2020
@jmarrec jmarrec self-assigned this Aug 5, 2020
@jmarrec jmarrec added this to the OpenStudio SDK 3.1.0 milestone Aug 5, 2020
@jmarrec jmarrec added this to In progress in OpenStudio via automation Aug 5, 2020
@jmarrec jmarrec moved this from In progress to Ready to Test in OpenStudio Aug 5, 2020
Copy link
Collaborator

@DavidGoldwasser DavidGoldwasser left a comment

Choose a reason for hiding this comment

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

Thanks, that looks good. Sounds like with the fix the VRF components on BCL and TPEX don't need to be updated (if we can wait for next version)

@jmarrec
Copy link
Collaborator Author

jmarrec commented Aug 6, 2020

Thanks, that looks good. Sounds like with the fix the VRF components on BCL and TPEX don't need to be updated (if we can wait for next version)

Did you check with the Darwin installer posted in #4032 (comment) or just review?

@jmarrec jmarrec requested a review from kbenne August 6, 2020 11:13
@DavidGoldwasser
Copy link
Collaborator

@jmarrec No I didn't try the the installer, but I can do that this weekend or next week.

@kbenne kbenne merged commit d6fb42e into develop Aug 10, 2020
OpenStudio automation moved this from Ready to Test to Done Aug 10, 2020
@kbenne kbenne deleted the 4016_VRF_Crash branch August 10, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component - HVAC component - Version Translator Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. severity - Normal Bug
Projects
No open projects
OpenStudio
  
Done
Development

Successfully merging this pull request may close these issues.

VRF issue with Openstudio
4 participants