Applications of power to gas technologies in emerging electrical systems