namespace SmartHomeAutomationSystem features HomeAutomation {abstract} or Lighting {Price 50, PowerConsumption 10} mandatory IndoorLighting {PowerConsumption 8} alternative LEDBulbs {Lifetime 25000} IncandescentBulbs {Temperature 60} OutdoorLighting {PowerConsumption 15} ClimateControl {Price 200, Efficiency 85} or HeatingSystem {Efficiency 80, CoverageWholeHouse} optional SolarHeaters {Output 5.5} CoolingSystem {Efficiency 75, PowerUsage 4.0} mandatory ACUnits [1..2] alternative WindowAC {Load "Medium"} SplitAC {Load "High"} SecuritySystem {Price 300, ResponseTime 2} or CameraSurveillance {Resolution 1080, StorageCapacity 500} AlarmSystem {ResponseTime 1.5, Range50m} optional HomeAssistantDevices {abstract} or VoiceControl {"GoogleHome"} mandatory Microphones {Sensitivity 90} SmartControlPanel {"AppleHomeKit"} alternative TouchScreenControl GestureControl features EntertainmentSystems {Price 150, Portability "Portable"} optional AudioSystem {SoundQuality 8} or SpeakersSet {FrequencyResponse "20Hz - 20kHz"} WirelessHeadsets {"HighFidelity"} VisualEntertainment {abstract} or Projector {Resolution1080p, Brightness 500} TVScreen {Size 65, Resolution4K} constraints Lighting.Price + ClimateControl.Price < 300 HomeAssistantDevices => (Lighting.PowerConsumption + sum(ACUnits[1..2].PowerUsage)) <= 25 SecuritySystem.ResponseTime * CameraSurveillance.StorageCapacity >= 540 AudioSystem.SoundQuality / Projector.Brightness <= 0.016 OutdoorLighting => Lighting.Price + HeatingSystem.Efficiency < 100 VisualEntertainment.Projector.Resolution1080p => (Projector.Brightness + TVScreen.Size) > 500 VoiceControl.Microphones.Sensitivity + SmartControlPanel.TouchScreenControl >= 180 ClimateControl.HeatingSystem.Efficiency > CoolingSystem.CoverageWholeHouse * 1.0 SplitAC.Load <= WindowAC.Load * 2.5 AudioSystem.Revision2023 => (WirelessHeadsets.TypeHighFidelity + SpeakersSet.FrequencyResponse) < 1500 SolarHeaters.Output >= HeatingSystem.Efficiency - 10 > 45 VisualEntertainment(Projector.Brightness or TVScreen.Size * 10) <= sum(VisualEntertainment.Projector.Resolution1080p.Brightness)