Converting Pipe Velocity to Volumetric Flow
Function Naming
Lib.Mervis.v1_0.VelocityToFlow_m3ph
Description
A function used to convert pipe flow velocity to volumetric flow rate.
Required Project References
- Lib.Mervis
Usage in ST
program test
var
velocity : real;
flow : real;
end_var
flow := lib.mervis.v1_0.VelocityToFlow_m3ph(Velocity_mps := velocity, diameter := 0.1);
end_program
Inputs
| Name | Data Type | Retain | Mandatory Connection | Meaning | |
| Velocity_mps | real | No | Yes | Velocity in the pipe in meters per second | |
| Diameter | real | No | No | Pipe diameter in meters |
Outputs
| Name | Data Type | Meaning | |
| ⇒ | real | Calculated volumetric flow in cubic meters per hour |
Notes
To obtain the mass flow rate in kilograms per hour, the result of the function should be multiplied by the density of the substance in kilograms per cubic meter.
