Search found 31 matches

by Tuomas Miettinen
September 20th, 2017, 1:52 pm
Forum: Simantics System Dynamics Development
Topic: Background color
Replies: 4
Views: 397

Re: Background color

Hi, Yep, that's of course possible. A big word of warning though, the procedure of setting up the development environment for Sysdyn and to get it to compile has quite a few steps and is difficult. But if you have spare time and want to try out, first you need to request access to Simantics git repo...
by Tuomas Miettinen
September 19th, 2017, 10:25 am
Forum: Simantics System Dynamics Development
Topic: Background color
Replies: 4
Views: 397

Re: Background color

Hi,

I took a look at this and didn't find any way to do it :(

BR,
Tuomas
by Tuomas Miettinen
September 12th, 2017, 4:28 pm
Forum: Simantics System Dynamics
Topic: syntax error in semantic system dynamics
Replies: 6
Views: 345

Re: syntax error in semantic system dynamics

Your model configuration is such that the initial condition cannot be solved. As an example, if you create two Auxiliaries: a=b and b=a+1, you cannot solve initial condition since there are no a and b for which the equations hold at time=0. I don't know exactly what kind of a situation causes the ve...
by Tuomas Miettinen
September 11th, 2017, 2:11 pm
Forum: Simantics System Dynamics
Topic: syntax error in semantic system dynamics
Replies: 6
Views: 345

Re: syntax error in semantic system dynamics

I'm still unable to access the screenshot.
by Tuomas Miettinen
September 11th, 2017, 8:16 am
Forum: Simantics System Dynamics
Topic: syntax error in semantic system dynamics
Replies: 6
Views: 345

Re: syntax error in semantic system dynamics

There seems to be no attachment, maybe the forum has blocked it for some reason.
by Tuomas Miettinen
May 30th, 2017, 11:05 am
Forum: Simantics System Dynamics
Topic: Line Chart & CSV
Replies: 2
Views: 250

Re: Line Chart & CSV

Hmm, there seems to have been some problem with the forum as my response didn't go through, so let's try again: 1. You can copy the values by selecting the time series e.g. with Ctrl+A and then copying it to clipboard with Ctrl+C. I think that's the way that is meant in the wiki by the CSV format. 2...
by Tuomas Miettinen
May 29th, 2017, 2:51 pm
Forum: Simantics System Dynamics
Topic: No "Variables in range" for History Data
Replies: 6
Views: 602

Re: No "Variables in range" for History Data

I'm afraid our development has been targeted toward other features lately, so there is most likely no fix for this problem.
by Tuomas Miettinen
May 3rd, 2017, 11:34 am
Forum: Simantics System Dynamics
Topic: Problem handling big model
Replies: 2
Views: 275

Re: Problem handling big model

Hmm, it's known that diagram operations are quite slow but I can't recall having that bad performance, with 150 elements at least. Maybe if your model forms a structure of deep hierarchical modules, that is, for instance if you have ten modules on the top layer and they all have ten modules within a...
by Tuomas Miettinen
May 2nd, 2017, 11:35 am
Forum: Simantics System Dynamics
Topic: newbie question
Replies: 2
Views: 257

Re: newbie question

We still do some development to the Sysdyn, but mainly our development focuses on the Simupedia tool, which we utilize to create end user interfaces to Sysdyn. Sysdyn has quite a lot in common with Vensim, but of cource there are a lot of differences. For instance, for a solver we support OpenModeli...
by Tuomas Miettinen
May 2nd, 2017, 11:29 am
Forum: Simantics System Dynamics
Topic: How to get the inital value of a variable ?
Replies: 2
Views: 240

Re: How to get the inital value of a variable ?

You can get the initial value with the delay function. E.g., Aux1 = time + 1 Aux2 = delay(Aux1, stopTime) gives Aux2 = 1 thru the whole simulation. Can't tell how to do that in the middle of the simulation, but since the Sysdyn model is compiled to a Modelica model, there might be some Modelica func...
by Tuomas Miettinen
April 3rd, 2017, 10:12 am
Forum: Simantics System Dynamics
Topic: problem with External Functions
Replies: 2
Views: 262

Re: problem with External Functions

The documentation was imperfect: to use C or C++ you need to use OpenModelica as the solver. So if you haven't already downloaded the Sysdyn version with OpenModelica included, you first need to do so. Then, you need to set the OpenModelica as the solver in the Preferences (Window -> Preferences -> ...
by Tuomas Miettinen
January 9th, 2017, 10:25 am
Forum: Simantics System Dynamics
Topic: Multiple Unit Calculation and/or Converstion
Replies: 1
Views: 148

Re: Multiple Unit Calculation and/or Converstion

Currently all that kind of unit validation problems can be cleared with one function: unitCast(). Using this function in the equation allows you to change the unit of any expression within that equation to a wildcard. Of course you can't check the validity of that unit, but at least you can get rid ...
by Tuomas Miettinen
January 9th, 2017, 10:08 am
Forum: Simantics System Dynamics
Topic: can't access variables
Replies: 1
Views: 152

Re: can't access variables

Have you accidentally clicked the "Create Dependency" toggle button in the toolbar (the blue arrow, the fifth one from left)? At least seems to replicate your behavior.
by Tuomas Miettinen
December 21st, 2016, 12:25 pm
Forum: Simantics System Dynamics
Topic: No symbols and model
Replies: 5
Views: 503

Re: No symbols and model

Hi,

Sounds quite strange, maybe there was a failure in the connection between the user interface and the underlying database...? If so, starting from an empty workspace should fix the issue. I'm assuming you're using 1.9.0.

Tuomas
by Tuomas Miettinen
February 15th, 2016, 9:44 am
Forum: Simantics System Dynamics
Topic: Model Import Fails - Help please - MBA dissertation due!!!
Replies: 2
Views: 526

Re: Model Import Fails - Help please - MBA dissertation due!

Hi,

There seems not to be a model attached.
by Tuomas Miettinen
December 22nd, 2015, 2:05 pm
Forum: Simantics System Dynamics
Topic: mod function not working
Replies: 5
Views: 573

Re: mod function not working

The mod function is now working in the internal solver as well. It's available in the next nightly build (http://www.simantics.org/download/sysdyn/nightly/trunk/).
by Tuomas Miettinen
December 21st, 2015, 11:26 am
Forum: Simantics System Dynamics
Topic: mod function not working
Replies: 5
Views: 573

Re: mod function not working

Hi, There's nothing wrong with your model, it's a bug in the tool. While waiting for a solution, you can simulate the model by using the OpenModelica solver, the solver can be switched in Window -> Preferences -> Solver. You need to have the version of the tool installed which has OpenModelica inclu...
by Tuomas Miettinen
July 2nd, 2015, 8:26 am
Forum: Simantics System Dynamics
Topic: Importing iThink Model File (.itm)?
Replies: 1
Views: 633

Re: Importing iThink Model File (.itm)?

Hi,

Currently not. In addition to models made in Sysdyn, import from Vensim and XMILE formats are supported, to some extent.
by Tuomas Miettinen
December 10th, 2014, 9:01 am
Forum: Simantics System Dynamics
Topic: Problem with cosine function
Replies: 5
Views: 808

Re: Problem with cosine function

The only way that I know of how to use randomness is with sensitivity analysis experiments. We tried to implement a random variable as such a couple of years ago but didn't succeed too well. I think it was due to Modelica not supporting random numbers.

BR,
Tuomas
by Tuomas Miettinen
December 8th, 2014, 10:27 am
Forum: Simantics System Dynamics
Topic: Problem with cosine function
Replies: 5
Views: 808

Re: Problem with cosine function

Yup, the Internal solver in under development and thus lacking some Modelica features. In the upcoming release the Internal solver will be improved a lot and it will be better than OpenModelica in many applications.

BR,
Tuomas
by Tuomas Miettinen
September 10th, 2014, 8:19 am
Forum: Simantics System Dynamics
Topic: Nonlinear Equation Solver
Replies: 13
Views: 1861

Re: Nonlinear Equation Solver

First of all you should off course double check, but when you've done that, you could try the following: The sequence of simulating a model is that the model is first converted to a Modelica model and then solved as such with either OpenModelica or the internal solver. Since the latest version of Op...
by Tuomas Miettinen
September 8th, 2014, 8:58 am
Forum: Simantics System Dynamics
Topic: Nonlinear Equation Solver
Replies: 13
Views: 1861

Re: Nonlinear Equation Solver

The syntax error you get is due to a bug in the Modelica parser of the tool. I've fixed that now and the change is active onward from the next nightly. However, it seems that the model you sent simulates with OpenModelica even with the broken Modelica parser; certain syntax errors break the simulati...
by Tuomas Miettinen
September 5th, 2014, 7:54 am
Forum: Simantics System Dynamics
Topic: Nonlinear Equation Solver
Replies: 13
Views: 1861

Re: Nonlinear Equation Solver

Actually the b673 was skipped so the changes will be effective from b674 onwards. The build is now available.
by Tuomas Miettinen
September 4th, 2014, 3:04 pm
Forum: Simantics System Dynamics
Topic: Nonlinear Equation Solver
Replies: 13
Views: 1861

Re: Nonlinear Equation Solver

The trunk version now supports Modelica libraries, they can be enabled in the Model properties (in the selection view of the model Configuration) by checking the "Use Modelica libraries" checkbox. The changes will be included onward from the next nightly (b673). Nightlies are found at: http://www.si...
by Tuomas Miettinen
September 3rd, 2014, 1:26 pm
Forum: Simantics System Dynamics
Topic: Nonlinear Equation Solver
Replies: 13
Views: 1861

Re: Nonlinear Equation Solver

Hi,

I've looked at the problem, and that cannot be done in a straightforward manner in the current release (no support for functions as arguments nor usage of the whole standard Modelica library), but I'll tackle this issue and this will probably be available in the Thursday-Friday nightly.