-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix determination of qDotIntoGrid in HpModel.calcState()
in case heatStorage should feed the thermal grid
#1165
Labels
bug
Something isn't working
Comments
HpModell.calcState()
in case heatStorage should feed the thermal gridHpModel.calcState()
in case heatStorage should feed the thermal grid
danielfeismann
added a commit
that referenced
this issue
Feb 17, 2025
danielfeismann
added a commit
that referenced
this issue
Feb 17, 2025
danielfeismann
added a commit
that referenced
this issue
Feb 17, 2025
…toGrid' into df/#1165-determination-of-qDotIntoGrid
danielfeismann
added a commit
that referenced
this issue
Feb 19, 2025
…toGrid' into df/#1165-determination-of-qDotIntoGrid # Conflicts: # CHANGELOG.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/ie3-institute/simona/blob/dev/src/main/scala/edu/ie3/simona/model/participant/HpModel.scala#L236
lastStateStorageQDot == zeroKW && (demandWrapper.houseDemand.hasRequiredDemand || demandWrapper.heatStorageDemand.hasRequiredDemand)
The second part of the OR condition does not really make sense, instead we should check if the storage isn't empty.
currentEnergyOfThermalStorage > zeroKWh && demandWrapper.houseDemand.hasAdditionalDemand
The text was updated successfully, but these errors were encountered: