Skip to content

Commit

Permalink
Merge branch 'dev' into pp/#1012-chpmodelspec-and-cylindricalthermals…
Browse files Browse the repository at this point in the history
…toragespec-also-need-adaptions-for-storage-without-storagevolumelvlmin
  • Loading branch information
pierrepetersmeier authored Nov 22, 2024
2 parents 9339ffc + e097e44 commit fbf8c4b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
fetch-depth: 0

- name: Setup Java
uses: actions/setup-java@v4
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactoring to use zeroKW and zeroKWH in thermal grid unit tests [#1023](https://github.com/ie3-institute/simona/issues/1023)
- Refactor `ResultFileHierarchy` [#1031](https://github.com/ie3-institute/simona/issues/1031)
- Removing logs in `logs/simona` [#1017](https://github.com/ie3-institute/simona/issues/1017)
- Fix implausible test cases of HpModelSpec [#1042](https://github.com/ie3-institute/simona/issues/1042)

### Fixed
- Fix rendering of references in documentation [#505](https://github.com/ie3-institute/simona/issues/505)
Expand Down Expand Up @@ -140,6 +141,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix grammar and spelling in docs and comments [#1022](https://github.com/ie3-institute/simona/issues/1022)
- Fix some minor issues and findings from inspections [#1019](https://github.com/ie3-institute/simona/issues/1019)
- Fix initialisation freezing on empty primary data [#981](https://github.com/ie3-institute/simona/issues/981)
- Shallow fetch in CI [#1041](https://github.com/ie3-institute/simona/issues/1041)

## [3.0.0] - 2023-08-07

Expand Down
56 changes: 28 additions & 28 deletions src/test/scala/edu/ie3/simona/model/participant/HpModelSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class HpModelSpec
true,
95,
15.6,
Some(HouseTemperatureUpperBoundaryReached(31711L)),
Some(HouseTemperatureUpperBoundaryReached(31711)),
),
(
HpState(
Expand All @@ -70,7 +70,7 @@ class HpModelSpec
true,
95,
16.4,
Some(HouseTemperatureUpperBoundaryReached(30642L)),
Some(HouseTemperatureUpperBoundaryReached(30642)),
),
(
HpState(
Expand All @@ -85,7 +85,7 @@ class HpModelSpec
true,
95,
18.0,
Some(HouseTemperatureUpperBoundaryReached(27771L)),
Some(HouseTemperatureUpperBoundaryReached(27771)),
),
(
HpState(
Expand All @@ -100,7 +100,7 @@ class HpModelSpec
false,
0,
19.6,
Some(HouseTemperatureLowerBoundaryReached(13200L)),
Some(HouseTemperatureLowerBoundaryReached(13200)),
),
(
HpState(
Expand All @@ -115,7 +115,7 @@ class HpModelSpec
false,
0,
20.4,
Some(HouseTemperatureLowerBoundaryReached(15508L)),
Some(HouseTemperatureLowerBoundaryReached(15508)),
),
(
HpState(
Expand All @@ -124,13 +124,13 @@ class HpModelSpec
Some(hpData.ambientTemperature),
Kilowatts(95d),
Kilowatts(80d),
thermalState(Celsius(17)),
thermalState(Celsius(17), Kilowatts(80d)),
None,
),
true,
95,
15.6,
Some(HouseTemperatureUpperBoundaryReached(31711L)),
false,
0,
31.6,
Some(HouseTemperatureLowerBoundaryReached(29867)),
),
(
HpState(
Expand All @@ -139,13 +139,13 @@ class HpModelSpec
Some(hpData.ambientTemperature),
Kilowatts(95d),
Kilowatts(80d),
thermalState(Celsius(18)),
thermalState(Celsius(18), Kilowatts(80d)),
None,
),
true,
95,
16.4,
Some(HouseTemperatureUpperBoundaryReached(30642L)),
false,
0,
32.4,
Some(HouseTemperatureLowerBoundaryReached(30343)),
),
(
HpState(
Expand All @@ -154,13 +154,13 @@ class HpModelSpec
Some(hpData.ambientTemperature),
Kilowatts(95d),
Kilowatts(80d),
thermalState(Celsius(20)),
thermalState(Celsius(20), Kilowatts(80d)),
None,
),
true,
95,
18.0,
Some(HouseTemperatureUpperBoundaryReached(27771L)),
false,
0,
34.0,
Some(HouseTemperatureLowerBoundaryReached(31200)),
),
(
HpState(
Expand All @@ -169,13 +169,13 @@ class HpModelSpec
Some(hpData.ambientTemperature),
Kilowatts(95d),
Kilowatts(80d),
thermalState(Celsius(22)),
thermalState(Celsius(22), Kilowatts(80d)),
None,
),
true,
95,
19.6,
Some(HouseTemperatureUpperBoundaryReached(23200L)),
false,
0,
35.6,
Some(HouseTemperatureLowerBoundaryReached(31950)),
),
(
HpState(
Expand All @@ -184,13 +184,13 @@ class HpModelSpec
Some(hpData.ambientTemperature),
Kilowatts(95d),
Kilowatts(80d),
thermalState(Celsius(25)),
thermalState(Celsius(25), Kilowatts(80d)),
None,
),
false,
0,
22.0,
Some(HouseTemperatureLowerBoundaryReached(19200L)),
38.0,
Some(HouseTemperatureLowerBoundaryReached(32914)),
),
)

Expand Down

0 comments on commit fbf8c4b

Please sign in to comment.