Thanks for your reply and your advice.
I am taking a look in more detail. The variable that I am less convinced is the perimeter. As I mention I use the entire perimeter of the gate. However, I went through the technical guide. It seems to me that the perimeter is only used to calculate the hydraulic diameter. With the hidraulic diameter the f is calculated and with f, D and L the k friction. In my set'up I have prescribed K and no friction as
&HVAC ID='Duct12', TYPE_ID='DUCT', AREA=2.8, PERIMETER=15.6, LOSS=15.0,15.0, NODE_ID='Node23','Node24', LENGTH=0.2/
Then, I think that the perimeter should not have influence on the calculation.