You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user clears an input field, leave it empty or default to energyplus default value instead of writing "0".
Detailed Description
Windows 10 Home
OpenStudioApplication 1.1.0
OpenStudioApplication should behave as energyplus when the user clears an input field (i.e. sets its value to "").
IDF Editor will leave the field empty and energyplus will use the default value when simulating.
OpenStudioApplication writes "0", thus forcing overwriting energyplus default.
Example with OS:SpaceInfiltration:DesignFlowRate "Constant Term Coefficient": the default value is "1". If you clear it and focus on another field, "" will be automatically replaced by "0". If you don't pay attention to this and don't read the simulation warnings, it will screw the whole simulation.
Possible Implementation
Either leave it empty (i.e. leave it to energyplus) or default to energyplus default value.
If possible, an help text to explicitly show what the default value is would be a nice addition.
I don't know how easy it is to retrieve energyplus default values, thus leaving the field empty might be the easiest implementation. It is also the best option for allowing an easier maintenance of your models: in case the next version of energyplus uses another default value, you won't "benefit" from it if the current default value is hardcoded in your OSM/IDF file.
The text was updated successfully, but these errors were encountered:
Enhancement Request
When the user clears an input field, leave it empty or default to energyplus default value instead of writing "0".
Detailed Description
Windows 10 Home
OpenStudioApplication 1.1.0
OpenStudioApplication should behave as energyplus when the user clears an input field (i.e. sets its value to "").
IDF Editor will leave the field empty and energyplus will use the default value when simulating.
OpenStudioApplication writes "0", thus forcing overwriting energyplus default.
Example with OS:SpaceInfiltration:DesignFlowRate "Constant Term Coefficient": the default value is "1". If you clear it and focus on another field, "" will be automatically replaced by "0". If you don't pay attention to this and don't read the simulation warnings, it will screw the whole simulation.
Possible Implementation
Either leave it empty (i.e. leave it to energyplus) or default to energyplus default value.
If possible, an help text to explicitly show what the default value is would be a nice addition.
I don't know how easy it is to retrieve energyplus default values, thus leaving the field empty might be the easiest implementation. It is also the best option for allowing an easier maintenance of your models: in case the next version of energyplus uses another default value, you won't "benefit" from it if the current default value is hardcoded in your OSM/IDF file.
The text was updated successfully, but these errors were encountered: