Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

See examples in: http://www.mathematica-journal.com/issue/v10i1/contents/MathModelicaPaper/MathModelicaPaper_2.html

It seems to be ruled out by the statement (Chapter 2 intro): "The subset of the Modelica language described in this section can be used in the simulation models, not in general Mathematica programming."

but I just want to make sure I understand what this is saying, for example, does "simulation models" refer to SystemModeler only, or to simulating from within a notebook using WSMLink?

share|improve this question

1 Answer 1

The MathModelica syntax in the linked paper is obsoleted and not supported by SystemModeler.

  • To create and modify models in SystemModeler from a notebook, use the functions WSMCreateModel, WSMConnectComponents, WSMCreateModelString, WSMConnectComponentsString and WSMSetValues.

  • To simulate use the functions WSMSimulate and WSMSimulateSensitivity.

  • To extract data about the model use WSMModelData.

    All of these functions are linked from the guide page.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.