Skip to content

Commit

Permalink
fix code qualy
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rieck committed Nov 14, 2024
1 parent 795f0da commit 4d6a5d5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions system_setups/household_pellets_building_sizer_with_new_dhw.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,17 +277,23 @@ def setup_function(

# Build Pellet Heater for DHW
# DHW Pellet heater and storage configs
my_pellet_heater_for_dhw_config = generic_boiler.GenericBoilerConfig.get_scaled_conventional_pellet_boiler_config(heating_load_of_building_in_watt=6000 * number_of_apartments)
my_pellet_heater_for_dhw_config = generic_boiler.GenericBoilerConfig.get_scaled_conventional_pellet_boiler_config(
heating_load_of_building_in_watt=6000 * number_of_apartments
)
my_pellet_heater_for_dhw_config.name = my_pellet_heater_for_dhw_config.name + "ForDHW"
my_pellet_heater_controller_dhw_config = generic_boiler.GenericBoilerControllerConfig.get_default_on_off_generic_boiler_controller_config(
minimal_thermal_power_in_watt=my_pellet_heater_for_dhw_config.minimal_thermal_power_in_watt,
maximal_thermal_power_in_watt=my_pellet_heater_for_dhw_config.maximal_thermal_power_in_watt
maximal_thermal_power_in_watt=my_pellet_heater_for_dhw_config.maximal_thermal_power_in_watt,
)
my_pellet_heater_controller_dhw_config.name = my_pellet_heater_controller_dhw_config.name + "ForDHW"

my_dhw_storage_config = simple_water_storage.SimpleDHWStorageConfig.get_scaled_dhw_storage(number_of_apartments=number_of_apartments)
my_dhw_storage_config = simple_water_storage.SimpleDHWStorageConfig.get_scaled_dhw_storage(
number_of_apartments=number_of_apartments
)

my_dhw_storage = simple_water_storage.SimpleDHWStorage(my_simulation_parameters=my_simulation_parameters, config=my_dhw_storage_config)
my_dhw_storage = simple_water_storage.SimpleDHWStorage(
my_simulation_parameters=my_simulation_parameters, config=my_dhw_storage_config
)

my_pellet_heater_controller_for_dhw = generic_boiler.GenericBoilerControllerForDHW(
my_simulation_parameters=my_simulation_parameters, config=my_pellet_heater_controller_dhw_config
Expand Down

0 comments on commit 4d6a5d5

Please sign in to comment.