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 #304 - Add new HumidifierSteamGas to the OpenStudioApplication #307

Merged
merged 11 commits into from Feb 10, 2021

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Feb 3, 2021

Fix #304 - Add new HumidifierSteamGas to the OpenStudioApplication

image

image

return model
end

m = osload('hvac_library.osm')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this script supposed to be run multiple times or just once? Should it remove existing humidifiers? Seems like a useful new pattern but not quit sure what the pattern is.

Copy link
Collaborator Author

@jmarrec jmarrec Feb 10, 2021

Choose a reason for hiding this comment

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

@macumber Thanks you for your contribution to OpenStudioApplication. This question is answered in our wiki at https://github.com/openstudiocoalition/OpenStudioApplication/wiki/Registering-a-new-SDK-object-in-the-OSApp#hvac-components-adding-them-to-the-hvac_library

Joke aside, this is supposed to be run (probably by me) once we have the official installer (or at least an IOFreeze version) and we bump the hvac_library to a new version. Otherwise I would be VT'ing the hvac_library now, while other VT rules haven't been added yet in the SDK, and risk putting the hvac_library in a broken state. I applied the same pattern for the last release.

@@ -191,6 +191,7 @@ IconLibrary::IconLibrary() {
new QPixmap(":images/heatpump_watertowater_equationfit_heating.png");
m_icons[openstudio::IddObjectType(openstudio::IddObjectType::OS_Humidifier_Steam_Electric).value()] =
new QPixmap(":images/electric_humidifier.png");
m_icons[openstudio::IddObjectType(openstudio::IddObjectType::OS_Humidifier_Steam_Gas).value()] = new QPixmap(":images/gas_humidifier.png");
Copy link
Collaborator

Choose a reason for hiding this comment

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

New icon looks cool, did you make it?

Copy link
Collaborator Author

@jmarrec jmarrec Feb 10, 2021

Choose a reason for hiding this comment

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

I did. If you look closely, you can see pixelisation from my approximate use of Gimp. I never "create" icons as I lack the necessary skills. I usually take an icon, and add a portion of another icon or two or something.

electric_humidifier.png

electric_humidifier.png

+ series_fan_terminal.png

series_fan_terminal.png

= gas_humidifier.png

gas_humidifier.png

@macumber
Copy link
Collaborator

Not sure what is going on with CI, would the new CPack stuff you did fix that?

@jmarrec
Copy link
Collaborator Author

jmarrec commented Feb 10, 2021

I had the same CI problem on the pre-release build I had triggered the other day. I think it was a temporary github issue. i'm rebooting this one and we'll see.

@jmarrec
Copy link
Collaborator Author

jmarrec commented Feb 10, 2021

I don't know what CI is doing, but it's not related to this PR. I'm merging it in.

@jmarrec jmarrec merged commit 939af3f into develop Feb 10, 2021
@jmarrec jmarrec deleted the 304_Humidifier_Steam_Gas branch February 10, 2021 13:48
jmarrec added a commit that referenced this pull request May 28, 2021
```
cd src/openstudio_app/Resources/default
/usr/local/openstudio-3.2.0/bin/openstudio add_humidifier_steam_gas.rb
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new Humidifier:Stream:Gas to the OpenStudioApplication
2 participants