-
Notifications
You must be signed in to change notification settings - Fork 222
V25.2.0-IOFreeze: new EvaporativeFluidCooler defaults #5486
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
Conversation
| N4 , \field Heat Rejection Capacity and Nominal Capacity Sizing Ratio | ||
| \required-field | ||
| \type real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need VT because of this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so this is a new field, and E+ has 1.25 as the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is not a new field, I didn't bother going back to the root, but it was already there in V8-6-0.
Not sure why we don't have it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was added in OS SDK 1.13.0, which was based on V8.6.0.
That field was added somewhere between E+ V8.0.0 and V8.1.0, so I'm not sure how this happened, but let's just say we don't care, it's just too old to care. Adding it, and moving on
| } | ||
|
|
||
| boost::optional<double> EvaporativeFluidCoolerSingleSpeed_Impl::autosizedDesignEnteringWaterTemperature() const { | ||
| return getAutosizedValue("TODO", "m3/s"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to address this.
| } | ||
|
|
||
| boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedDesignEnteringWaterTemperature() const { | ||
| return getAutosizedValue("TODO", "W"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to address this.
| N9 , \field Design Entering Water Temperature | ||
| \type real | ||
| \units C | ||
| \minimum> 0.0 | ||
| \default autosize | ||
| \autosizable | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; | ||
| \note for other Performance Input Methods, this field is ignored. | ||
| \note Design Entering Water Temperature must be greater than Design Entering Air Temperature. | ||
| N9 , \field Design Entering Air Temperature | ||
| N10, \field Design Entering Air Temperature | ||
| \type real | ||
| \units C | ||
| \default 35.0 | ||
| \minimum> 0.0 | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; | ||
| \note for other Performance Input Methods, this field is ignored. | ||
| \note Design Entering Air Temperature must be greater than Design Entering Air Wet-bulb | ||
| \note Temperature. | ||
| N10, \field Design Entering Air Wet-bulb Temperature | ||
| N11, \field Design Entering Air Wet-bulb Temperature | ||
| \type real | ||
| \units C | ||
| \default 25.6 | ||
| \minimum> 0.0 | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like these should just be made required. Then our getters are simplified. If so, we need VT rules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum.
So Design Entering Air Temperature / Design Entering Air Wet-bulb Temperature
Only used for Performance Input Method = UserSpecifiedDesignCapacity; for other performance input methods this field is ignored.
That's why we had a reset function before.
| * `Design Entering Air Wet-bulb Temperature` | ||
| * API-breaking changes for `EvaporativeFluidCooler:SingleSpeed` and `EvaporativeFluidCooler:TwoSpeed`: | ||
| * `designEnteringAirTemperature` and `designEnteringAirWetbulbTemperature` (`boost::optional<double>` to `double`) | ||
| * `resetDesignEnteringWaterTemperature`, `resetDesignEnteringAirTemperature`, and `resetDesignEnteringAirWetbulbTemperature` are removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these instead be deprecated (to do nothing)? Seems dangerous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically speaking, we could have the reset do the IDD default (autosize, 35.0 and 25.6).
But I think it's confusing. We're already API breaking this object here anyways, so I think it's best to just rip out the band aid right away.
| N4 , \field Heat Rejection Capacity and Nominal Capacity Sizing Ratio | ||
| \required-field | ||
| \type real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so this is a new field, and E+ has 1.25 as the default.
| N4 , \field Heat Rejection Capacity and Nominal Capacity Sizing Ratio | ||
| \required-field | ||
| \type real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is not a new field, I didn't bother going back to the root, but it was already there in V8-6-0.
Not sure why we don't have it?
| N4 , \field Heat Rejection Capacity and Nominal Capacity Sizing Ratio | ||
| \required-field | ||
| \type real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was added in OS SDK 1.13.0, which was based on V8.6.0.
That field was added somewhere between E+ V8.0.0 and V8.1.0, so I'm not sure how this happened, but let's just say we don't care, it's just too old to care. Adding it, and moving on
| N9 , \field Design Entering Water Temperature | ||
| \type real | ||
| \units C | ||
| \minimum> 0.0 | ||
| \default autosize | ||
| \autosizable | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; | ||
| \note for other Performance Input Methods, this field is ignored. | ||
| \note Design Entering Water Temperature must be greater than Design Entering Air Temperature. | ||
| N9 , \field Design Entering Air Temperature | ||
| N10, \field Design Entering Air Temperature | ||
| \type real | ||
| \units C | ||
| \default 35.0 | ||
| \minimum> 0.0 | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; | ||
| \note for other Performance Input Methods, this field is ignored. | ||
| \note Design Entering Air Temperature must be greater than Design Entering Air Wet-bulb | ||
| \note Temperature. | ||
| N10, \field Design Entering Air Wet-bulb Temperature | ||
| N11, \field Design Entering Air Wet-bulb Temperature | ||
| \type real | ||
| \units C | ||
| \default 25.6 | ||
| \minimum> 0.0 | ||
| \ip-units F | ||
| \note Only used for Performance Input Method = UserSpecifiedDesignCapacity; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum.
So Design Entering Air Temperature / Design Entering Air Wet-bulb Temperature
Only used for Performance Input Method = UserSpecifiedDesignCapacity; for other performance input methods this field is ignored.
That's why we had a reset function before.
| \required-field | ||
| \autosizable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a side node: IMHO Should probably be \autocalculatable given that it just reads mandatory numeric values from Sizing:Plant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyways, this field is also
Only used for Performance Input Method = UserSpecifiedDesignCapacity; for other performance input methods this field is ignored.
Hence why we have had a reset function for it as well
| { | ||
| EvaporativeFluidCoolerTwoSpeed obj(m); | ||
| EXPECT_EQ(openstudio::energyplus::ComponentType::COOLING, openstudio::energyplus::componentType(obj)); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's repeated below (right after EvaporativeFluidCoolerSingleSpeed obj(m)).
| } else if (modelObject.isDesignEnteringWaterTemperatureAutosized()) { | ||
| idfObject.setString(openstudio::EvaporativeFluidCooler_SingleSpeedFields::DesignEnteringWaterTemperature, "Autosize"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, all good for FT.
Note: generally speaking, I wonder if it's better to only translate choice-dependent fields.
Meaning here, if performance input method is not UserSpecifiedDesignCapacity, should you not translate these Design Temperatures?
Another area where we should probably have guidelines for consistency
@joseph-robertson I filled this, to echo some convos we've had on Slack in the past few months too:
| Test/EvaporativeFluidCoolerSingleSpeed_GTest.cpp | ||
| Test/EvaporativeFluidCoolerTwoSpeed_GTest.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this
|
TL;DR right now:
But I'd like to clarify the autosizedDesignWaterFlowRate thing:
|
You mean |
0745cc6 to
c37a3fc
Compare
|
CI Results for 6683419:
|
Pull request overview
Pull Request Author
src/model/test)src/energyplus/Test)src/osversion/VersionTranslator.cpp)Labels:
IDDChangeAPIChangePull Request - Ready for CIso that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.