A decision over of task of optimal control on a criterion a consumable energy minimum is brought by the real voltage source, which works in a chain with parallel connection of ideal capacity and direct-current source. The comparative analysis of optimal and optimized step control law is executed by such system. Analogical problem is set the and decided for the hydraulic system taking into account pipeline resistance and indirect cost of liquid on the minimum energy consumption criterion in the process of hydraulic capacity filling. The conclusion of analytical expressions is given, allowing to expect basic indexes systems of optimal and step control. The laws of optimal and step control are confronted by the electric and hydraulic system. The results of calculations are convinced of that the hydraulic system other things being equal assumes the large economy of energy due to an optimal control as compared to the variant of the optimized step adjusting, what electric. It is constrained with that functional, investigated on an extremum, in case of the hydraulic system depends on the cube of the productivity index is serve, and in case of the electric system - from the square of analogical index, which a current is.