Text this: Universal mathematical model of hydraulic and steam prime movers