gas based power plant working