namespace PrecisionAgricultureMonitoring
features
.Root {abstract}
	mandatory
		SoilSensors
			alternative
				MoistureSensor {Price 50, Accuracy 0.9}
				TemperatureSensor {Price 30, Accuracy 0.8}
		CropMonitors
			or
				GrowthRateMonitor {Price 100, MeasurementInterval 1}
				YieldPredictor {Price 150, MeasurementInterval 2}
 optional
		IrrigationControllers
			mandatory
				WaterFlowSensor {Price 20, FlowAccuracy 0.95}
			optional
				WeatherStation {Price 80, ForecastAccuracy 0.7}
                [1..2]
                    SoilTypeIdentifier {Price 40, IdentificationAccuracy 0.85}
                    CropDiseaseDetector {Price 60, DetectionAccuracy 0.9}
constraints
	SoilSensors => (MoistureSensor.Price + TemperatureSensor.Price) < 100