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

how to get the integrator of a variable?

how to get the integrator of a variable?

I am a beginner of Modelica language.I want to get the state of charge of a battery,it needs the integrator of  current,but I cannot .I hope someone can help me !
Thank you!
  cherry

Re: how to get the integrator of a variable?

Hi,

Try integrator in Blocks/continuous in MSL if you using a current sensor. Or just create a state Q so that in equation section you also put I= der(Q).

Yuchen

Re: how to get the integrator of a variable?

Thank you so much!
cherry

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