lagrangian_pipe

Implementation of the dynamic pipe model proposed in:

Denarie, A., M. Aprile, and M. Motta. “Heat transmission over long pipes: New model for fast and accurate district heating simulations.” Energy 166 (2019): 267-276.

class LagrangianPipe(diameter=0.0204, depth=1.0, k_insulation=0.026, insulation_thickness=0.034, length=1.0, roughness=0.045, k_internal_pipe=45.0, internal_pipe_thickness=0.023, k_casing=0.4, casing_thickness=0.003, dz=0.0, rho_wall=940.0, cp_wall=2000.0, stepsize=5.0, h_ext=0.0, line=None, **kwargs)[source]

Bases: Pipe

Class implementing the Lagrange-based dynamic pipe proposed in:

Denarie, A., M. Aprile, and M. Motta. “Heat transmission over long pipes: New model for fast and accurate district heating simulations.” Energy 166 (2019): 267-276.

As a branch component.

__init__(diameter=0.0204, depth=1.0, k_insulation=0.026, insulation_thickness=0.034, length=1.0, roughness=0.045, k_internal_pipe=45.0, internal_pipe_thickness=0.023, k_casing=0.4, casing_thickness=0.003, dz=0.0, rho_wall=940.0, cp_wall=2000.0, stepsize=5.0, h_ext=0.0, line=None, **kwargs)[source]

Constructs all the necessary attributes for the object.

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.

  • k_insulation (float, optional) – Thermal conductivity of insulation (W/(m·K)). The default is 0.026.

  • 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.

  • 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.

  • dz (float, optional) – Altitude difference between the endpoints (m). The default is 0.0.

  • rho_wall (float, optional) – Density of internal pipe (kg/m³). The default is 940.0.

  • cp_wall (float, optional) – Specific heat capacity of pipe wall (J/(kg·K)). The default is 2000.0.

  • stepsize (float, optional) – Size of a time-step (s). The default is 5.0.

  • h_ext (float, optional) – External heat transfer coefficient (W/(m²·K)). The default is 0.0.

  • line (str, optional) – Either “supply” or “return”. The default is None.

  • **kwargs (dict) – Additional keyord arguments.

Return type:

None.