Results Viewer in Activate

Minoru Yubuchi_21921
Minoru Yubuchi_21921 Altair Community Member
edited August 2021 in Community Q&A

Let me ask some questions about Results Viewer in Activate:

1) There is the following statement about Results Viewer in the Activate help: 

  • View results files from two iterations and plot the files together to assess how modifications in a given iteration affect the simulation results.

Would you introduce me its specific operation?

 

2) When a Modelica Mass component is used, "mass.s.nder_2" is appeared on the item list of Result Viewer, which looks like acceleration result of the Mass. What this name come from? I cannot find this name in the Modelica source code of Mass component.

 

3) Do all of Modelica real variables contained in a Modelica model appear on the item list of Result Viewer?   

 

4) Is mtsf format of result file a popular file format? Are there any other tools that can read mtsf fle, other than Result Viewer?

 

Regards,

Minoru Yubuchi

Answers

  • João Marabisa
    João Marabisa
    Altair Employee
    edited July 2021

    Minoru-san, 

    I will be using "BouncingBall.scm" (available in Activate's demo browser) to answer you.

    1) First of all, I ran the model changing gravity value and changing file's name, after it:

    1. Tool > Results Viewer
    2. Selected both files
    3. Selected "Position" variables

    image

    Now you can compare both of them.

    2) These standard names that you are referencing are present on FMU_sup results. I would suggest you to use "simulationResults.mtsf" instead of FMU, because it has exactly what you have used to plot in your model:

    image

    With it you can easily refer to the choosed names.

    3) If you are referencing to the "FMU_sup.mtsf" file, the answer is yes.

    4) MTSF is a hierarchical data format that came from HDF5 (that is a very popular open source extension). Before this output file export (that was released on v2021.1) we already use them in FMU export. If you prefer, there are other options to export a data in Activate like CSV, TXT and so on.

     

    Hope it helps,

    João.

  • Minoru Yubuchi_21921
    Minoru Yubuchi_21921 Altair Community Member
    edited July 2021

    João,

     

    Thank you for the response.

     

    1) I got it. I guessed that a kind of version number is automatically attached to result file when any model changes apply.

     

    2) One of purposes of using Result Viewer is to get any results without setting Sensor/Scope. So, I want to use the FMU_sup file.

     

    3) I got that the name come from FMU. Would you suggest how users know the meaning (=what kind of output) of the items on the list. Should user check FMU documentation?

     

    4) Did you mean that csv file or text file can be exported from mtsf file? As mentioned in the #2 above, I don't want to add Sensor/Scope/ToCSV/etc whenever I find a result that I want to see.

     

    Regards,

    Minoru Yubuchi 

  • João Marabisa
    João Marabisa
    Altair Employee
    edited August 2021

    João,

     

    Thank you for the response.

     

    1) I got it. I guessed that a kind of version number is automatically attached to result file when any model changes apply.

     

    2) One of purposes of using Result Viewer is to get any results without setting Sensor/Scope. So, I want to use the FMU_sup file.

     

    3) I got that the name come from FMU. Would you suggest how users know the meaning (=what kind of output) of the items on the list. Should user check FMU documentation?

     

    4) Did you mean that csv file or text file can be exported from mtsf file? As mentioned in the #2 above, I don't want to add Sensor/Scope/ToCSV/etc whenever I find a result that I want to see.

     

    Regards,

    Minoru Yubuchi 

    Minoru-san,

    1) No, if you do not change it you will not have another file automatically, it will rewrite the previous one.

    2) Indeed it looks a great option.

    3) It is easier, you should reference to the block's name (if you do want to have specific attention on each block's results, rename them to help you further):

    image

    They have exactly the same name both in Activate's environment and on FMU_sup_1 result file.

    4) No, you cannot export directly. If you do want to see any result I would suggest to use FMU_sup file as you already mentioned on (2).

    Regards,

    João. :)