A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

Filter by
Sorted by
Tagged with
5
votes
1answer
96 views

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 ...
6
votes
1answer
146 views

Mathematica NDSolve for DAE and System Modeling

I'm a student for HVAC engineering and I've been using Mathematica for my study (mostly differential-algebraic equation system or Finite-Element-Analysis) and my hobby project for years. I really ...
4
votes
1answer
78 views

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 ...
0
votes
0answers
59 views

Does SystemModeler have a spark gap among its analog electrical comonents?

I'm crafting a circuit to simulate, etc, and I can't find any spark gap component in its library. How could it be custom designed, or imported, if it's missing from the library? In the alternative, ...
4
votes
1answer
97 views

How to enter vector inputs in SystemModelSimulate?

A support case with the identification [CASE:4272760] was created. I am having some difficulties to provide vector inputs for a Modelica model using Mathematica. ...
5
votes
1answer
80 views

Why is a Boolean output not given as True/False by SystemModelSimulate?

Bug introduced in 11.3 and persisting through 12.0 A support case with the identification [CASE:4268618] was created. I am a bit surprised that I am not getting a boolean output for the following ...
0
votes
0answers
55 views

Creating a prediction/distribution based on several years of data

So I have several years of data from a survey. For each year I've used FindDistribution and Predict to see if I can fit the data. Here's one example Where I used FindDistribution to get ...
2
votes
1answer
79 views

Making a table of results from SystemModelSimulate [closed]

I am trying to simulate a model in SystemModeler from Mathematica 11.3. I wish to simulate this model for various parameter values and make a table of the output data. To attempt this I do the ...
3
votes
1answer
86 views

How would I raise a number to a power in Modelica? [closed]

This is a very basic question that I cannot seem to find a solution to. The following line throws an error in Modelica: ...
1
vote
1answer
81 views

Can a variable be used as the parameter k in a Gain block?

I am trying to model a system where gain is variable. I have created a simple two block model to first investigate the possibility of using a variable as the gain parameter. If this works, I would ...
9
votes
1answer
128 views

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 ...
3
votes
1answer
53 views

Can custom “operator records” be defined and used in Wolfram System Modeler (and the WL)?

From an answer to a Modelica-related question on SO I learned about the possibility to overload operators in Modelica by using spezialized class operator record. Looking into the Modelica specs for ...
2
votes
1answer
103 views

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
1
vote
1answer
179 views

How to plot a trajectory of Lorenz attractor system model (SystemModelSimulate - v11.3)

I'm using one of the system models provided with Mathematica 11.3. (I found it by evaluating SystemModelExamples[].) ...
12
votes
3answers
570 views

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 ...
41
votes
1answer
952 views

In what way can M11.3's system modelling features be used by those who don't have SystemModeler?

Mathematica 11.3 includes some functionality from SystemModeler, but not the full SystemModeler environment. I assume that most people here are familiar with Mathematica, but not SystemModeler, or ...
4
votes
1answer
175 views

Systems-Modeler returns comple error code 2 when building

I've been trying to get Systems-Molder to work of a few weeks now for a school project. I can make the models fine however when I try to run the simulation I get the following build errors: Building "...
1
vote
1answer
94 views

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: ...
1
vote
1answer
165 views

Is there a way to communicate wtih Modelica other than SystemModeler?

This is a full-featured, free (freedom and beer) interconnect between Mathematica and Matlab. Conversely, this is Wolfram's own commercial solution for connecting Modelica models to Mathematica. Is ...
5
votes
1answer
173 views

How to use FindFit to optimize parameters of a WSM model via WSMLink for a parametric curve

I have I-V (current-voltage) data which I am trying to use to calibrate a PV solar cell model in WSM using WSMLink from mathematica. I am using the FindFit function which simulates the model with each ...
1
vote
1answer
79 views

System Modeler 4 on Mac X El Capitan does not work

I have installed the Mac version of System Modeler 4 in a MacBook Pro with OS X El Capitan . Also the Coder has been installed version 7 . But the System modeler can not find the C ++ compiler not is ...
3
votes
1answer
154 views

Network Analysis Problems with SystemModeler

Is it possible to analyse network problems like shortest path, minimum spanning tree, maximum flow, travelling salesman etc. with SystemModeler? If so where cm I find tutorials and examples?
0
votes
1answer
111 views

ArenaLib and WSM [closed]

The WSM documentation states that Typical tools for such purposes would include ARENA, and there exists also a Modelica implementation of that tool and modeling methodology, called the ARENALib. ...
7
votes
2answers
200 views

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 ...
3
votes
1answer
170 views

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 ...
0
votes
1answer
168 views

WSMModelData[] can not find my model

I have something like this in my notebook (SystemModeler is not running): ...
2
votes
0answers
207 views

Creating an orrery

I am interested in creating an orrery, ideally with SystemModeler. I have been experimenting with the MultiBody library since that allows you to do animations. The most relevant example seems to be ...
1
vote
1answer
178 views

WSMModelData Error

I am getting this error message when I run simulation in Mathematica that makes iterations to a SystemModeler model. ...
2
votes
2answers
404 views

Change Temporary Directory

How to change the value of $TemporaryDirectory ? I need to change it because there is not enough space on the C drive and the calculation seems to stop after a while !
7
votes
1answer
257 views

Building an arch in SystemModeler

I'm trying to learn SystemModeler and struggling a little... Building on the chain pendulum example from Wolfram, I've happily made a chain with revolute joints with spring/dampeners connecting the ...
1
vote
0answers
93 views

Parameters for modelica booleanExpression?

In SystemModeler, left-hand side, Libraries > Modelica > Blocks > Examples > ShowLogicalSources, we see a diagram with several disconnected blocks: The ...
0
votes
1answer
252 views

Is it possible to build/simulate/extract data from a System Modeler model completely inside a notebook using the MathModelica language syntax?

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 ...
2
votes
4answers
2k views

System Modeler can't find g++ in Mac OS X Mavericks

I've just purchased SystemModeler (Mac OS X Mavericks) but can't verify the g++ compiler path. I assume it's in the Xcode package but nothing I've tried seems to work, for example, Applications/...
4
votes
1answer
162 views

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 ...
17
votes
2answers
6k views

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?
13
votes
2answers
901 views

Can Wolfram System Modeler models be published in CDFs?

Is it possible to publish or distribute Models generated with WSM in CDF format (to interested people that do not have Mathematica and/or WSM)
4
votes
1answer
561 views

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 ...
5
votes
1answer
375 views

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 ...
14
votes
3answers
4k views

How to do System Dynamics simulations / diagrams in Mathematica?

System Dynamics is an approach to understanding the behaviour of complex systems over time. It deals with internal feedback loops and time delays that affect the behaviour of the entire system. What ...