Remove unused second flow rate input from vertical GLHEs#4661
Remove unused second flow rate input from vertical GLHEs#4661Myoldmopar merged 8 commits intodevelopfrom
Conversation
…ed). Changed the Max Flow Rate field to be Design Flow Rate (because that how it is implemented). Other minor cleanups.
|
@mjwitte Eng. Ref. does not mention the fields specifically and the I/O Ref. only says, basically: "this is the max flow rate" and "this is the design flow rate." All this fix does is clarify to the user that there really is only one field that they need, which is the design flow rate. AND, it gets them labeled correctly. Before this, the only field being used was the Max Flow Rate, which was being treated as the Design Flow Rate by E+. The Design Flow Rate field was not being used at all. See the following for reference: We could implement your suggestion, but I'd have to go back into documentation and figure out exactly what the authors intended. Perhaps @Myoldmopar could comment on this. In the past we've discussed some issues associated with flow rates and this model. Regarding why some of the fields had different values, I have to assume people took the fields at face value without checking them. |
|
@mmAtTs Ok thanks. No need to revisit, thanks for the cleanup. |
Havent tested yet, but it should be close anyway; Updated CMake rules with proper versions
…s to work OK right now
|
@Myoldmopar Yes, I'll put them up right now. |
Forgot to END MODULE...
|
Good grief look at all that green!! 😉 Once develop is stabilized later this morning I'll merge this in. |
4660 glhe vertical input fixes
|
@Myoldmopar @mmAtTs Just a heads up that I'm getting a core dump for the GSHP-GLHE and GSHPSimple-GLHE cases (array bounds violation detected with debug Linux build). In this line in GroundHeatExchangers::INTERP: if ( LnTTsVal <= VerticalGlhe( GlheNum ).LNTTS( 1 ) ) {LNTTS doesn't have an element with index 1 so it is probably unallocated (or allocated with zero size). Haven't tracked it down further but seems probable that this merge is the cause. LNTTS is allocated to the size of NPairs, which is tied to rNumericArgs( 15 ). Maybe the input arg numbering changes didn't get applied here? |
|
@Myoldmopar @DeadParrot: from develop, I'm not seeing any issues related to that line. I did see, however, that I missed updating the error messages calls, so I will need to submit a fix for that. Regarding the uninitialized |
|
I'm testing on Linux now; I'll let you know if I also see it. |
|
So, the GSHP-GLHE file seemed to test fine, no issues at all, with a fresh debug build of develop right now. ... I'll also test the simple file next. |
|
Yes the GSHPSimple file runs fine over here for me as well. @DeadParrot can you confirm that develop is still broken for you as of right now (04ae45c)? |
|
@Myoldmopar @mmAtTs OK, let me experiment further. It is possible my run picked up the 8.2.0 idd instead of the new one and that would explain the argument numbering problem. |
|
@Myoldmopar @mmAtTs When I run the updated idd and idf it does run OK for me so it is probably a false alarm -- sorry for the noise. I have some non-GLHE cases core dumping that I still have to figure out but they are probably also due to the wrong idd/idf version. Questions:
|
|
By "this issue", do you mean removing the unused input field? If so, it was simply a field left over from some older model implementation that just never got noticed. It wasn't used, so @mmAtTs removed it and just used the single flow rate input. For testing out an installer, in cmake just turn on BUILD_PACKAGE, and the run For testing in general, I just run |
|
@Myoldmopar Thanks for the tips. Not sure yet how to turn on BUILD_PACKAGE from the cmake command line. I said "issue" because this PR title says "fix" but I didn't see a fix other than the input removal you describe so I thought I was missing something. Sounds like I wasn't. |
|
Use the curses interface on the command line. ccmake. On Jan 22, 2015, at 6:41 PM, Stuart Mentzer <notifications@github.zerozr99.workers.devmailto:notifications@github.com> wrote: @Myoldmoparhttps://github.com/Myoldmopar Thanks for the tips. Not sure yet how to turn on BUILD_PACKAGE from the cmake command line. I said "issue" because this PR title says "fix" but I didn't see a fix other than the input removal you describe so I thought I was missing something. Sounds like I wasn't. Reply to this email directly or view it on GitHubhttps://github.com//pull/4661#issuecomment-71128617. |
|
@Myoldmopar @kbenne Thanks. The package build works fine on Fedora from cmake-gui (didn't try ccmake yet). I'm not sure why it makes sh, gz and Z versions of the installer but the sh installed OK on Fedora for me. (The official release builds for 8.2.7 are still rolling out and the Linux installer hasn't shown up yet.) |
|
By default cpack will turn on all of the packaging options that are supported by your configuration. You can turn them off using the advanced options in the cmake configuration. Here it is in the curses interface. You type "t" to see the advanced options. It is possible to pass configuration options using the non interactive (non curses) cmake command using something like cmake -DBUILD_PACKAGE:BOOL=ON. Normally this is tedious for a human. We use it mostly in the continuous integration system. |
|
@kbenne Great info! Thanks. I like to have the scriptable method for everything saved away. |

@Myoldmopar CI says this is good but I'll let you take a quick pass at reviewing it. I think it will need a new transition rule since this removes an unused field from the IDF/IDD objects. Let me know if you want me to help on that. I will submit the doc changes here shortly.