Method for operating an installation (INST) for the automated control of the comfort conditions in a building, the installation (INST) comprising a central control unit, electrical equipment items (EEi) with which areas (Zj) of the building are equipped, and a sensor management unit comprising at least one sensor suitable for measuring an input physical quantity, the method being characterized in that it comprises the following steps implemented by the installation: - A step of modelling the building, the areas (Zj) of the building and openings of the building, - A step (A2_1) of obtaining at least one first value (Vm) of the input physical quantity measured by the at least one sensor, called measured value, the input physical quantity being a chronological time, - A step of determining values (VGj) of output physical quantities, as a function of the first value (Vm) of the input physical quantity, of the model of the building, of the areas (Zj) of the building and of the openings of the building, the determination step comprising: a substep (A3_1) of predetermining a reference data structure comprising values (VGj) of the output physical quantities computed for a plurality of values of the input physical quantity, the predetermination substep (A3_1) comprising iteratively determining the values (VGj) of the output physical quantities by simulating the course of the sun over time and by taking into account the impact of the structures located on the trajectories of the simulated sun rays, said iterative determination of values (VGj) being done for a given geographic location of the building, the output physical quantities being direct solar energy fluxes in each area (Zj) of the building, and a substep (A3_2) of selecting values of the output physical quantities in this reference data structure, as a function of the at least one first value (Vm), and - A step of using the determined values (VGj) in order to control the electrical equipment items (EEi) with which each area (Zj) of the building is equipped, the electrical equipment item with which an area is equipped being controlled by the values determined for this area, the usage step comprising supplying values to the central control unit and/or to local control units responsible for generating and/or sending commands to the electrical equipment items with which each area of the building is equipped. - A step of modelling the building, the areas (Zj) of the building and openings of the building, - A step (A2_1) of obtaining at least one first value (Vm) of the input physical quantity measured by the at least one sensor, called measured value, the input physical quantity being a chronological time, - A step of determining values (VGj) of output physical quantities, as a function of the first value (Vm) of the input physical quantity, of the model of the building, of the areas (Zj) of the building and of the openings of the building, a substep (A3_1) of predetermining a reference data structure comprising values (VGj) of the output physical quantities computed for a plurality of values of the input physical quantity, the predetermination substep (A3_1) comprising iteratively determining the values (VGj) of the output physical quantities by simulating the course of the sun over time and by taking into account the impact of the structures located on the trajectories of the simulated sun rays, said iterative determination of values (VGj) being done for a given geographic location of the building, the output physical quantities being direct solar energy fluxes in each area (Zj) of the building, and a substep (A3_2) of selecting values of the output physical quantities in this reference data structure, as a function of the at least one first value (Vm), and - A step of using the determined values (VGj) in order to control the electrical equipment items (EEi) with which each area (Zj) of the building is equipped, the electrical equipment item with which an area is equipped being controlled by the values determined for this area, the usage step comprising supplying values to the central control unit and/or to local control units responsible for generating and/or sending commands to the electrical equipment items with which each area of the building is equipped. - A step of using the determined values (VGj) in order to control the electrical equipment items (EEi) with which each area (Zj) of the building is equipped, the electrical equipment item with which an area is equipped being controlled by the values determined for this area, the usage step comprising supplying values to the central control unit and/or to local control units responsible for generating and/or sending commands to the electrical equipment items with which each area of the building is equipped.