RaPId
RaPId copied to clipboard
Result Visualization
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.
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.
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
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.