Energy system comprising at least one electrical consumer unit and at least one heat pump which has a heat pump controller, the heat pump supporting one or more control types from a predetermined group of control types, the group of control types comprising the following control types: a first control type where the heat pump is controllable by performance specification, a second control type where the heat pump is controllable by temperature specification, a third control type where the heat pump is controllable by SG Ready specification, and a fourth control type where the heat pump is controllable by simulating a heat pump electricity meter; an inverter for converting a direct electric current into an alternating current, which can be used for powering the at least one electrical consumer unit and can be converted into heat by the at least one heat pump, a system controller having a data store to which a heat pump configuration file configurable for different types of heat pumps is loaded, the heat pump configuration file specifying at least one control type which is supported by the heat pump and containing configurable operating parameters for parameterising the control type and/or the at least one heat pump; wherein the at least one heat pump is controllable by the system controller via a control interface in accordance with the heat pump configuration file, and wherein communication of the system controller with the heat pump controller takes place in accordance with the at least one control type of the heat pump specified in the heat pump configuration file. at least one electrical consumer unit and at least one heat pump which has a heat pump controller, the heat pump supporting one or more control types from a predetermined group of control types, the group of control types comprising the following control types: a first control type where the heat pump is controllable by performance specification, a second control type where the heat pump is controllable by temperature specification, a third control type where the heat pump is controllable by SG Ready specification, and a fourth control type where the heat pump is controllable by simulating a heat pump electricity meter; a first control type where the heat pump is controllable by performance specification, a second control type where the heat pump is controllable by temperature specification, a third control type where the heat pump is controllable by SG Ready specification, and a fourth control type where the heat pump is controllable by simulating a heat pump electricity meter; an inverter for converting a direct electric current into an alternating current, which can be used for powering the at least one electrical consumer unit and can be converted into heat by the at least one heat pump, a system controller having a data store to which a heat pump configuration file configurable for different types of heat pumps is loaded, the heat pump configuration file specifying at least one control type which is supported by the heat pump and containing configurable operating parameters for parameterising the control type and/or the at least one heat pump; wherein the at least one heat pump is controllable by the system controller via a control interface in accordance with the heat pump configuration file, and wherein communication of the system controller with the heat pump controller takes place in accordance with the at least one control type of the heat pump specified in the heat pump configuration file.