Expand description
Global sensitivity of a cycle’s results to the uncertain values of a config’s [bounds]: which unknown parameters
matter, with all of them moving at once (the one-at-a-time analysis::sensitivity and verdict_bands move one).
Two methods on the unit cube, each parameter’s range mapped to [0, 1]:
- Morris’ elementary effects (Morris 1991, with the mean of the absolute effects of Campolongo et al. 2007): a cheap
screening,
trajectories(k + 1) runs. Per parameter μ* (how much it moves the result, over its whole range) and σ (how much that depends on the others: interaction or a curve). - Sobol’ indices (Saltelli 2002 sampling, Jansen 1999 estimators): first-order S_i (the share of the result’s
variance the parameter explains alone) and total S_Ti (with all its interactions),
samples(k + 2) runs, with bootstrap 95 % confidence intervals.
The results of a run are the verdicts’ margins (margin: the room to the limit, in the check’s unit) and per motor the peak and RMS torque and the winding’s rise, and the tool’s path error (peak and RMS) and its error in
the dwells (settling). Each result is ranked on its own: the parameters at its top are the ones to measure first.
Structs§
- Morris
Row - One parameter’s elementary effects on one result, in the result’s unit per the parameter’s whole range.
- Ranking
- The rows of one result, the parameter that matters most first.
- Sobol
Index - One parameter’s Sobol’ indices, without its name (
sobol_indices). - Sobol
Row - One parameter’s Sobol’ indices on one result, with their bootstrap 95 % intervals (low, high).
Constants§
- BOOTSTRAP
- How many bootstrap resamples the Sobol’ confidence intervals are taken from.
- MORRIS_
LEVELS - The levels of Morris’ grid: 0, 1/3, 2/3, 1 of each range; every step moves a parameter by
MORRIS_STEP. - MORRIS_
STEP - Morris’ step, p / (2 (p - 1)) of the range: with it every level is visited equally often.
Functions§
- margin
- A verdict’s margin: the room its value leaves to its limit, in the check’s unit, negative where it fails. Not the utilisation (value over limit): “belt-least-tension” has the limit 0, where that is 0 whatever the tension. A bound on a rating moves the margin through the limit.
- morris
- Morris screening of the cycle’s results (see the module) over
bounds(path, low, high; seeanalysis::bounds):trajectories(k + 1) runs on all processors. Per result the parameters by μ*, largest first. The same seed gives the same ranking. - morris_
indices - (μ*, μ, σ) per parameter of one result, from its values
yatmorris_points(k, ..). The parameter a step moved is read from the points. - morris_
points - The points of
trajectoriesMorris trajectories in [0, 1]^k, k + 1 points each: a random start on the grid’s lower half, then each parameter in a random order stepped once byMORRIS_STEP, up or down at random. Pseudo-random fromseed. - saltelli_
points - Saltelli’s points in [0, 1]^k: n rows of A, n rows of B (both uniform at random from
seed), then for each parameter i the n rows of A with column i taken from B. n (k + 2) points. - sobol
- Sobol’ indices of the cycle’s results (see the module) over
bounds:samples(k + 2) runs on all processors, the intervals fromBOOTSTRAPresamples. Per result the parameters by their total index, largest first. The same seed gives the same indices. - sobol_
indices - (S_i, its interval, S_Ti, its interval) per parameter of one result, from its values
yatsaltelli_points(k, n, ..). The intervals are the 2.5 % and 97.5 % percentiles ofbootstrapresamples of the n rows (with replacement, pseudo-random fromseed). A result that does not vary has all indices 0.