Skip to content

Commit 03b04a4

Browse files
committed
Added min_temperature to thermal storage
1 parent 2d4abb4 commit 03b04a4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test_chp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
# Values for Thermal Storage
2828
target_temperature = 60 # °C
29+
min_temperature = 40 # °C
2930
hysteresis = 5 # °K
3031
mass_of_storage = 500 # kg
3132
cp = 4.2
@@ -73,6 +74,7 @@ def test_get_thermal_energy_demand(user_profile):
7374
mass=mass_of_storage,
7475
hysteresis=hysteresis,
7576
target_temperature=target_temperature,
77+
min_temperature=min_temperature,
7678
cp=cp,
7779
thermal_energy_loss_per_day=thermal_energy_loss_per_day,
7880
)

timeseries_export.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
identifier = "bus_1"
4848
latitude = 50.941357
4949
longitude = 6.958307
50-
target_temperature = 60 # °C
5150
t_0 = 40 # °C
5251
yearly_thermal_energy_demand = 12500 # kWh thermal
5352

@@ -112,6 +111,8 @@
112111

113112
# Values for Thermal Storage
114113
hysteresis = 5 # °K
114+
target_temperature = 60 # °C
115+
min_temperature = 40 # °C
115116
mass_of_storage = 500 # kg
116117
cp = 4.2
117118
thermal_energy_loss_per_day = 0.13
@@ -328,6 +329,7 @@ def get_at_home(bev):
328329
cp=cp,
329330
hysteresis=hysteresis,
330331
target_temperature=target_temperature,
332+
min_temperature=min_temperature,
331333
thermal_energy_loss_per_day=thermal_energy_loss_per_day,
332334
environment=environment,
333335
user_profile=user_profile,
@@ -389,6 +391,7 @@ def get_at_home(bev):
389391
user_profile=user_profile,
390392
hysteresis=hysteresis,
391393
target_temperature=target_temperature,
394+
min_temperature=min_temperature,
392395
cp=cp,
393396
thermal_energy_loss_per_day=thermal_energy_loss_per_day,
394397
)

0 commit comments

Comments
 (0)