Questions tagged [system-modeler]

Questions on Wolfram SystemModeler, an environment for the modeling of systems with mechanical, electrical, thermal, chemical, biological, and other components, as well as combinations of different types of components.

Wolfram's System Modeler is an environment for the modeling and the simulation of cyber-physical systems(CPS) using the declarative modeling language Modelica (cf. Peter Fritzon (2011) - Modelica: A cyber-physical modeling language and the OpenModelica environment).

Questions with the tag should be concerned specifically with the Wolfram System Modeler software and its interaction with the Wolfram Language.

Questions that are concerned with the system modeling functionality that as of Version 11.3.0 is part of the Wolfram Language should have the tag instead. In some intersecting cases the assignment of both tags may be justified.

52 questions
17
votes
2 answers

What is Mathematica's equivalent to MATLAB's Simulink?

MATLAB has Simulink and Simscape, Maple has MapleSim and Scilab has Xcos. What is the equivalent product for Mathematica?
WalkingRandomly
  • 4,107
  • 1
  • 20
  • 36
12
votes
3 answers

Is it possible to use SystemModeler as a Modelica IDE (to create custom Modelica components)?

Wolfram's SystemModeler provides access to a large amount of components from the standard Modelica language, as is mentioned on this page. It can also be extended with Modelica libraries built by third parties, such as those listed here). I wanted…
Ronnie
  • 285
  • 1
  • 4
9
votes
1 answer

Is it possible to call a Mathematica function from a SystemModeler component?

Is it possible to call Mathematica 11.3 functions from a SystemModeler 5.1 component? I see that Mathematica can run a SystemModeler simulation. Are there any examples of this? It would be very useful to be able to create custom SystemModeler…
Doug Kimzey
  • 2,279
  • 1
  • 14
  • 21
7
votes
2 answers

Is it possible to add a node to a circuit model in SystemModeler?

I am putting together a basic electrical circuit model in Wolfram System Modeler. While the circuit does not technically need a common node, it makes the circuit easier to explain as branches may be grouped logically. I am currently trying a 0 ohm…
Doug Kimzey
  • 2,279
  • 1
  • 14
  • 21
5
votes
1 answer

Resolving reduced resolution issues in WSMLink

I have been attempting to evaluate Wolfram System Modeler (WSM) and it has not been going smoothly. It looks like some of the Modelica Models (combiTable1D for instance) supplied are not complete or not functional in WSM. I am working with Wolfram…
vandel
  • 123
  • 3
5
votes
1 answer

Do I need Mathematica use System Modeler?

I found a couple of interesting model examples that I would like to run in System Modeler. https://www.wolfram.com/system-modeler/examples/life-sciences/insulin-receptor-signaling.html Do I need to also install Mathematica to work with System…
Sami Ben
  • 153
  • 3
4
votes
1 answer

WSMSetValues function

I am trying to assign values to some model parameters using WSMSetValues function, however, it seems to be working only with values greater than 10^-4. Is this normal behavior or I am doing something wrong? Of course, I could manually type in these…
Tatjana
  • 85
  • 4
4
votes
1 answer

How would I add noise to a voltage source in SystemModeler?

I have a simple circuit with a SawTooth voltage source in SystemModeler 12.0. How would I add a noise component to a sawtooth waveform? I have added a NormalNoise block named normalNoise1 to my model. I can plot normalNoise1 in my output run. I…
Doug Kimzey
  • 2,279
  • 1
  • 14
  • 21
4
votes
1 answer

cannot open WSMLink

I'm evaluating Wolfram SystemModeler and I want to explore its capabilities together with Mathematica. Unfortunately, I don't manage to get WSMLink working. In the notebook I'm using I typed Needs["WSMLink`"] and pressed Shift+Enter. Mathematica…
carlo
  • 41
  • 1
3
votes
1 answer

SystemModeler join wires

I'm using SystemModeler and I'm trying to understand what is the equivalent for Simulink's Ctrl+drag to create a wire coming out of an existing wire. I am trying to make a wire come out of an existing wire in an electrical circuit (create a node…
space_voyager
  • 841
  • 4
  • 11
3
votes
1 answer

Can Modelica.Electrical.Spice3 or SPICELib be used in Wolfram SystemModeler?

I would like to make use of the SPICE models that are available for COTS (Commercial Off-the-Shelf) Op-Amps in Wolfram SystemModeler. There are some libraries such as SPICELib and Modelica.Electrical.Spice3 for OpenModelica. Would these…
Doug Kimzey
  • 2,279
  • 1
  • 14
  • 21
3
votes
1 answer

How would I raise a number to a power in Modelica?

This is a very basic question that I cannot seem to find a solution to. The following line throws an error in Modelica: parameter Real chargeDensity(unit = "C/m")=10^-10; The error is: File "", line 6, column 90, after '^' and…
Doug Kimzey
  • 2,279
  • 1
  • 14
  • 21
2
votes
1 answer

how do I link system modeler to Mathematica

I have a version of Mathematica 11.0.1 and it will not work with the latest system modeler, is there a way I can fix that
2
votes
1 answer

SystemModeler Error: Could not read result file, missing data matrix, the file might be corrupt

I'm trying to run a Modelica code in SystemModeler on Windows: model code //constants constant Real pi = 2 * Modelica.Math.asin(1.0); parameter Real mukpc = 0.2; parameter Real muspc = 0.0; parameter Real mukps = 0.0; parameter Real…
Foad
  • 605
  • 4
  • 13
1
vote
0 answers

Parameters for modelica booleanExpression?

In SystemModeler, left-hand side, Libraries > Modelica > Blocks > Examples > ShowLogicalSources, we see a diagram with several disconnected blocks: The booleanExpression block contains an expression, pulse.y and step.y, that implicitly links it to…
Reb.Cabin
  • 8,661
  • 1
  • 34
  • 62
1
2