Skip to content

Commit

Permalink
Merge branch 'df/#930-refactor-handleInfeed' into df/#878-thermalGridIT
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/scala/edu/ie3/simona/model/participant/HpModel.scala
  • Loading branch information
danielfeismann committed Nov 22, 2024
2 parents a0e95af + a07b626 commit 752f755
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ final case class HpModel(

val turnHpOn =
(demandHouse.hasRequiredDemand && noThermalStorageOrThermalStorageIsEmpty) ||
demandThermalStorage.hasRequiredDemand || (demandThermalStorage.hasAdditionalDemand && lastState.isRunning)
(demandHouse.hasAdditionalDemand && lastState.isRunning) ||
demandThermalStorage.hasRequiredDemand ||
(demandThermalStorage.hasAdditionalDemand && lastState.isRunning)

val canOperate =
demandHouse.hasRequiredDemand || demandHouse.hasAdditionalDemand ||
Expand Down

0 comments on commit 752f755

Please sign in to comment.