-
Notifications
You must be signed in to change notification settings - Fork 193
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
LoadProfilePlant: new Fluid Type and Degree of SubCooling fields #4951
Conversation
More detailed data documentation
src/energyplus/ForwardTranslator/ForwardTranslateLoadProfilePlant.cpp
Outdated
Show resolved
Hide resolved
…ane and Transformation
…ry_directory more than 1000 times it fails... The static std::atomic<int> was never reset to 0. ``` 1001.times { OpenStudio::XMLValidator.new('./HPXMLtoOpenStudio/resources/hpxml_schematron/EPvalidator.xml') } [openstudio.XMLValidator] <-1> Saved transformed XSLT Stylesheet at '/tmp/xmlvalidation-2b1f-69c6-900c-7b06-1693932780-998/EPvalidator_stylesheet.xslt'. [openstudio.XMLValidator] <-1> Transformed Schematron to an XSLT Stylesheet and saved it at /tmp/xmlvalidation-2b1f-69c6-900c-7b06-1693932780-998/EPvalidator_stylesheet.xslt. [openstudio.XMLValidator] <-1> Treating schema as a Schematron, converting to an XSLT StyleSheet. [openstudio.XMLValidator] <-1> Saved transformed XSLT Stylesheet at '/tmp/xmlvalidation-4a67-fcb1-a651-fa6d-1693932780-999/EPvalidator_stylesheet.xslt'. [openstudio.XMLValidator] <-1> Transformed Schematron to an XSLT Stylesheet and saved it at /tmp/xmlvalidation-4a67-fcb1-a651-fa6d-1693932780-999/EPvalidator_stylesheet.xslt. [openstudio.XMLValidator] <-1> Treating schema as a Schematron, converting to an XSLT StyleSheet. [openstudio.XMLValidator] <2> Failed to create a temporary directory for extracting the stylesheets needed to transform the Schematron './HPXMLtoOpenStudio/resources/hpxml_schematron/EPvalidator.xml' Traceback (most recent call last): 8: from /usr/local/bin/irb:23:in `<main>' 7: from /usr/local/bin/irb:23:in `load' 6: from /usr/local/lib/ruby/gems/2.7.0/gems/irb-1.2.6/exe/irb:11:in `<top (required)>' 5: from (irb):70 4: from (irb):70:in `times' 3: from (irb):70:in `block in irb_binding' 2: from (irb):70:in `new' 1: from (irb):70:in `initialize' RuntimeError (/srv/jenkins/openstudio/git/nightly/ubuntu_2004/src/utilities/xml/XMLValidator.cpp@180 : Failed to create a temporary directory for extracting the stylesheets needed to transform the Schematron './HPXMLtoOpenStudio/resources/hpxml_schematron/EPvalidator.xml') ```
#4957 - Some copy constructors aren't declared in SWIG
Fix issue in create_temporary_directory (affecting XMLValidator with schematron)
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.
Tearing the existing fields in FT is a good idea.
But otherwise this looks fine!
LoadProfilePlant lpp(m); | ||
EXPECT_TRUE(pl.addDemandBranchForComponent(lpp)); | ||
|
||
EXPECT_TRUE(lpp.setPeakFlowRate(0.005)); |
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.
Nitpick, but I think we should test all fields while we're at it. Couple of extra lines only
…tsideRevealDepth Fix #4926 - WindowPropertyFrameAndDivider: "Outside Reveal Depth" not forward translated
EXPECT_TRUE(lpp.setLoadSchedule(scheduleConstant1)); | ||
EXPECT_TRUE(lpp.setPeakFlowRate(0.005)); | ||
ScheduleConstant scheduleConstant2(m); | ||
EXPECT_TRUE(hpp.setFLowRateFractionSchedule(scheduleConstant2)); |
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.
typo (casing)
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.
Done in 22d61f1
CI Results for 20a4618:
|
setPlantLoopFluidType("Water"); | ||
setDegreeofSubCooling(5.0); | ||
setDegreeofLoopSubCooling(20.0); |
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.
We forgot VT!
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.
Done at 28252a8
Pull request overview
LoadProfile:Plant
:Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.