-
Notifications
You must be signed in to change notification settings - Fork 208
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
ScheduleDay: new timeseries method and interpolation options #5111
Conversation
return value; | ||
} | ||
|
||
openstudio::TimeSeries ScheduleDay_Impl::timeSeries() const { |
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.
This returns timeseries with timestamps (i.e., a DateTimeVector
) that align with the Timestep
object. The values returned (i.e., a Vector
) correspond to the "Interpolate to Timestep" choice.
c74f8b6
to
ceba909
Compare
@joseph-robertson Thanks for addressing some of the review comments. I'm still not happy about getValue, and maybe we should open a ticket to revisit the getValue and avoid recomputing the entire day, but maybe not. Anyways, if CI is happy with this, we can merge. |
fixed in 012f076 |
CI Results for 7493115:
|
Pull request overview
A new
timeSeries()
method for returning vectors of times and values given the number of timesteps per hour integer from theTimestep
object.Align the OS and E+ IDDs. The "Interpolate to Timestep" field is now "No", "Average", or "Linear" (i.e., a Breaking Change). The behavior of:
LinearInterp
)HoldNextInterp
, andAverageInterp
interpolation on schedule values given the simulation timestepUpdate the FT to write the correct method, not just "Average" as it was before.
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.