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

Implement new coil vs. space peak sizing simulation logic #4635

Merged
merged 47 commits into from
Feb 22, 2015

Conversation

wfbuhl
Copy link
Contributor

@wfbuhl wfbuhl commented Dec 17, 2014

There's a new input field in Sizing:System, and a couple name changes. Existing inputs should run unchanged, however.

wfbuhl added 27 commits August 21, 2014 14:05
Renamed sensible SysSizing variables: CoolMixTemp =>   MixTempAtSensCoolPeak
Conflicts:
	src/EnergyPlus/ReportSizingManager.cc
…I'm committing my work so I can revert a couple of commits and start over.
…o work. I'm committing my work so I can revert a couple of commits and start over."

This reverts commit f69c5ad.

Added CoolingPeakLoadType to SysSizing
…olFlowPeak to SysSiz array. Added SysSizPeakDDNum array to DataSizing (contains DD indices for all cooling peaks).
… time step for the sensible cooling load, total cooling load, and cooling flow peaks.
…adSeq.

Added to ReportSizing: new function GetCoilDesFlowT (not completed yet)
Conflicts:
	src/EnergyPlus/DataSizing.hh
	src/EnergyPlus/ReportSizingManager.cc
	src/EnergyPlus/SizingManager.cc

Signed-off-by: Fred Buhl <wfbuhl@gmail.com>
…oad and water flow sizing calcs, and as well to the coil UA calculation in the Init routine.
Conflicts:
	idd/Energy+.idd.in
	src/EnergyPlus/DataSizing.hh
	src/EnergyPlus/SimAirServingZones.cc
… outlet air humidity ratio to be 90% relative humidity.
@nrel-bot
Copy link

@wfbuhl @lgentile it has been 7 days since this pull request was last updated.

2 similar comments
@nrel-bot
Copy link

nrel-bot commented Jan 1, 2015

@wfbuhl @lgentile it has been 7 days since this pull request was last updated.

@nrel-bot
Copy link

nrel-bot commented Jan 8, 2015

@wfbuhl @lgentile it has been 7 days since this pull request was last updated.

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@wfbuhl I was going to add this field to the sizing:system objects coming out of ExpandObjects, but I'm not sure what to put. If the default is VAV, is that consistent with what the "old" calcs were doing? So, VAV = no change in results. But ultimately, for, say a unitary system one of the other choices seems better suited, but that could change results? What would you recommend - write VAV for all system types to maintain the same results, leave this field blank (which will result in VAV but not look silly for constant flow systems), or put in the appropriate choices and let results change. Searching the modified idf files, looks like VAV has been used for all system types.

@Myoldmopar
Copy link
Member

If it is marked as a required-field, will the input processor fill in 'autosize' so that the GetInput routine never see a blank?

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

If it's within min-fields the it will get filled with the default, but I
don't remember if filling with default clear the blank flag, I guess it
should. Definitely don't want to make this required.

On 2/20/2015 10:00 AM, Edwin Lee wrote:

If it is marked as a required-field, will the input processor fill in
'autosize' so that the GetInput routine never see a blank?


Reply to this email directly or view it on GitHub
#4635 (comment).

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@Myoldmopar And technically, it's not just blank, the field isn't even there, so if the getinput is doing a check on number of N fields, that may be part of the confusion?

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@Myoldmopar @wfbuhl Hold on about the get input processing - some confusion here about whether EnergyPlus was rebuilt for this branch.

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@Myoldmopar @wfbuhl Never mind on the getinput stuff. The HVACTemplate files are running ok even without any expandobjects changes. We're just getting rid of these warnings:

   ** Warning ** IP: Note -- Some missing fields have been filled with defaults. See the audit output file for details.

Ultimately, it's good to get the field names in synch anyway. And I see that these changes do impact sizing, even with defaults. So, maybe I should be varying the coil control input for different system types?

@Myoldmopar
Copy link
Member

OK cool. Well thanks for addressing ExpandObjects and getting rid of those warnings. Does the coil control input variation belong in this PR as well or can it be marked as a future enhancement?

ExpandObjects was the last issue I remember seeing on this PR, so after it is addressed I don't think I need anything further code wise (doc changes should go over here). I'll handle a merge back from develop if we are settled on the code for one last CI pass.

@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@Myoldmopar I'm almost done. Making a second pass to clean up all the other objects that got new field names from the changes for "during Cooling ..." to "Cooling ...".

…o Load nomenclature, add missing coil:water:heating convection ratio fields, add one more block of sizing:system fields
@mjwitte
Copy link
Contributor

mjwitte commented Feb 20, 2015

@Myoldmopar That should be all for the expandobjects updates (even got rid of two longstanding IP warnings about missing fields being filled with defaults in HVACTemplate-5ZoneConstantVolumeChillerBoiler and HVACTemplate-5ZoneFanCoil-DOAS). Let the CI times roll.

@Myoldmopar
Copy link
Member

Welp, beef0e9 should be it. I merged develop. There were some conflicts with idfs that seemed to get worked out. I am currently spot testing and then if something went awry I'll remedy it and push up again (maybe not til morning).

@Myoldmopar
Copy link
Member

OK, something did go awry in that merge process, and it was serious enough that I couldn't wait until morning. There will be lots of failures in beef0e9, but beefe5d should be much better.

If all goes well overnight, I think this will be able to merge in the morning.

@mjwitte @wfbuhl @EnergyArchmage @larryscheier

@Myoldmopar
Copy link
Member

HospitalLowEnergy had a second EIR chiller that got messed up in transition. I remedied that and looked over the diffs again. Things will be good to go when that goes in. CI is already testing it, so it shouldn't be long now...

@Myoldmopar Myoldmopar added the NewFeature Includes code to add a new feature to EnergyPlus label Feb 22, 2015
Myoldmopar added a commit that referenced this pull request Feb 22, 2015
@Myoldmopar Myoldmopar merged commit 7b3b725 into develop Feb 22, 2015
@Myoldmopar Myoldmopar deleted the 69208874-LBNL_CoilVsSpacePeak branch February 22, 2015 18:05
@wfbuhl
Copy link
Contributor Author

wfbuhl commented Feb 23, 2015

A11; \Central Cooling Capacity Control Method
\note Method used to control the coil's output
\type choice
\key VAV
\key Bypass
\key VT
\key OnOff
\default VAV

Setting this field to "OnOff" will result in no change to the results.
Generally, this field should be set based on the system used in the actual
simulation. The only way to do this is to go through the test files by
hand!

Fred

On Fri, Feb 20, 2015 at 8:00 AM, Michael J. Witte notifications@github.com
wrote:

@wfbuhl https://github.com/wfbuhl I was going to add this field to the
sizing:system objects coming out of ExpandObjects, but I'm not sure what to
put. If the default is VAV, is that consistent with what the "old" calcs
were doing? So, VAV = no change in results. But ultimately, for, say a
unitary system one of the other choices seems better suited, but that could
change results? What would you recommend - write VAV for all system types
to maintain the same results, leave this field blank (which will result in
VAV but not look silly for constant flow systems), or put in the
appropriate choices and let results change. Searching the modified idf
files, looks like VAV has been used for all system types.


Reply to this email directly or view it on GitHub
#4635 (comment).

@Myoldmopar
Copy link
Member

Are you saying the IDD needs to be changed for \default OnOff?

@wfbuhl
Copy link
Contributor Author

wfbuhl commented Feb 23, 2015

It is up to you. Might be a good idea.

Fred

On Mon, Feb 23, 2015 at 11:12 AM, Edwin Lee notifications@github.com
wrote:

Are you saying the IDD needs to be changed for \default OnOff?


Reply to this email directly or view it on GitHub
#4635 (comment).

@Myoldmopar
Copy link
Member

sigh OK. It'll have to be a brand new PR. I'll make an issue out of it.

@EnergyArchmage
Copy link
Contributor

I got a hard crash in SimAirServingZones.cc, line 4790 while running 5ZoneVAV-ChilledWaterStorage-Mixed.idf. SysTotCoolCap was being used without being initialized. It appears that an init for SysTotCoolCap is needed around line 4722.

@wfbuhl
Copy link
Contributor Author

wfbuhl commented Feb 24, 2015

Yes; not sure how this got through. Am I running with uninitialized
variables set to zero?

Fred

On Tue, Feb 24, 2015 at 7:35 AM, Brent Griffith notifications@github.com
wrote:

I got a hard crash in SimAirServingZones.cc, line 4790 while running
5ZoneVAV-ChilledWaterStorage-Mixed.idf. SysTotCoolCap was being used
without being initialized. It appears that an init for SysTotCoolCap is
needed around line 4722.


Reply to this email directly or view it on GitHub
#4635 (comment).

@Myoldmopar Myoldmopar changed the title 69208874 lbnl coil vs space peak Implement new coil vs. space peak sizing simulation logic Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NewFeature Includes code to add a new feature to EnergyPlus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants