A resilience-oriented energy management system of ship power systems is proposed.• Multiple types of energy storage systems such as battery energy storage and supercapacitor energy storage systems are considered.• Multi-objective optimization problem and gradient descent algorithm are proposed to balance the trade-off between multiple objectives.• A comparison study between the receding horizon optimization and fixed horizon optimization is presented.• Proposed receding horizon optimization for ship power systems enables real-time implementations.