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

Posts

Posts

Hi everyone,

I work with OpenModelica since April. I have a model with 35000 equations. I simulated my model with some input and my model gave an answer. After that, I changed one input and I simulated again, the model didn't work. So, I returned to the first model and this model didn't work too.

How is it possible that a model works and after this model does not work?

OpenModelica is very slow when I open my model with 35000 equations. Is it normal?

Thank you

This code is what I was searching for.

Thank you.

Thank your for the answer, but I do not undestand how a when-statement can resolve my problem.

The condition (Temperature-1 - Temperature-2 > 20°C) can happen, but it can't be true for more than 20 seconds.

So, this condition can happen in instant of time (30 seconds, for exemple), but it can't stay true until 51 seconds.

Thank you

Hello,

I'm working with Modelica since April and for attend my goals, I need to get a values of a variable in certain instant of time.

For exemple, I created a model with 3 inputs (Temperature-0,Temperature-1,Temperature-2 ).
I want to test:
(Temperature-1 - Temperature-0) > 20°C during 20s,if true, I want to set un error message.

Temperatura-3 > 60°C during 10s, if true, I want to set un error message.

So, The only way, I thought to do, is get a values of a variable in certain instant of time and do the tests.

Thank you

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