Conditional container

Answered

Comments

3 comments

  • Official comment
    Avatar
    Rick Kossik

    As indicated by the message, the initial value for a Reservoir must be defined at the beginning of the simulation (i.e., it must be a constant).  However, there is another way to do this.  It involves using a discrete change. Set the initial value for the Reservoir in the second Container to zero, but when the first Container shuts down, trigger a Discrete Change element that references the value of the Reservoir in the first Container, and connect this to the Reservoir in the second Container.

    Comment actions Permalink
  • Avatar
    Peter Serey

    Thanks for your responses. I was wondering if there is any examples I can I have a look that would be great. many thanks.

    0
    Comment actions Permalink
  • Avatar
    Rick Kossik

    Will send a model in an email

    0
    Comment actions Permalink

Please sign in to leave a comment.