namespace SmartHomeAutomationSystem features SmartHome {abstract} mandatory Lighting alternative AmbientLighting or TableLamp {Price 50, PowerConsumption 10} FloorLamp {Price 75, PowerConsumption 15} TaskLighting optional DeskLamp {Price 30, PowerConsumption 5} ReadingLamp {Price 40, PowerConsumption 8} Heating or GasHeating {Price 2000, Efficiency 0.8} ElectricHeating {Price 1500, Efficiency 0.9} mandatory Thermostat {Price 100, Accuracy 1} Security alternative CameraSystem {Price 500, Resolution 1080} MotionSensor {Price 50, Range 10} optional Entertainment or SmartTV {Price 800, ScreenSize 55} SoundSystem {Price 300, PowerOutput 100} mandatory Speaker {Price 50, FrequencyResponse 20} EnergyManagement alternative SolarPanel {Price 1500, Efficiency 0.2} WindTurbine {Price 2000, Efficiency 0.3} LightingControl {abstract} optional DimmerSwitch {Price 20, PowerRating 100} SmartPlug {EnergyMonitoring true} HomeTheater {abstract} mandatory Projector {Price 500, Resolution 1080} Screen {Price 200, Size 100} optional SoundBar {Price 150, PowerOutput 50} Subwoofer {Price 100, FrequencyResponse 20} SmartDoorLock {abstract} mandatory KeylessEntry {BiometricAuthentication true} RemoteAccess {SmartphoneApp true} WaterConservation {abstract} optional LowFlowShowerhead {WaterSavings 20} DualFlushToilet {WaterSavings 30} constraints TableLamp.Price + FloorLamp.Price < 150 GasHeating.Price * GasHeating.Efficiency > 1600 CameraSystem.Resolution - MotionSensor.Range == 1070 SmartTV.ScreenSize / SoundSystem.PowerOutput <= 0.55 SolarPanel.Efficiency + WindTurbine.Efficiency >= 0.5 Lighting => (Heating.GasHeating.Price > 1500) Security.CameraSystem => (Entertainment.SmartTV.ScreenSize > 50) EnergyManagement.SolarPanel => (Lighting.AmbientLighting.TableLamp.Price < 60) AmbientLighting.TableLamp.Price + GasHeating.Price < 2100 CameraSystem.Resolution > 720 SmartTV.ScreenSize == 55 SolarPanel.Efficiency != 0.1 TaskLighting.DeskLamp.Price + ElectricHeating.Price < 1800 MotionSensor.Range > 5 DimmerSwitch.PowerRating + SmartPlug.EnergyMonitoring == 101 Projector.Resolution * Screen.Size > 100000 SoundBar.PowerOutput + Subwoofer.FrequencyResponse > 70 KeylessEntry.BiometricAuthentication == true LowFlowShowerhead.WaterSavings + DualFlushToilet.WaterSavings >= 50 Lighting => (Security.CameraSystem.Price < 600) Security => (Entertainment.SmartTV.ScreenSize > 40) EnergyManagement => (Lighting.AmbientLighting.TableLamp.Price > 30) SmartHome => (Heating.GasHeating.Efficiency > 0.7) Entertainment => (SoundSystem.PowerOutput > 80) LightingControl => (DimmerSwitch.PowerRating < 100) HomeTheater => (Projector.Resolution > 720) SmartDoorLock => (KeylessEntry.BiometricAuthentication == true) WaterConservation => (LowFlowShowerhead.WaterSavings > 10) TableLamp.Price + FloorLamp.Price <= 125 GasHeating.Efficiency >= 0.75 CameraSystem.Resolution < 1200 SmartTV.ScreenSize < 65 SolarPanel.Efficiency > 0.15 ElectricHeating.Price > 1200 Security.MotionSensor.Range > 8 Entertainment.SmartTV.ScreenSize == 60 EnergyManagement.WindTurbine.Efficiency <= 0.35 HomeTheater.Projector.Resolution >= 1080 SmartDoorLock.KeylessEntry.BiometricAuthentication != false ... (142 more constraints)