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

Posts

Posts

Hello!

I am new on Modelica programming. I want to know if there is possible to assign a value to a string variable from a list. I am programming a thermal model to see the effect/influence of the fluid on the phenomena. In order to calculate thermo-physical properties, I would like to choose the fluid from a list before the simulation starts. I don't know if it is possible, I want avoiding to create a program for each fluid, but only one code for all of them. Please, let me know your knowledge about the topic.

Thank you in advanced for your attention. Best regards.

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