A method for optimizing energy consumption by a medical apparatus comprising a medical apparatus and another energy consumer, wherein the method comprises the following steps: supplying treatment planning information, which stipulates a chronological sequence for use of the medical apparatus, supplying interaction information, which stipulates an interaction between the use of the medical apparatus and the additional energy consumers, supplying control information for controlling the additional energy consumer on the basis of the treatment planning information and the interaction information, wherein the medical apparatus is a heat source during operation, wherein the additional energy consumer is a heater, wherein the interaction information comprises heat production associated with operation of the medical apparatus, and wherein the interaction information additionally comprises a chronological relationship between operation of the medical apparatus and operation of the additional energy consumer, and wherein the step of supplying interaction information additionally comprises the following: storing parameters, including an annual heating curve of a heat provider or a daily heating curve of the energy consumption by an energy provider in a register pertaining to a resource provider of the dialysis clinic, or storing consumption data within the medical apparatus, including a certain interval of time of a consumption curve measured in the medical apparatus for consumption of electrical energy, water or heating energy in a register for curves based on the medical apparatus, and wherein the additional energy consumers are controlled directly by using the control information. supplying treatment planning information, which stipulates a chronological sequence for use of the medical apparatus, supplying interaction information, which stipulates an interaction between the use of the medical apparatus and the additional energy consumers, supplying control information for controlling the additional energy consumer on the basis of the treatment planning information and the interaction information, wherein the medical apparatus is a heat source during operation, wherein the additional energy consumer is a heater, wherein the interaction information comprises heat production associated with operation of the medical apparatus, and wherein the interaction information additionally comprises a chronological relationship between operation of the medical apparatus and operation of the additional energy consumer, and wherein the step of supplying interaction information additionally comprises the following: storing parameters, including an annual heating curve of a heat provider or a daily heating curve of the energy consumption by an energy provider in a register pertaining to a resource provider of the dialysis clinic, or storing consumption data within the medical apparatus, including a certain interval of time of a consumption curve measured in the medical apparatus for consumption of electrical energy, water or heating energy in a register for curves based on the medical apparatus, and wherein the additional energy consumers are controlled directly by using the control information.