Code for controling gas turbine