Dynamic dispatch of solid oxide electrolysis system for high renewable energy penetration in a microgrid