View Code? Open in Web Editor
NEW
Heat loss, corrosion diagnostics, and predictive maintenance of pipeline systems. The package is designed for engineers who are involved in exploratory or routine calculations.
Home Page: https://omega1x.github.io/pipenostics/
pipenostics's People
Contributors
pipenostics's Issues
The next variants of Reynolds number calculations are used internally: re_r
, re_m
, re_v
, re_u
. These calculations must be revealed as ordinary package functions.
In utils family add temperature scale converters:
From Kelvin scale:
c_k()
- to Celsius
f_k()
- to Fahrenheit
r_k()
- to Rankine
From Celsius scale:
k_c()
- to Kelvin
f_c()
- to Fahrenheit
r_c()
- to Rankine
From Fahrenheit scale:
k_f()
- to Kelvin
c_f()
- to Celsius
r_f()
- to Rankine
From Rankine scale:
k_r()
- to Kelvin
c_r()
- to Celsius
f_r()
- to Fahrenheit
The next water-steam property calculations are used internally:
Specific isobaric heat capacity - according to IAPWS R7-97(2012)
Pressure on saturation curve - according to IAPWS R7-97(2012)
Specific volume - according to IAPWS R7-97(2012)
Dynamic viscosity - according to IAPWS R12-08
These calculations must be revealed as ordinary package functions.
Set min.len = 1
in every checkmate::assert_double()
Extract unit tests from Example sections of function docs to individual testthat
tests.
The next Colebrook equation approximations are used internally: fric_romeo
, fric_vatankhan
, fric_buzelli
. These approximations must be revealed as ordinary package functions.
On the basis of pdrop
and tdropn
restore thermal-hydraulic regime on each node of pipeline system starting from the heating origin
Use the next notation for argument description as example:
x [any]
Object to check.
lower [numeric(1)]
Lower value all elements of x must be greater than or equal to.
finite [logical(1)]
Check for only finite values? Default is FALSE.
When checking function inputs in majority of cases the lengths of input vectors should either all have the same length nor length equal to 1.
Add testthat
test to increase code coverage
Make up illustration of test bench with the lack of temperature and pressure sensors
Maintain reading sinked m325tracebw.log in example
Some links to official documentation no longer work. Use official links to paid document bases.
After a year of operation without significant issues, the current version can be updated to version 1.0.0
Add prototyped m325tracebwm()
for backward tracing when there is a lack of temperature and pressure sensors on terminal nodes
On the basis of tdrop
and m325nhl
create tdropn
- normative temperature loss as a function of heat carrier