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.

PO.SF.Comp.Tdisch(t, ratio, k, eff)

Returns the discharge temperature of one compression stage from its suction temperature, its pressure ratio, the gas's ratio of specific heats and the isentropic efficiency. With an efficiency of 1 it is the ideal isentropic temperature T1·r^((k−1)/k); below 1 the extra work also goes into the gas, so the rise is the isentropic rise over the efficiency. The discharge temperature is what limits a stage's ratio, so a staging sheet checks it per stage.

PO.SF.Comp.Power(mode, qg, ps, pd, t, sg, z, k, eff, stages, output)

Returns the head per stage, the gas power per stage or the total gas power to compress a gas rate from a suction to a discharge pressure in equal-ratio stages, with the gas cooled back to the suction temperature between stages. The mode is required: "Adiabatic" takes the isentropic head and the isentropic efficiency, the usual basis for reciprocating machines; "Polytropic" takes the polytropic head and the polytropic efficiency, the usual basis for centrifugal ones. The result is gas power, the power delivered to the gas: brake power adds the mechanical losses (bearings, seals, gear), which the caller adds.

Need a custom LAMBDA? Request a Lambda