A method of controlling a multivalent energy supply system, wherein the multivalent energy supply system comprises at least: - at least two energy generators (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) which use at least two different energy carriers in order to provide energy in the form of heat and/or cold and/or electrical energy, wherein a first energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) can either simultaneously provide heat and electrical energy or simultaneously provide heat and cold; - for each energy generator, a closed-loop controller (R1-R5) for controlling controlled variables of the energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1); and - a control device for coordinately controlling the closed-loop controllers (R1-R5), wherein the control device carries out the following method steps: ∘ detecting an energy supply request for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold; ∘ determining target values for the first energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold based on the energy supply request; ∘ determining target values for the other energy generators (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for providing heat and/or cold and/or electrical energy based on the energy supply request; and ∘ outputting the target values to the closed-loop controllers (R1-R5). - at least two energy generators (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) which use at least two different energy carriers in order to provide energy in the form of heat and/or cold and/or electrical energy, wherein a first energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) can either simultaneously provide heat and electrical energy or simultaneously provide heat and cold; - for each energy generator, a closed-loop controller (R1-R5) for controlling controlled variables of the energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1); and - a control device for coordinately controlling the closed-loop controllers (R1-R5), wherein the control device carries out the following method steps: ∘ detecting an energy supply request for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold; ∘ determining target values for the first energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold based on the energy supply request; ∘ determining target values for the other energy generators (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for providing heat and/or cold and/or electrical energy based on the energy supply request; and ∘ outputting the target values to the closed-loop controllers (R1-R5). ∘ detecting an energy supply request for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold; ∘ determining target values for the first energy generator (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for simultaneously providing heat and electrical energy or for simultaneously providing heat and cold based on the energy supply request; ∘ determining target values for the other energy generators (E1-E5, B1, B2, G1, G2, H1, H2, O1, O2, W1) for providing heat and/or cold and/or electrical energy based on the energy supply request; and ∘ outputting the target values to the closed-loop controllers (R1-R5).