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

Custom EPW time intervals #143

Open
dhblum opened this issue Jun 14, 2018 · 1 comment
Open

Custom EPW time intervals #143

dhblum opened this issue Jun 14, 2018 · 1 comment

Comments

@dhblum
Copy link
Collaborator

dhblum commented Jun 14, 2018

This issue is to provide provide the capability to use custom EPW files with time intervals different than 1 hour. MPCPy assumes a 1 hour time interval when creating the weather exodata object timestamps. This development will instead detect the time interval of the EPW file submitted, and adjust the exodata object accordingly.

Note that EPW files adopt an "hour-ending" format, meaning for instance that Hr 1 values represent a value from Hr 0 to Hr 1. To align better with other simulation practices, including Modelica, EPW file values are shifted one time step back so that the exodata weather object adopts an "hour-starting" format. The same will apply in this issue's development.

@mwetter
Copy link
Member

mwetter commented Jun 14, 2018

@dhblum Please see also
https://github.com/ibpsa/modelica-ibpsa/tree/master/IBPSA/Resources/src/convertEPW
which is used by Buildings as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants