Control-oriented model for hydrogen integration in renewable microgrids