I'm trying to perform a sensitivity analysis and I started to learn python so I wanted to accomplish this in python. I found a package called SALib but I don't really get how to implement my own equation.
For example this is my equation:
ET = 0,0031*C*(R+209)*(t*(t+15)**-1)
At first I have to define my problem:
problem = {'num_vars': 3,
'names': ['C', 'R', 't'],
'bounds': [[10, 100],
[3, 7],
[-10, 30]]
}
After this I have to generae Input Samples but I how do I generate these with my own equation? Maybe someone has expierience with SALib and can help me. I don't find the package documentation really helpful.
解决方案
The function saltelli.sample() will generate a matrix with each column representing a variable defined in problem