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

Embedded Control & Modelica

Embedded Control & Modelica

Dears,

I am looking for a way how to work with Modelica & Embedded control running on microcontroller (32bit ARM Cortex M4).

Reason for that is to compare a model developed under Modelica with real one running on MCU. The idea is to apply same stimuli (input) for both real and Modelica model and find out differences and then adjust Modelica model accordingly to match real system. Further is it possible to have something like processor-in-the-loop or hardware-in-the-loop simulation?

Do you have idea how to create such approach under Modelica? Or even example how to do it under openmodelica/python etc..?

Thanks.

Best regards,
peb

Re: Embedded Control & Modelica

Is possible using external functions, See an example here:
https://openmodelica.org/openmodelicawo … s-examples
CDAC Real Time Application.zip
I now update it to contain the C code.

Edited by: adrpo - Apr-10-15 00:58:11
There are 0 guests and 0 other users also viewing this topic