Bugfix for max power program for variable-speed HVACs #1909
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Bugfix from @yzhou601. Fixes possible heating/cooling spikes when using maximum power ratio detailed schedule for variable-speed HVAC systems. Pulled out from #1904 into a separate PR.
Before (top) vs after (bottom):
![image](https://private-user-images.githubusercontent.com/5861765/402184687-e2922fd4-0b81-4fd0-93e7-7162e487efce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NDA5NTAsIm5iZiI6MTczOTU0MDY1MCwicGF0aCI6Ii81ODYxNzY1LzQwMjE4NDY4Ny1lMjkyMmZkNC0wYjgxLTRmZDAtOTNlNy03MTYyZTQ4N2VmY2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTM0NDEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2NiYjk3NTg5NjA3ZWFjMzNiZTEyNzQxNWYxMmYwZjUxZDJmMmE2ODQwM2FlOTVkZjA0ZDgxNTEwNDI3Yjg4MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.UMz3hWjVaXoqq763cpKoZLGkZm9OP6VCxb1HNJxiji4)
Checklist
Not all may apply:
EPvalidator.xml
) has been updatedopenstudio tasks.rb update_hpxmls
)HPXMLtoOpenStudio/tests/test*.rb
and/orworkflow/tests/test*.rb
)openstudio tasks.rb update_measures
has been run