Method for controlling a water supply network which comprises node components (2; 4, 5, 6, 7) and edge components (3; 8, 9, 10, 11), wherein water is fed into, withdrawn from, or stored on the node components (2; 4, 5, 6, 7) and the water is transported between the node components (2; 4, 5, 6, 7) via the edge components (3; 8, 9, 10, 11), wherein a number of the edge components can be controlled in terms of their flow behaviour for the water and are controlled in accordance with a control map which contains a temporal sequence of controls for the controllable edge component , wherein the control map is determined based on boundary conditions which include a minimum fill level (h min ) for each water-storing node component , which minimum fill level must not be undershot, and wherein the control map is optimised based on a target function in which, for each controllable edge component , the number of controls is multiplied by a cost rate for an energy consumption and/or wear of the respective edge component and the total across all controllable edge components is then formed, characterised in that a safety fill level (h sec ) which exceeds the minimum fill level (h min ) is defined in each case for each of the water-storing node components and that the target function for each water-storing node component is supplemented by a further summand in the form of a further cost rate dependant on the fill level in each case, which is minimal at a fill level which corresponds to the safety fill level (h sec ) and is maximal at a fill level which corresponds to the minimum fill level (h min ) , wherein the control map is determined in a processing facility of a control apparatus on the basis of the boundary conditions, wherein the control apparatus comprises an interface for controlling the controllable edge components , and wherein the control map can be transferred in parts or completely to the control apparatus for controlling the water supply network . wherein a number of the edge components can be controlled in terms of their flow behaviour for the water and are controlled in accordance with a control map which contains a temporal sequence of controls for the controllable edge component , wherein the control map is determined based on boundary conditions which include a minimum fill level (h min ) for each water-storing node component , which minimum fill level must not be undershot, and wherein the control map is optimised based on a target function in which, for each controllable edge component , the number of controls is multiplied by a cost rate for an energy consumption and/or wear of the respective edge component and the total across all controllable edge components is then formed, characterised in that a safety fill level (h sec ) which exceeds the minimum fill level (h min ) is defined in each case for each of the water-storing node components and that the target function for each water-storing node component is supplemented by a further summand in the form of a further cost rate dependant on the fill level in each case, which is minimal at a fill level which corresponds to the safety fill level (h sec ) and is maximal at a fill level which corresponds to the minimum fill level (h min ) , wherein the control map is determined in a processing facility of a control apparatus on the basis of the boundary conditions, wherein the control apparatus comprises an interface for controlling the controllable edge components , and wherein the control map can be transferred in parts or completely to the control apparatus for controlling the water supply network . <EOS>