In the future of Smart Grids, many different devices have to be integrated into one overall system. These devices are of various types, they are related to various forms of energy, they have to exchange these different forms of energy, and together they have to work towards common objectives. To handle such a system, a general model is required, which allows the integration of all these differe...