An ascent guidance algorithm for the energy management of solid rockets. (March 2020)