Fast design procedure for turboexpanders in pressure energy recovery applications