I've never seen a book that really covers the whole topic. The control logic will have to be based on the level of importance, pressur at suction, volume, energy use, pressurre at discharge, type of avaiaable controls, RPM of driver, recycle vales, suction control valves, volume loaders and unloaders, pockets on cylinders, multiple stages, mechanical limits of pressures and rod loads, any thing else .....
Need to do a matrix and priority of the varibles ... Do you want to elaberate, need contract terms, fuel cost, efficiencies, variable pockets, all the details to start.