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
  • » finnhaugen@hotmail.com
  • » Profile

Posts

Posts

Hi Just,

Thanks. Can you provide a very simple yet complete example (as a mo-file) which I can open and modify? Say the formula to be represented is y = a*u + b where a and b are parameters with values 1 and 2 respectively, and u comes from a step input block.

(By now, I am not mastering Modelica programming. My present skills is to create block diagrams representing mathematical block diagrams of systems given as given diff eqs and PID control for these systems.)

Regards,
Finn

In block diagram simulators, is there a block in which one can write textual math, like the Formula Node (with C-code) in LabVIEW and the Matlab Function (with Matlab code) in Simulink? Such blocks could be used as an alternative to using elementary math blocks, thereby simplifying the block diagram considerably.

  • Index
  • » Users
  • » finnhaugen@hotmail.com
  • » Profile
You are here: