Skip to content
Discussion options

You must be logged in to vote

Hello Francesco,
Was able to solve with following code. However please keep this thread open. Let me try to add cascaded heaters.

from tespy.networks import Network
from tespy.components import Sink, Source, SteamTurbine,Merge,Pump,CycleCloser,PowerBus, Splitter,PowerSink,PowerBus,Condenser,SimpleHeatExchanger
from tespy.components.power.generator import Generator
from tespy.connections import Connection,PowerConnection

# 1. Initialize Network
nw = Network()
nw.units.set_defaults(
    temperature="degC", pressure="bar", enthalpy="kJ/kg", power="MW", heat="MW")
# 2. Define Components
steam_source = Source('Steam Source')
cc = CycleCloser('cycle closer')
cw_source=Source('Cw_in')
da=Merge('…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fwitte
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #919 on March 26, 2026 06:33.