Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result Visualization #11

Open
MaximeBaudette opened this issue Oct 29, 2015 · 3 comments
Open

Result Visualization #11

MaximeBaudette opened this issue Oct 29, 2015 · 3 comments

Comments

@MaximeBaudette
Copy link
Collaborator

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
Copy link
Collaborator Author

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 added a commit that referenced this issue Nov 2, 2015
#11 Implement of try catch to get the data from the workspace (sol vector)

But the result showing still doesn't work, it is not looking at data in the RaPIdObject
MaximeBaudette added a commit that referenced this issue Nov 2, 2015
including RaPIdOvject to get the data #11
@MaximeBaudette MaximeBaudette modified the milestones: Beta 2, Beta 1 Nov 2, 2015
MaximeBaudette added a commit that referenced this issue Nov 2, 2015
For first release, the functionality is deemed not yet implemented #11
- Tweaked the code so that it throws a warning message informing user of that.
@MaximeBaudette
Copy link
Collaborator Author

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

@janlav
Copy link
Contributor

janlav commented Nov 3, 2015

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 janlav mentioned this issue Mar 3, 2016
janlav added a commit to janlav/JanForkofiTesla_RaPId that referenced this issue Mar 9, 2016
…help

*  Added a plot to main GUI window and made a start to implementing plotting functionality see ALSETLab#11 - more to be done here
* Specifying time step ts now does something useful for Simulink simulations (use ts <=0 to get default behavior) for both fixed and variable step solvers.
* Bettered the help text for some m-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants