namespace IndustrialRoboticsControl
features
	RobotSystem {abstract}
		mandatory
			Controller
				alternative
					PLC
					DCS
			MechanicalComponents
				mandatory
					Actuators
						or
							Electric
							Pneumatic
					Sensors
						or
							Temperature
							Pressure
			PowerSupply
		optional
			UserInterface
				alternative
					"HMI Terminal"
					"Web Interface"
			SafetyFeatures
				mandatory
					EmergencyStop
					LimitSwitches
		[1..2]
			RedundantPower
			RedundantControl
		optional
			NetworkConnectivity
			SoftwareUpdates
	MechanicalComponents {abstract}
		mandatory
			Frame
				MountingHardware
		optional
			CustomizationOptions
				or
					PaintFinish
					Engraving
	Actuators {abstract}
		mandatory
			Type
				alternative
					Linear
					Rotary
		optional
			MotorOptions
				or
					ACMotor
					DCMotor
	Sensors {abstract}
		mandatory
			Type
				alternative
					Analog
					Digital
		optional
			AccuracyOptions
				or
					HighPrecision
					LowPrecision
	PowerSupply {abstract}
		mandatory
			InputVoltage
				alternative
					120VAC
					240VAC
		optional
			BackupOptions
				or
					BatteryBackup
					GeneratorBackup
	UserInterface {abstract}
		mandatory
			DisplayType
				alternative
					Touchscreen
					Keypad
		optional
			CommunicationOptions
				or
					Ethernet
					Wireless
	SafetyFeatures {abstract}
		mandatory
			ProtectionLevel
				alternative
					IP65
					IP67
		optional
			AlarmOptions
				or
					VisualAlarm
					AudibleAlarm
	NetworkConnectivity {abstract}
		mandatory
            Protocol
                alternative
                    TCP/IP
                    Modbus
		optional
            SecurityOptions
                or
                    Firewall
                    Encryption
	SoftwareUpdates {abstract}
		mandatory
            UpdateMethod
                alternative
                    Automatic
                    Manual
		optional
            NotificationOptions
                or
                    Email
                    SMS
constraints
	Controller => PowerSupply
	MechanicalComponents => Actuators & Sensors
	UserInterface => SafetyFeatures
	SafetyFeatures => EmergencyStop & LimitSwitches
	PowerSupply => InputVoltage
	Actuators => Type
	Sensors => Type
	UserInterface => DisplayType
	SafetyFeatures => ProtectionLevel
	NetworkConnectivity => Protocol
    SoftwareUpdates => UpdateMethod
    RobotSystem => Controller & MechanicalComponents & PowerSupply
	Controller != "HMI Terminal"
	MechanicalComponents != SafetyFeatures
	PowerSupply != NetworkConnectivity
	Actuators != Sensors
	Sensors != UserInterface
	UserInterface != SafetyFeatures
    SafetyFeatures != SoftwareUpdates
	RedundantPower => RedundantControl
	EmergencyStop => LimitSwitches
	LimitSwitches => EmergencyStop