Optimal Planning of a Hybrid Fuel-Cell–Battery System for Microgrid Applications | Synapse