Hydraulic system modeling and optimization to achieve performance characteristics