Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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!

There are 0 guests and 0 other users also viewing this topic
You are here: