MATLAB XPC TARGET RELEASE NOTES Uživatelský manuál Strana 41

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 51
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 40
Dymola 2013 FD01 Release notes 41
Finally, the resulting trajectories can be plotted and compared visually with the original
(non-FMU) simulation. Note that, since the imported model is flattened, the trajectory
names are somewhat different; e.g. J1.w becomes J1_w:
The blue trajectory is from the reference simulation and the red is from the co-simulation.
Note that the latter is rendered as constant between the sample points.
While this validation is ok for sample testing of a single model, this clearly becomes
infeasible for systematic validation of several trajectories.
The remedy is a new function
validateModelAsFMU, which automates the following
steps:
• Generation of reference trajectories.
• Exporting of the FMU.
• Importing of the FMU.
• Mapping of trajectories names to those of the original model.
• Numeric comparison of trajectories.
• Graphical HTML presentation of deviating trajectories in fashion similar to the plot
above.
Main features include:
• Using a default set of trajectories to compare or specifying it explicitly. The default it the
set of all state candidates.
• Choosing tolerance for the comparison.
• Optional generation of reference trajectories which is typically only needed once.
• Optional FMU export which might not be needed each time.
• Test of co-simulation or model exchange.
Zobrazit stránku 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 50 51

Komentáře k této Příručce

Žádné komentáře