hot_water_power = 0.1865 POWER = heat_power + vent_power + hot_water_power temperature_T1_main = 95 temperature_T2_main = 70 velocity_enter = 0.7 velocity_out = 0.4 print("--------------------------------------------------------------------") #enter system dP_min = 1.5 module_enter = module.Enter_module("module_enter", POWER, temperature_T1_main, temperature_T2_main, 95, 70, 6., 3.) valve_control_dP = equipment.Valve_control("valve_control_dP", module_enter.consumption_main, dP_min) print("enter module") print("Power (GCal/h) - ", POWER) print("Power (kW) - ", calc.GCalh_to_kW(POWER)) print("pipe_enter_consumption_main - ", module_enter.consumption_main, " t/h") print("velocity_main - ", velocity_enter) print("pipe_dn_main - ", module_enter.pipe_dn(module_enter.consumption_main, velocity_enter)) print("dP_min - ", dP_min) print("Kv valve dP - ", calc.kv(module_enter.consumption_main, dP_min))
velocity_out_hot_water = 0.5 hot_water_cons_T1_2st = 3.72 number_valve_hot_water = 4 print("--------------------------------------------------------------------") print("Power (GCal/h) - ", round(POWER, 4)) print("Power (kW) - ", round(calc.GCalh_to_kW(POWER), 4)) print("Power_heat (GCal/h) - ", round(heat_power, 4)) print("Power_vent (GCal/h) - ", round(vent_power, 4)) print("Power_hot_water (GCal/h) - ", round(hot_water_power, 4)) print("---") module_enter = module.Enter_module("module_enter", POWER, temperature_T1_main, temperature_T2_main, temperature_T1_main, temperature_T2_main, pressure_t1, pressure_t2) valve_control_dP = equipment.Valve_control("valve_control_dP", module_enter.consumption_main, dP_min_enter) print("pipe_enter_consumption_main - ", round(module_enter.consumption_main, 3), " t/h") print("velocity_main - ", velocity_main_enter) print("pipe_dn_main - ", module_enter.pipe_dn(module_enter.consumption_main, velocity_main_enter)) print("dP_min - ", dP_min_enter) print("Kv valve dP - ", calc.kv(module_enter.consumption_main, dP_min_enter))
import /pipe import module pipe_heat = pipe.Pipe("pipe_heat") pipe_hot_water = pipe.Pipe("pipe_hot_water") pipe_vent = pipe.Pipe("pipe_vent") pipe_hot_floor = pipe.Pipe("pipe_hot_floor") #enter system module_enter = module.Enter_module("module_enter", 2.141, 130, 70, 130, 70, 6., 5.) #heat module_heat = module.Heat_module("module_heat", 0.161, 130, 70, 95, 70) print("pipe_heat_consuption_main - ", module_heat.consumption_main) #vent module_vent = module.Vent_module("module_vent", 0.594, 130, 70, 95, 70) print("pipe_vent_consuption_main - ", module_vent.consumption_main) #hot water pipe_hot_water_consuption_main = pipe_hot_water.pipe_consuption(0.182, 130, 70) pipe_hot_water_consuption_main_max = pipe_hot_water.pipe_consuption(0.182, 70, 43) print("pipe_hot_water_consuption_main - ", pipe_hot_water_consuption_main) print("pipe_hot_water_consuption_main_max - ", pipe_hot_water_consuption_main_max) print("\n")