RaPId icon indicating copy to clipboard operation
RaPId copied to clipboard

Result Visualization

Open MaximeBaudette opened this issue 8 years ago • 3 comments

In current version, I haven't been able to use the "Last Result", "Display Result" buttons.

I propose the following implementation:

  • Display Result: the Scope should be opened, the solution should be loaded in the FMU to get the optimal parameter values, and the simulation run to display the solution
  • Last Result: A message should be printed in the Matlab command listing all parameters and their optimal values using the names obtained from the general settings, and the values from the solution.

Additional a message could be printed, telling the user whether the solution could be considered optimal or not. If the optimization has been stopped because of the fitnessStopRatio, the solution can be considered optimal. If the optimization has been stopped because the max number of iteration has been reached, then the solution is not optimal.

MaximeBaudette avatar Oct 29 '15 14:10 MaximeBaudette

I discovered the file result.fig that I suppose is opened when clicking "Display Result". It would be awesome if the parameter values could be displayed there as well as the "outputs" on the axes below.

MaximeBaudette avatar Nov 01 '15 21:11 MaximeBaudette

For Beta 2: Re-implement following functionality: @janlav

  • Last Result:
    • [ ] - Text report in MatLab dialog and/or saved at the root of the test system containing all parameter names and final value
    • [ ] -The report should mention if optimal solution or not
  • Display Result:
    • [ ] -Use the result.fig here instead of in Last Result
    • [ ] - Include the plot of the output signals in GUI there (look into where this is stored?)
    • [ ] - Include something like MSE calculation or objective function? @tinrabuzin

MaximeBaudette avatar Nov 02 '15 13:11 MaximeBaudette

Some fixes were added in [1b920ba]

  • Buttons work
  • Last results print out the best parameters.
  • Display results display best results in different figures and compare it with reference.

We should think on how to take into account that the output of the fmu is not necessarily what we use for calculating fitness.

janlav avatar Nov 03 '15 00:11 janlav