FlowDivider missing equation? · Issue #326 · SciML/ModelingToolkitStandardLibrary.jl · GitHub
Skip to content

FlowDivider missing equation? #326

Open

Description

@roman-timo

Question❓

Hydraulic components - FlowDivider.
I see a commented line in equations which should define a dm on port_b. Is it missing something or does it work just fine? What was the idea?
Thank you.

    eqs = [connect(port_a, port_b, open.port)
           dm_a ~ port_a.dm
           dm_b ~ dm_a / n
           open.dm ~ dm_a - dm_b # extra flow dumps into an open port
           # port_b.dm ~ dm_b # divided flow goes to port_b
           ]

@bradcarman

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions