I am working on hydraulic energy storage using pumped-storage turbine energy transfer stations. and I want to calculate friction energy losses as a function of D1, D2 the diameters of the pipes and L1, L2 the lengths of the pipes to reservoirs 1 and 2 in k(m), and
Roughness coefficient of the materials used for the pipes, Q tank outlet flow rate