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

Posts

Posts

Jan-08-13 18:13:28
For modelling modelling time-delay in physical computations
Category: Programming

Thank you very very much!

Jan-08-13 16:50:35
For modelling modelling time-delay in physical computations
Category: Programming

Hi there,
as many askers before, I'm relatively new to programming in Modelica but already realy fascinated from the language power.
What I wasn't able to find yet, is how to get values of a variable from former timesteps.
So like I want to have a Heat-Loss calculation with a temperature-dependent value for the convection coefficient. As the fan that should generate the new convection coefficient needs 3 seconds to start up, I'd need the Temperature value from 3 seconds ago to calculate the current convection coefficient.

Does anyone knows how to do something like that?

Thank you very much for every kind of answer and help.

Daniel

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