base_components_hydraulics
Functions to compute pressure and its derivatives for base components
- compute_dp_pipe(mdot, fd, diameter, length, rho_fluid=990.0, dz=0, compute_hydrostatic=False, compute_der=True, ts_id=None)[source]
Computes the differential pressure in pipes. The hydrostatic pressure can be ignored by setting compute_hydrostatic=False.
- compute_dp_pipe_net(net, fluid, compute_hydrostatic=False, ts_id=None)[source]
Computes the differential pressure in pipes. The hydrostatic pressure can be ignored by setting compute_hydrostatic=False.
- compute_dp_valve(mdot, kv, dz=0.0, rho_fluid=990.0, compute_der=True, compute_hydrostatic=False, ts_id=None)[source]
Computes the differential pressure in valves. A value for Kv [m3/h] must be specified.