An Averaging Result for Switched DAEs with Multiple Modes