A gas grill, comprising: a housing defining a cooking chamber, a plurality of cooking zones in the cooking chamber, wherein each of the plurality of cooking zones is corresponding to at least one heating module, a gas supply module configured to provide gas to the at least one heating module of each of the plurality of cooking zones, a control module configured to control the gas supply module and the at least one heating module corresponding to each of the plurality of cooking zones based on a control input, and a user interface configured to generate the control input, wherein each of the at least one heating module comprises a gas nozzle, an electric gas valve located between the gas nozzle and the gas supply module, and a temperature sensor, wherein the control module is further configured to: flexibly group at least two of the plurality of cooking zones to a cooking group based on the control input, and control the heating modules corresponding to the cooking group based on the control input by: determining, based on the control input, at least one indirect heating zone from the cooking zones of the cooking group and at least one direct heating zone from the cooking zones of the cooking group, and controlling at least one temperature of the at least one indirect heating zone by controlling the heating module(s) corresponding to the at least one direct heating zone based on a control loop indicated by the control input, and turning off the heating module corresponding to the at least one indirect heating zone. a housing defining a cooking chamber, a plurality of cooking zones in the cooking chamber, wherein each of the plurality of cooking zones is corresponding to at least one heating module, a gas supply module configured to provide gas to the at least one heating module of each of the plurality of cooking zones, a control module configured to control the gas supply module and the at least one heating module corresponding to each of the plurality of cooking zones based on a control input, and a user interface configured to generate the control input, wherein each of the at least one heating module comprises a gas nozzle, an electric gas valve located between the gas nozzle and the gas supply module, and a temperature sensor, wherein the control module is further configured to: flexibly group at least two of the plurality of cooking zones to a cooking group based on the control input, and control the heating modules corresponding to the cooking group based on the control input by: determining, based on the control input, at least one indirect heating zone from the cooking zones of the cooking group and at least one direct heating zone from the cooking zones of the cooking group, and controlling at least one temperature of the at least one indirect heating zone by controlling the heating module(s) corresponding to the at least one direct heating zone based on a control loop indicated by the control input, and turning off the heating module corresponding to the at least one indirect heating zone. determining, based on the control input, at least one indirect heating zone from the cooking zones of the cooking group and at least one direct heating zone from the cooking zones of the cooking group, and controlling at least one temperature of the at least one indirect heating zone by controlling the heating module(s) corresponding to the at least one direct heating zone based on a control loop indicated by the control input, and turning off the heating module corresponding to the at least one indirect heating zone.