Market integration of local energy systems: Is local energy management compatible with European regulation for retail competition?