I need to make calculation of diameters of pipes proceeding from parameters of the thermal power of radiators. For calculation it is necessary to follow these steps:
- choose all pipes entering one system of pipes
2.receive value of parameter of the thermal power (Q) for a radiator at the top level
- receive to parameter diameter (D) from the first section of the pipe
-
calculate speed on a formula W=3.0425*Q / (t1-t2)D^2
-
to check the result of calculation enters range from 0,1 to 1. to check the result of calculation enters range from 0,1 to 1. if result more than 1, then we replace the parameter of diameter of a pipe of this site with the bigger. if result less than 0,1, then amenyay the parameter of diameter of a pipe of this site on the smaller
How to receive and return parameters I understood.
At me it turned out to choose the first site of the pipeline
On it my knowledge came to an end and what to do I don’t know
Excuse for my English I use Google