-
Notifications
You must be signed in to change notification settings - Fork 389
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
Correction of Enclosure Based Solar Output Variables #10563
Conversation
Renamed variables required to correct the issue with Defect #10552 Includes modified source code including table reports and modified input files in the testfiles folder.
Modification of the documentation for the variable name changes. Also found two variables that were not previously shown in the list. Plus added some text about where to find the enclosure name if the user is uncertain what it is.
Modifications to the transition program and the transition report variables file for the name changes associated with this correction.
It was not noticed that the energy management sensor was already showing up in the CASE list, leading to a duplicate CASE which the compiler did not appreciate.
Missed a couple of IDFs that had variables that were changed.
@@ -500,6 +500,46 @@ SUBROUTINE CreateNewIDFUsingRules(EndOfFile,DiffOnly,InLfn,AskForInput,InputFile | |||
OutArgs(1)='*' | |||
nodiff=.false. | |||
ENDIF | |||
IF (OutArgs(3) == 'ZONE WINDOWS TOTAL TRANSMITTED SOLAR RADIATION RATE') THEN |
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.
These lines shouldn't be necessary. Transition should read Report Variables 24-1-0 to 24-2-0.csv and convert everything on the list (for both output variables and EMS sensors).
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.
Got it--my bad. I have backed this out in the latest commit that I just made.
0,0,These numbers should be the number of report variables in the following list (including deletes). Two columns/numbers. | ||
|
||
24.1.0,24.2.0,Transition notes - some of these are EMS variable names | ||
0,0,These numbers should be the number of report variables in the following list (including deletes). Two columns/numbers. |
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 be 10,10,These numbers.....
.
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.
Also fixed in the latest commit that I just made.
@@ -3570,13 +3570,13 @@ | |||
|
|||
Output:Variable,*,Surface Window Transmitted Solar Radiation Rate,annual; | |||
|
|||
Output:Variable,*,Zone Exterior Windows Total Transmitted Beam Solar Radiation Rate,monthly; | |||
Output:Variable,*, Enclosure Exterior Windows Total Transmitted Beam Solar Radiation Rate,monthly; |
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'm surprised at how many test files had some of these output variables in them.
testfiles/_SmallOffice_Dulles.idf
Outdated
@@ -5057,9 +5057,9 @@ | |||
SumOrAverage, !- Aggregation Type for Variable or Meter 2 | |||
Zone Windows Total Transmitted Solar Radiation Rate, !- Variable or Meter 3 Name |
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.
Missed some conversions here (AUD diffs were the hint something was up). There are also AUD diffs in 5ZoneEconomicsTariffAndLifeCycleCosts, 5ZoneTDV, and several other files.
@Myoldmopar When I run this file locally, I see err diffs. There's a new warning with this branch, but no err diffs on ci:
** Warning ** Processing Monthly Tabular Reports: Variable names not valid for this simulation
** ~~~ ** ...use Output:Diagnostics,DisplayExtraWarnings; to show more details on individual variables.
And, duh, just realized, that's because locally it ran a RunPeriod simulation, but CI didn't, so these monthly reports didn't process.
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.
Huh, weird. Ok, I see that somehow I missed some of these IDF files. Not sure how, unless these were modified during recent commits. But it is strange that it didn't show up in the CI. Anyway, I'm working my way through this again. Should have another commit to fix these issues today.
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, just made another commit to address this. Should be all of them now. Thanks!
Backed out changes that were not need in the transition program due to the variables being listed in the .csv file. Also made a correction to the report variables .csv file.
During review, it was noticed that there were new error messages in various files. Apparently, not all of the IDFs with the old variable names were converted to the new names. This should now be corrected.
Not sure how these keep getting missed. Probably user error...
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.
Tested transition - works well now. Found a couple of typos and cleaned up some unrelated warnings in another idf. Changes pushed. Once CI comes back clean, will merge.
"just change the names of some output variables" Such a simple fix - not.
Thanks @RKStrand
! Multiplier 2 causes a new window definition. | ||
|
||
Output:Variable,ZN001:WALL001:WIN001:2,Surface Outside Face Incident Solar Radiation Rate per Area,timestep; |
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 for the record. Window multipliers do not create new windows, they just adjust the areas. Delete these output variable objects that trip warnings .
** Warning ** The following Report Variables were requested but not generated -- check.rdd file
Pull request overview
Space
name #10552NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.