I am trying to do perform a simple tolerance stack circuit analysis using python instead of excel. Basically, say I have the resistor values below where it is separated by -> Minimum | Nominal | Maximum, hence the value below:
R1 -> 5 | 10 | 15 R2 -> 5 | 10 | 15
Total_R = R1 + R2
In theory, this would generate 9 combinations of 'Total_R' going from (minimum of R1 + minimum of R2) until (maximum of R1 + maximum of R2)
How can I perform this in python effectively to accommodate maybe up to 10 Resistor values?