Skip to content

Commit

Permalink
Merge branch 'dev' into df/#878-thermalGridIT
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfeismann authored Aug 13, 2024
2 parents b46f1e3 + f6f248d commit 625e46b
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)

### Fixed
- Removed a repeated line in the documentation of vn_simona config [#658](https://github.com/ie3-institute/simona/issues/658)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,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 625e46b

Please sign in to comment.