A method for managing an installation allowing to adjust the energy consumption of the installation to ensure its autonomy, the installation being an automaton which is a multiservice electromechanical device intended for users of urban areas and comprising: - a power supply device comprising a photovoltaic system comprising at least one solar panel and a storage unit able to store the energy produced by the solar panel, and - members contributing to providing one or more services for a user of the installation and supplied with energy by the power supply device, each member having a nonoperational mode wherein the energy consumption is zero and at least an operating mode, each operating mode leading to a different energy consumption, the method comprising: - a parameters choosing step, the parameters making it possible to determine the energy contribution of the solar panel and being chosen from a group consisting of parameters representative of the time period and parameters representative of the solar panel, - a determination step for determining the available energy coming from the power supply device comprising a sub-step for computing the produced energy from the chosen parameters and from an elevation mask for the environment, the elevation mask being a set of a map containing the elevation of each obstacle relative to the solar panel, - a determination step for determining the energy consumed by the members, the consumption of the members for each of the operating modes of the member being provided, and - an optimization step wherein the number of members that are operational, as well as their operating modes, are adjusted so that a predetermined criterion is met, the criterion being met at least if the energy balance of the installation is positive for a given length of time, the energy balance being the difference between the available energy coming from the power supply device and the energy consumed by the various members. - a power supply device comprising a photovoltaic system comprising at least one solar panel and a storage unit able to store the energy produced by the solar panel, and - members contributing to providing one or more services for a user of the installation and supplied with energy by the power supply device, - a parameters choosing step, the parameters making it possible to determine the energy contribution of the solar panel and being chosen from a group consisting of parameters representative of the time period and parameters representative of the solar panel, - a determination step for determining the available energy coming from the power supply device comprising a sub-step for computing the produced energy from the chosen parameters and from an elevation mask for the environment, the elevation mask being a set of a map containing the elevation of each obstacle relative to the solar panel, - a determination step for determining the energy consumed by the members, the consumption of the members for each of the operating modes of the member being provided, and - an optimization step wherein the number of members that are operational, as well as their operating modes, are adjusted so that a predetermined criterion is met, the criterion being met at least if the energy balance of the installation is positive for a given length of time, the energy balance being the difference between the available energy coming from the power supply device and the energy consumed by the various members.