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

biological process, hours as time

biological process, hours as time

Hello,

iam working the first time with openmodelica. I have some experiences with dymola, so i know the language kind of.

I want to simulate an biological process, over a time of one year. The time intervall should be one hour. When I worked with modelica I always simulated mechanical systems, but when I simulate a biological process it is not very suitable to simulate the process second by second. Its more appropriate to do it hour by hour.

I do not know if there is actually a problem with doing it. If I use the simulation intervall from 0 to 8760 (year in hours) and use all constants based on hour it could work at first sight - thats what I think.

Does anyone of you have an advice/ idea to work with hour - intervalls?

Thank you
Christian

Re: biological process, hours as time

Hi,

Just say simulate(Model, stopTime=8760, numberOfIntervals=8760)
Or if you use OMEdit set it there.

Marry Christmas!

Cheers,
Adrian Pop/

There are 0 guests and 0 other users also viewing this topic
You are here: