Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Xcos > palettes > Thermohydraulics palette > PerteDP

PerteDP

Thermal-hydraulic pipe

Block Screenshot

Description

A PertDP block represents a hydraulic pipe with linear resistance losses. This component represents a hydraulic resistance and pressure loss is directly proportional to the flow rate. Conventionally, the flow direction is the positive when fluid flows from the black port to the white port. The pressure loss is obtained with :

Ploss = Pblack - Pwhite

The key parameters of this block are the pipes' length, the pipe's diameter, inlet and outlet altitudes, and some other thermal-hydraulic coefficients.

Parameters

  • Longueur du tube : L (m)

    Length of pipe

    Properties : Type 'vec' of size -1.

  • Diamètre interne du tube : D (m)

    Pipe diameter

    Properties : Type 'vec' of size -1.

  • Coefficient de perte de charge-frottement(S.U) : lambda

    Coefficient of thermohydraluc resistance

    Properties : Type 'vec' of size -1.

  • Altitude entrée tuyauterie : z1 (m)

    Altitude of the first port (z1)

    Properties : Type 'vec' of size -1.

  • Altitude sortie tuyauterie : z2 (m)

    Altitude of the second port (z2)

    Properties : Type 'vec' of size -1.

  • Si 0, masse volumique imposée fu fluide : p_rho (kg/m3)

    Fluid density

    Properties : Type 'vec' of size -1.

Default properties

  • Inputs :

    • Modelica variable name : 'C1'

      Implicit variable.

  • Outputs :

    • Modelica variable name : 'C2'

      Implicit variable.

  • Parameters :

    • Modelica parameter name : 'L'

      Default value : 10

      Is a state variable : no.

    • Modelica parameter name : 'D'

      Default value : 0.2

      Is a state variable : no.

    • Modelica parameter name : 'lambda'

      Default value : 0.03

      Is a state variable : no.

    • Modelica parameter name : 'z1'

      Default value : 0

      Is a state variable : no.

    • Modelica parameter name : 'z2'

      Default value : 0

      Is a state variable : no.

    • Modelica parameter name : 'p_rho'

      Default value : 0

      Is a state variable : no.

  • File name of the model : PerteDP

Interfacing function

  • SCI/modules/scicos_blocks/macros/Hydraulics/PerteDP.sci

Modelica model

  • SCI/modules/scicos_blocks/macros/Hydraulics/PerteDP.mo

Report an issue
<< Flowmeter Thermohydraulics palette PuitsP >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:23:41 CET 2022