Name: rss
Category: Tolerance
Description:
Calculates the root sum square (RSS) tolerance stack of an array of dimensions.
Because worst_case() is a conservative estimate, RSS may be more liberal in predicting stackups with fewer dimensions, while undershooting larger stacks.
See https://rad.cm/library/notes/tolerance-analysis.
Syntax:
rss(dimensions[])
Examples:
a = dim(1, 0.1)
1 ± 0.1
b = limit(1.9, 2.1)
2 ± 0.10000000000000009
c = bilateral(3.1, 0, -0.2)
3 ± 0.10000000000000009
d = dim(4, 0.1)
4 ± 0.1
stack = [-a, b, c, d]
[-1 ± 0.1, 2 ± 0.10000000000000009, 3 ± 0.10000000000000009, 4 ± 0.1]
rss(stack)
8 ± 0.2000000000000001
See also: dim, worst_case, bender