twine_models/support/units/quantities.rs
1use uom::{
2 si::{ISQ, Quantity, SI},
3 typenum::{N1, N2, P2, Z0},
4};
5
6/// Specific gas constant, J/kg·K in SI.
7pub type SpecificGasConstant = Quantity<ISQ<P2, Z0, N2, Z0, N1, Z0, Z0>, SI<f64>, f64>;
8
9/// Specific enthalpy, J/kg in SI.
10pub type SpecificEnthalpy = Quantity<ISQ<P2, Z0, N2, Z0, Z0, Z0, Z0>, SI<f64>, f64>;
11
12/// Specific entropy, J/kg·K in SI.
13pub type SpecificEntropy = Quantity<ISQ<P2, Z0, N2, Z0, N1, Z0, Z0>, SI<f64>, f64>;
14
15/// Specific internal energy, J/kg in SI.
16pub type SpecificInternalEnergy = Quantity<ISQ<P2, Z0, N2, Z0, Z0, Z0, Z0>, SI<f64>, f64>;