- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Coupling Modelica and R // Reading...
Coupling Modelica and R // Reading input file for sensitivity analysis
Coupling Modelica and R // Reading input file for sensitivity analysis
Hello,
I am trying to perform a global sensitivity analysis in R on my Modelica model. For this purpose, R generates a text file with the values of the parameters at each simulation. This is what the matrix in the input file looks like:
parameter 1 parameter 2 .... parameter n
simulation 1 value ....
simulation 2 value ....
...
simulation m
Ideally, what I would like to do is to run my model in a loop so that at each step a row from the file is extracted and given as an input to the model. I can use CombiTimeTable to read the input file, but so far I wasn't able to remove the dependency from time. Maybe someone has a better idea on how to approach this?
Thank you in advance for any help!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Coupling Modelica and R // Reading...