BraytonIdeal:

Path: Thermal/Brayton

% Ideal Brayton cycle
 Computes the efficiency, mass flow and temperatures. This power plant
 has a single compressor and turbine. Both are 100% efficient.

 The cycle points are

 1 - compressor inlet
 2 - compressor outlet
 3 - turbine inlet
 4 - turbine outlet

 Note: t2 = t4 in this ideal cycle.

 Type BraytonIdeal for a demo comparing helium, nitrogen and carbon
 dioxide.
--------------------------------------------------------------------------
   Form:
   [eff, mDot, t] = BraytonIdeal( gamma, pR, cP, t3, qR )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   gamma    (1,1)  Ratio of specific heats
   pR       (1,:)  Pressure ratio
   t3       (1,1)  Temperature at end of combustor  (deg-K)
   cP       (1,1)  Specific heat constant pressure J/kg deg-K
   qR       (1,1)  Heat input (W)

   -------
   Outputs
   -------
   eff      (1,1)  Thermal efficiency
   mDot     (1,:)  Mass flow (kg/s)
   t        (4,:)  Cycle temperatures (deg-K)

--------------------------------------------------------------------------
   References: N. Ait Messaoudene, "Thermal Power Plants," ME 435,
               University of Hail.
--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle

Back to the Thermal Module page