base_bypass_pipe
Class for base bypass pipe
- class BypassPipe(diameter=0.0372, depth=1.0, insulation_thickness=0.031, length=1.0, k_insulation=0.026, roughness=0.045, k_internal_pipe=45.0, internal_pipe_thickness=0.0052, k_casing=0.4, casing_thickness=0.0054, discretization=10, dz=0.0, **kwargs)[source]
Bases:
Pipe
Class for base BypassPipe component. By default, a pipe of DN32 and length 1m is used. BypassPipes are leaf components and assume steady-state conditions.
- __init__(diameter=0.0372, depth=1.0, insulation_thickness=0.031, length=1.0, k_insulation=0.026, roughness=0.045, k_internal_pipe=45.0, internal_pipe_thickness=0.0052, k_casing=0.4, casing_thickness=0.0054, discretization=10, dz=0.0, **kwargs)[source]
Inits Pipe.
- Parameters:
diameter (float, optional) – Internal diameter of the pipe (m). The default is 0.0204.
depth (float, optional) – Burying depth of the pipe (m). The default is 1.0.
insulation_thickness (float, optional) – Thickness of the insulation layer (m). The default is 0.034.
length (float, optional) – Length of the pipe (m). The default is 1.0.
k_insulation (float, optional) – Thermal conductivity of insulation (W/(m·K)). The default is 0.026.
roughness (float, optional) – Roughness of the internal pipe surface (mm). The default is 0.045.
k_internal_pipe (float, optional) – Thermal conductivity of the pipe (W/(m·K)). The default is 45.0.
internal_pipe_thickness (float, optional) – Thickness of the pipe (m). The default is 0.023.
k_casing (float, optional) – Thermal conductivity of the casing (W/(m·K)). The default is 0.4.
casing_thickness (float, optional) – Thickness of the casing (m). The default is 0.003.
discretization (flaot, optional) – Length of segments for discretizing the pipe (m). The default is 10.
dz (float, optional) – Altitude difference between the endpoints (m). The default is 0.
line (str, optional) – Either “supply” or “return”. The default is None.
**kwargs (dict) – Additional keyord arguments.
- Return type:
None.