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

Posts

Posts

Feb-09-15 13:39:31
Category: Programming

Hello,

I'm quite new to Modelica and I don't know what's the best way to approach my problem.
I have two "rooms" (basically two Fluid.ClosedVolume components) which are separated by a wall, which is nothing more than a combination of a heat conductor and a heat capacitor.
What I want to do now, is to make this wall removable.
That means that during the runtime, the two rooms can be joined or separated.

My plan was/is to adapt the heat flow to the "status" of the wall.
I tried rasing the conductancy if the wall gets removed, but it seems as it isn't possible to change this parameter during simulaiton.
My other approach was to add a separate heat flow connection and only connect the ports if the wall is opened.
Lastly I tried setting the Qflow variable of one of the ports.

Unfortunately I didn't get any of these ideas to work.

Can someone tell me what's the best way to solve my problem?
Otherwise it might be really helpful if you have a link or something to a tutorial how to make optional connections.
(I could only find information regarding optional components, but this isn't helpful, or is it?).

Regards,
Magnus

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