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
Addresses #4647, wrap the E+ Table:Lookup, Table:IndependentVariableList, and Table:IndependentVariable objects #4652
Conversation
@jmarrec Would you be able to do a cursory review of the general approach here? i.e., creating classes of |
@joseph-robertson, some thoughts:
|
// Value | ||
for (const double& value : modelObject.values()) { | ||
IdfExtensibleGroup eg = idfObject.pushExtensibleGroup(); | ||
eg.setDouble(Table_IndependentVariableExtensibleFields::Value, value); | ||
} |
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 think we should enforce ascending order here (?)
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.
@jmarrec Is this still a TODO?
…cation where appropriate
…or TableMultivariableLookup ref NREL/OpenStudio#4652
…he model conversion in ForwardTransaltor.cpp)) + Macroize the ignore of deprecated methods (DISABLE_WARNING_DEPRECATED) for clarity/shortness change macro formatting
7c73f9e
to
019c0b5
Compare
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.
@joseph-robertson I added a ReverseTranslator. I opened a PR to NREL/OpenStudio-resources#173 which caught a few bugs and I added an explicit test for sharing two TableIndependentVariables on two TableLookups.
CI Results for a8f312b:
|
Pull request overview
TableMultiVariableLookup
Create VT from old to new (note: this is not required if the previous item is addressed)RT?Source filesTestsPossible implementation:
Table:Lookup
(Curve?)Table:IndependentVariableList
(UseModelObjectList
?)Table:IndependentVariable
(ParentObject?)much like the E+ IDD:
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.