Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » svennipp
  • » Profile

Posts

Posts

oh yes, thats the one.

Should i delete this thread. Or is there maybe someone who has workaround?

I am totally new to modelica and OpenModelica.

I tried making some small examples but I have a problem with OMEdit 1.6.0

Explanation:
I add blocks to the diagram view.
When i edit parameters using the graphic interface. they do not get stored in the modell. In the graphic interface it looks like they get stored, but running a simulation shows results for other parameters (orginal default paramaters are used during simulation).

When looking in the "text view" of the modell i can see that no parameter settings are stored:

Example,
sine source looks like this:
Modelica.Blocks.Sources.Sine sine1annotation(Placement(visible = true, transformation(origin = {-63,36.5}, extent = {{-15,-15},{15,15}}, rotation = 0)));
when it should look like this:
Modelica.Blocks.Sources.Sine sine1(freqHz = 10) annotation(Placement(visible = true, transformation(origin = {-63,36.5}, extent = {{-15,-15},{15,15}}, rotation = 0)));

Its not a major problem for me, I can define the parameters in text mode to get correct results.

But if anyone can tip me in the right directions... I would apreciate it.

  • Index
  • » Users
  • » svennipp
  • » Profile
You are here: