PO.SF.Comp.k(sg, t)

Returns the ideal-gas ratio of specific heats, k = Cp/Cv, of a hydrocarbon gas from its specific gravity and temperature, by Moshfeghian's (2013) correlation. Compressor discharge temperature, head and power all need k (`PO.SF.Comp.Tdisch`, `PO.SF.Comp.Power`), and a gas analysis is not always to hand: the gravity is. A sheet that has a k from a composition or a vendor's data sheet uses that cell instead of calling this function.

PO.SF.Comp.Stages(ps, pd, r_max, output)

Returns the fewest compression stages that keep each stage's pressure ratio at or below a maximum, with the overall ratio split equally between them, or that equal stage ratio. Equal ratios with intercooling to the same temperature give equal work per stage and close to the least total work, which is why it is the usual first split. The maximum ratio is the caller's: usually set by the discharge temperature limit (`PO.SF.Comp.Tdisch`), the rod load or the machine type.

Need a custom LAMBDA? Request a Lambda