namespace SmartHomeAutomationSystem features SmartHome {abstract} mandatory LightingControl or ManualSwitch {Price 10, EnergyEfficiency 0.5} AutomatedDimmer {Price 50, EnergyEfficiency 0.8} TemperatureControl optional Thermostat {Price 100, Accuracy 0.1} Heater {Price 200, PowerConsumption 2.0} AirConditioner {Price 300, CoolingCapacity 3.5} optional SecuritySystem {abstract} mandatory Camera {Price 50, Resolution 1080} MotionSensor {Price 20, DetectionRange 10} or DoorLock {Price 100, LockType "Electronic"} WindowLock {Price 50, LockType "Mechanical"} EntertainmentSystem {abstract} optional HomeTheater {Price 500, SoundQuality "High"} GamingConsole {Price 300, Performance "Fast"} or TV {Price 200, ScreenSize 55} MusicPlayer {Price 100, SoundQuality "Medium"} constraints LightingControl => (ManualSwitch.Price + AutomatedDimmer.Price < 100) Thermostat.Price * TemperatureControl.Accuracy > 10.0 SecuritySystem.Camera.Resolution == 1080 SmartHome.LightingControl.ManualSwitch.EnergyEfficiency != 0.8 EntertainmentSystem.HomeTheater.SoundQuality == "High" SmartHome.SecuritySystem.DoorLock.LockType == "Electronic" TemperatureControl.Thermostat.Accuracy < 0.5 LightingControl.AutomatedDimmer.Price + SecuritySystem.Camera.Price > 50 EntertainmentSystem.TV.ScreenSize >= 40 SmartHome.SecuritySystem.MotionSensor.DetectionRange <= 15