# Using Buildings.Fluid.FixedResistances.Pipe as duct

I am trying to include following features in my air distribution / duct layout model:

• transport delay
• heat loss in from ducts

For this purpose the Buildings.Fluid.FixedResistances.Pipe model looks good to me considering the input parameters (nSeg for transport delay and the heatport for thermal losses). Also Buildings.Fluid.Interfaces.LumpedVolumeDeclarations uses replaceable package Medium = Modelica.Media.Interfaces.PartialMedium. Therefore if I replace the medium as Buildings.Media.Air I guess the pipe model can be used as duct. I may I have to modify the model little for rectangular ducts.

Before using the pipe model as a duct, I want to confirm if this is a right approach? Does any assumption made in the pipe model restrict replacing the medium as air?

edit retag close merge delete