Is it possible to create a simscape block with three nodes?

4 views (last 30 days)
Hello everyone, I am trying to implement a water filtration treatment unit with one flow going in (a:feed flow) and two flows going out (b:permeate and c:retentate flow).
How should the Branches section look like?
So far I tried:
branches
q_feed: a.q -> *;
q_permeate: * -> b.q;
q_retentate: * -> c.q;
end
Personally, I do not think that this declaration is right, since I get an error concerning 'transient initialization, solving for consistent states and modes, failed to converge'.
Thank you for your help. Joel
  2 Comments
Ekin
Ekin on 17 Oct 2022
Edited: Ekin on 17 Oct 2022
Did you find any solution? equations section doesn't allow "a.q == b.q - c.q".

Sign in to comment.

Answers (1)

David John
David John on 21 Nov 2022 at 10:25
branches
q1 : a.q -> b.q;
q2 : a.q -> c.q
end

Categories

Find more on Foundation and Custom Domains in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!