Storage In Power Systems: Frequency Control, Scheduling Of Multiple Applications, And Computational Complexity