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

CoolingTower:SingleSpeed forward translates design approach temperature as design temperature range #5338

Closed
eringold opened this issue Dec 31, 2024 · 0 comments · Fixed by #5345

Comments

@eringold
Copy link
Contributor

Issue overview

Reported here: https://unmethours.com/question/100820/error-when-autosizing-the-load-for-cooling-tower/

Current Behavior

designApproachTemperature set to DesignRangeTemperature:

if (modelObject.isDesignRangeTemperatureAutosized()) {
idfObject.setString(openstudio::CoolingTower_SingleSpeedFields::DesignRangeTemperature, "Autosize");
} else if ((d = modelObject.designApproachTemperature())) {
idfObject.setDouble(openstudio::CoolingTower_SingleSpeedFields::DesignRangeTemperature, d.get());
}

Steps to Reproduce

ct = OpenStudio::Model::CoolingTowerSingleSpeed.new(model)
ct.setDesignApproachTemperature(4)
ct.setDesignRangeTemperature(5)

=> FT => 

CoolingTower:SingleSpeed,
   ...
  4,                                      !- Design Approach Temperature {deltaC}
  4,                                      !- Design Range Temperature {deltaC}

Possible Solution

Details

Environment

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

  • Version of OpenStudio (if using an intermediate build, include SHA): 3.9.0
@eringold eringold added the Triage Issue needs to be assessed and labeled, further information on reported might be needed label Dec 31, 2024
@jmarrec jmarrec self-assigned this Jan 14, 2025
@jmarrec jmarrec added severity - Normal Bug component - IDF Translation and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants