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

Fix negative required energy demand for thermalHouse #1127

Closed
danielfeismann opened this issue Jan 31, 2025 · 0 comments · Fixed by #1128
Closed

Fix negative required energy demand for thermalHouse #1127

danielfeismann opened this issue Jan 31, 2025 · 0 comments · Fixed by #1128
Assignees
Labels
bug Something isn't working

Comments

@danielfeismann
Copy link
Member

10:54:12.176 ERROR e.i.s.a.g.GridAgent$$anonfun$edu$ie3$simona$agent$grid$GridAgent$$initializing$1 - The possible 8.729442678011385E7 J or required -48773.219886155064 J amount of energy cannot be negative. This is not supported.
edu.ie3.simona.exceptions.InvalidParameterException: The possible 8.729442678011385E7 J or required -48773.219886155064 J amount of energy cannot be negative. This is not supported.
	at edu.ie3.simona.model.thermal.ThermalGrid$ThermalEnergyDemand$.apply(ThermalGrid.scala:606)
	at edu.ie3.simona.model.thermal.ThermalHouse.energyDemand(ThermalHouse.scala:133)
	at edu.ie3.simona.model.thermal.ThermalGrid.energyDemandAndUpdatedState(ThermalGrid.scala:84)
	at edu.ie3.simona.model.participant.HpModel.determineState(HpModel.scala:138)
	at edu.ie3.simona.model.participant.HpModel.determineFlexOptions(HpModel.scala:260)
	at edu.ie3.simona.model.participant.HpModel.determineFlexOptions(HpModel.scala:54)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.calculateFlexOptions(ParticipantAgentFundamentals.scala:694)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.calculateFlexOptions$(ParticipantAgentFundamentals.scala:678)
	at edu.ie3.simona.agent.participant.hp.HpAgent.calculateFlexOptions(HpAgent.scala:44)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.handleFlexRequest(ParticipantAgentFundamentals.scala:659)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.handleFlexRequest$(ParticipantAgentFundamentals.scala:653)
	at edu.ie3.simona.agent.participant.hp.HpAgent.handleFlexRequest(HpAgent.scala:44)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.checkForExpectedDataAndChangeState(ParticipantAgentFundamentals.scala:634)
	at edu.ie3.simona.agent.participant.ParticipantAgentFundamentals.checkForExpectedDataAndChangeState$(ParticipantAgentFundamentals.scala:557)
	at edu.ie3.simona.agent.participant.hp.HpAgent.checkForExpectedDataAndChangeState(HpAgent.scala:44)
	at edu.ie3.simona.agent.participant.ParticipantAgent$$anonfun$4.applyOrElse(ParticipantAgent.scala:383)
	at edu.ie3.simona.agent.participant.ParticipantAgent$$anonfun$4.applyOrElse(ParticipantAgent.scala:259)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:35)
	at org.apache.pekko.actor.FSM.processEvent(FSM.scala:861)
	at org.apache.pekko.actor.FSM.processEvent$(FSM.scala:858)

@danielfeismann danielfeismann added the bug Something isn't working label Jan 31, 2025
@danielfeismann danielfeismann self-assigned this Jan 31, 2025
danielfeismann added a commit that referenced this issue Jan 31, 2025
danielfeismann added a commit that referenced this issue Feb 3, 2025
…uired-energy

Fix negative required energy demand for thermalHouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant