I'm not a specialist of this functionality but I will try to explain as much as possible
With Mascaret API, you could change some computation parameters.
For example , in an uncertainty analysis, you would like to test the effect of friction coefficient and in you model, you've got 3 different zone with each time a value of friction coefficient for minor bed and one for major bed.
you define a normal distribution for each coefficient in each zone.
you decide to run 1000 simulations. For each simulation you choose the six values randomly.
With the API, you create 1000 instances of your mascaret model. For each instances, you give the fiction values and you run the simulation. If you have 1000 cores available, you could have the 1000 results in the time of 1 computation...
Hope this helps