Skip to content
Discussion options

You must be logged in to vote

Hi @WangJ501,

yes this can be done. There is no parameter directly associated with the Splitter or Merge for this, but you can reference one mass flow to another one like this:

from tespy.components import Source, Sink, SimpleHeatExchanger, Splitter
from tespy.connections import Connection, Ref
from tespy.networks import Network


nw = Network()
nw.units.set_defaults(
    temperature="°C",
    pressure="bar",
    heat="kW"
)

water = Source("water inflow")
boiler = SimpleHeatExchanger("boiler")
splitter = Splitter("splitter")
steam1 = Sink("steam 1")
steam2 = Sink("steam 2")

c1 = Connection(water, "out1", boiler, "in1", label="c1")
c2 = Connection(boiler, "out1", splitter, "in1", label="c2"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fwitte
Comment options

@WangJ501
Comment options

Answer selected by WangJ501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants