Message Boards Message Boards

0
|
6372 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Using WSMLink for simulation of Modelica generating wrong file paths

Posted 10 years ago
Attachments:
POSTED BY: Alachew Mengist
5 Replies

As noted in the other thread ( http://community.wolfram.com/groups/-/m/t/339700?p_p_auth=q7hVqLPX ), if you are using version 3 there is no way to specify or retrieve the name of the result file.

You can continue using the functionality in WSMLink to read data from the simulation result, see WSMSimulationData documentation: http://reference.wolfram.com/system-modeler/WSMLink/ref/WSMSimulationData.html

POSTED BY: Malte Lenz
Posted 10 years ago
Attachments:
POSTED BY: Alachew Mengist

Not having used pyhonica, I guess you could just continue calling the relevant Mathematica functions to read the results and create a plot (look up WSMSimulationData and/or WSMPlot).

If you want to read the raw data from the result file yourself, that would of course require a quite large amount of work, but the file format is specified in the documentation here: http://reference.wolfram.com/system-modeler/UserGuide/SimulationCenterSimulationResultFiles.html

POSTED BY: Malte Lenz
Posted 10 years ago
POSTED BY: Alachew Mengist

I'm not sure what your intention or actual steps to get here were, but in general, WSMLink cannot currently be used to export simulation executables or simulation settings files. This functionality is available in Simulation Center. This is documented at the bottom of this page: http://reference.wolfram.com/system-modeler/UserGuide/SimulationCenterImportingAndExporting.html

POSTED BY: Malte Lenz
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract