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

[feat] Use SQL year field introduced in EnergyPlus v8.9 and above #258

Merged
merged 1 commit into from Jun 10, 2020

Conversation

hongyuanjia
Copy link
Owner

Pull request overview

The SQL output of EnergyPlus v8.9 and above has a Year field in the Time table. This PR makes EplusSql$report_data() use this value whenever possible.

Also, previously, when extracting design day simulation results, the day_type values were overwritten to Monday and a year value was calculated according. This behavior introduces some confusing. In this PR, the day_type column is left unchanged and the year value for design days is always set to current year.

@hongyuanjia hongyuanjia self-assigned this Jun 9, 2020
@hongyuanjia hongyuanjia added this to the 0.13.0 milestone Jun 9, 2020
@hongyuanjia hongyuanjia merged commit 569f80c into master Jun 10, 2020
@hongyuanjia hongyuanjia deleted the feature/sql_year branch June 10, 2020 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the year output from SQL in EnergyPlus v9.0
1 participant