A method and a system for optimizing the energy consumption of a medical apparatus comprising a medical instrument, and a further energy consumer are disclosed. The method comprises the following steps: providing treatment plan information, which predetermines a temporal sequence for using the medical instrument, providing interaction information, which predetermines an interaction between the use of the medical instrument and the further energy consumer, providing control information for actuating the further energy consumer on the basis of the treatment plan information and the interaction information.