Skip to content

Commit

Permalink
Merge branch 'refs/heads/dev' into df/#856-tap-water
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
  • Loading branch information
danielfeismann committed Aug 13, 2024
2 parents 97758da + f6f248d commit 9fb2bc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rewrote ThermalHouseTest from groovy to scala [#646](https://github.com/ie3-institute/simona/issues/646)
- Updated dependabot reviewers [#888](https://github.com/ie3-institute/simona/issues/888)
- Merged `HpModelTestData` with `HpTestData` to `HpInputTestData` [#872](https://github.com/ie3-institute/simona/issues/872)
- Harmonised both methods that check the inner temperature of thermal house against the boundaries [#880](https://github.com/ie3-institute/simona/issues/880)
- Prepare ThermalStorageTestData for Storage without storageVolumeLvlMin [#894](https://github.com/ie3-institute/simona/issues/894)

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,11 @@ final case class ThermalHouse(
* true, if inner temperature is too high
*/
def isInnerTemperatureTooHigh(
innerTemperature: Temperature
innerTemperature: Temperature,
boundaryTemperature: Temperature = upperBoundaryTemperature,
): Boolean =
innerTemperature > Kelvin(
upperBoundaryTemperature.toKelvinScale - temperatureTolerance.toKelvinScale
boundaryTemperature.toKelvinScale - temperatureTolerance.toKelvinScale
)

/** Check if inner temperature is lower than preferred minimum temperature
Expand Down

0 comments on commit 9fb2bc2

Please sign in to comment.