namespace IndustrialRoboticsControl

features
	RoboticsControlSystem {abstract}
		mandatory
			HardwareSelection {abstract}
				alternative
					ARMHardware {Price 500, Weight 10}
					CRTHardware {Price 750, Weight 20}
					OtherHardware {abstract}
						or
							CustomHardware {Price 1000, Weight 15}
							ThirdPartyHardware {Price 800, Weight 18}
			SoftwareSelection {abstract}
				alternative
					RealTimeOS {Price 300, MemoryConsumption 256}
					GeneralPurposeOS {Price 400, MemoryConsumption 512}
						optional
							ThirdPartyExtensions {Price 150, MemoryIncrease 128}
			SensingTechnologies {abstract}
				or
					VisionSensors {Price 200, ResolutionWidth 1920, ResolutionHeight 1080}
					LIDARSensor {Price 350, Range 10}
					UltrasonicSensor {Price 50, Range 2}
			MotionControlSystems {abstract}
				alternative
					ServoControllers {Price 450, CurrentHandling 10}
					StepperMotorControllers {Price 200, StepSize 0.9}
		optional
			AdvancedFeatures {abstract}
				alternative
					AutonomousNavigation {Price 600, ProcessorPower 2000}
					ForceFeedbackControl {Price 350, SensitivityLevel 1.2}
			SafetySystems {abstract}
				or
					CollisionAvoidance {Price 400, SensorCount 4}
					EmergencyStopSystem {Price 200, ResponseTime 0.1}

constraints
	VisionSensors.ResolutionWidth * VisionSensors.ResolutionHeight <= 2073600
	ServoControllers.CurrentHandling != StepperMotorControllers.StepSize
	RealTimeOS.Price + GeneralPurposeOS.MemoryConsumption >= 500
	LIDARSensor.Range - UltrasonicSensor.Range < 8
	ARMHardware.Weight + CRTHardware.Weight <= 40
	CustomHardware.Price * ThirdPartyExtensions.MemoryIncrease > 768
	AutonomousNavigation.ProcessorPower * CollisionAvoidance.SensorCount >= 8000
	ForceFeedbackControl.SensitivityLevel + EmergencyStopSystem.ResponseTime <= 1.3
	RealTimeOS.MemoryConsumption / 256 == GeneralPurposeOS.MemoryConsumption / 512
	ThirdPartyHardware.Price - OtherHardware.Weight == 700