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
  • » Gora1000
  • » Profile

Posts

Posts

Aug-01-13 19:15:39
How to include a dll file in Dymola?

Hello Cristian,

look for loading of dll's at Dymola User Manual Volume 2.pdf on side 333.

Best Regards
Gora

Aug-01-13 17:27:56
wrong sign of flow variables in two connnected connectors

Hi at all

I've a question about connectors. I create my own source, sink and a volume models. The volume model contains two simple connectors. They have only two variables m_flow and T. I create my models so, that all of input flow variables should be positive and all output flow  variables negative (it's mean m_flow). If I simulate my testmodel I expect, that negative m_flow from sourceconnector should be positive in the input connector of my volume model. In the simulation with OM it's wrong, both variables are negative. If I test it with dymola it works well.

I find here https://www.openmodelica.org/index.php/ … pic?id=891 and https://www.openmodelica.org/index.php/ … pic?id=905 some about this problem, but that was not really helpful for my problem.
Have anyone  any idea?

thanks for help

Aug-01-13 11:02:02
Real variables are not correctly shown in diagramm view

I will later post the code.

Jul-31-13 17:46:08
Real variables are not correctly shown in diagramm view

Hi Adeel

thanks for your answer and it was helpful.

I've a another question about connectors. I create my own source, sink and a volume models. The volume model contains two simple connectors. They have only two variables m_flow and T. I create my models so, that all of input flow variables should be positive and all output flow  variables negative (it's mean m_flow). If I simulate my testmodel I expect, that negative m_flow from sourceconnector should be positive in the input connector of my volume model. In the simulation with OM it's wrong, both variables are negative. If I test it with dymola it works well. Do you have any idea?

Best regards
Gora

Jul-29-13 19:15:16
Real variables are not correctly shown in diagramm view

Hello at all,

i'm currently at testing a openModelica model development tool OMEdit and if I try to write a simple model like this

Code:


model testModel "Test my model"
  Real y;
  Real x;
equation
  x = time;
  der(y) = x;
end testModel ;

I can see in the diagramm view mode red square with a red cross. Can someone explain me what I do wrong?

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