A method for integrated room management in a building management system, the method performed by a data processing system and comprising: a1) determining a solar heat gain coefficient, SHGC, for a room in a building at a plurality of time intervals, based on a geographic location of the room, an orientation of at least one exterior window, and a thermal capacitance (C air) of air of the room; a2) determining a predicted open loop room temperature response at each time interval to determine a predicted room temperature for the room at the plurality of time intervals based on the SHGC and a plurality of electrochromic glass, ECG, tint levels for the at least one exterior window, open loop meaning with cooling or heating equipment turned off; a3) determining illumination heat and illumination energy for the room, at each ECG tint level and at each time interval, based on a measured solar illumination level for each ECG tint level, artificial lighting energy consumed, and artificial lighting heat produced to bring the room to a predetermined illumination level; a4) determining climate energy, at each of the time intervals, required to maintain the room at a predetermined temperature based on the predicted open-loop room temperatures and the illumination heat at each of the time intervals; a5) determining a total room energy at each of the time intervals as a function of the ECG tint levels based on the climate energy, illumination energy, and the predicted open loop room temperatures; b) determining an optimal ECG tint level at each of the time intervals, wherein the optimal ECG tint level minimizes the total room energy at each of the time intervals, the optimal ECG tint level that minimizes the total room energy at each of the time intervals being determined by taking the first derivative of a projected total room energy curve with respect to the ECG tint level, setting the derivative equation equal to zero and solving it for the EGC tint level which is optimal ECG tint level, wherein the total room energy is the thermal energy of heating or cooling equipment added to electrical lighting thermal energy; and c) controlling the ECG tint levels in the room at each of the time intervals according to the optimal ECG tint level, unless there is an override condition. a1) determining a solar heat gain coefficient, SHGC, for a room in a building at a plurality of time intervals, based on a geographic location of the room, an orientation of at least one exterior window, and a thermal capacitance (C air) of air of the room; a2) determining a predicted open loop room temperature response at each time interval to determine a predicted room temperature for the room at the plurality of time intervals based on the SHGC and a plurality of electrochromic glass, ECG, tint levels for the at least one exterior window, open loop meaning with cooling or heating equipment turned off; a3) determining illumination heat and illumination energy for the room, at each ECG tint level and at each time interval, based on a measured solar illumination level for each ECG tint level, artificial lighting energy consumed, and artificial lighting heat produced to bring the room to a predetermined illumination level; a4) determining climate energy, at each of the time intervals, required to maintain the room at a predetermined temperature based on the predicted open-loop room temperatures and the illumination heat at each of the time intervals; a5) determining a total room energy at each of the time intervals as a function of the ECG tint levels based on the climate energy, illumination energy, and the predicted open loop room temperatures; b) determining an optimal ECG tint level at each of the time intervals, wherein the optimal ECG tint level minimizes the total room energy at each of the time intervals, the optimal ECG tint level that minimizes the total room energy at each of the time intervals being determined by taking the first derivative of a projected total room energy curve with respect to the ECG tint level, setting the derivative equation equal to zero and solving it for the EGC tint level which is optimal ECG tint level, wherein the total room energy is the thermal energy of heating or cooling equipment added to electrical lighting thermal energy; and c) controlling the ECG tint levels in the room at each of the time intervals according to the optimal ECG tint level, unless there is an override condition.