How to get sensitivity matrix param_sol

1 post / 0 new
hyumo
Offline
Joined: 2017-04-04
How to get sensitivity matrix param_sol

Hi there,

I am trying to use PyFMI to get sensitivity information out of the simulation. The implementation was a success, however, I was not able to get the sensitivity result.

I looked into the ResultHandlerMemory class, it seems that it was not writing param_sol to the data matrix. I tried to print param_sol, and the data looked ok. I am wondering if there are other methods/places to get sensitivity matrix? Or if I extend the resulthandler class, are there any implementation suggestions of how to put param_sol into the result object? 

Here're my list of options related:

  • 'sensitivity' list is not None
  • ResultHandling is set to 'memory'
  • ResultHandler is None

Thanks for your help!

hyu