Skip to content

CHP plant & DHN design_Problem setting up the system #476

Answered by fwitte
MikeSennis asked this question in Q&A
Discussion options

You must be logged in to vote

And for the second option, in case you have the identical gas turbine setup:

from tespy.networks import Network
from tespy.components import (
    DiabaticCombustionChamber, Turbine, Source, Sink, Compressor, Subsystem
)
from tespy.connections import Connection, Ref, Bus


class GasTurbineSubsystem(Subsystem):
    """Class documentation"""

    def create_comps(self):
        """Create the subsystem's components."""
        self.comps['compressor'] = Compressor(f'{self.label}-compressor')
        self.comps['combustion'] = DiabaticCombustionChamber(f'{self.label}-combustion chamber')
        self.comps['gas'] = Source(f'{self.label}-gas intake')
        self.comps['air'] = Source(f'{self.l…

Replies: 2 comments 5 replies

Comment options

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

@fwitte
Comment options

Answer selected by fwitte
Comment options

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

@MikeSennis
Comment options

@MikeSennis
Comment options

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