=========================================================================
  ThermoFluidCalc — Offline Fortran Execution Guide
=========================================================================

Calculator : Combined Cycle Power Plant
Category   : Thermo

Files Included:
  - combined_cycle.f90 (Fortran Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have a Fortran compiler installed (like gfortran).
Run the following compilation command in your terminal:

  gfortran -O3 combined_cycle.f90 -o combined_cycle

-------------------------------------------------------------------------
2. How to Execute
-------------------------------------------------------------------------
Run the compiled binary and redirect the input.txt file into stdin:

  combined_cycle < input.txt

-------------------------------------------------------------------------
3. Input File Details
-------------------------------------------------------------------------
The input file 'input.txt' contains sequential parameters separated by
newlines. Here is the structure of the included 'input.txt':

  Line 1 (Compressor inlet temperature T1 [K]): 288.15
  Line 2 (Turbine inlet temperature T3 [K]): 1573.15
  Line 3 (Pressure ratio rp): 18.0
  Line 4 (Specific heat ratio gamma (gas)): 1.4
  Line 5 (Specific heat cp [J/kg-K] (gas)): 1005.0
  Line 6 (Compressor isentropic efficiency): 0.86
  Line 7 (Gas turbine isentropic efficiency): 0.90
  Line 8 (Steam boiler pressure Pb [Pa]): 8.0e6
  Line 9 (Steam temperature Ts [K]): 813.15
  Line 10 (Steam condenser pressure Pc [Pa]): 10.0e3
  Line 11 (Steam turbine isentropic efficiency): 0.88
  Line 12 (Pump isentropic efficiency): 0.85
  Line 13 (Min pinch temp delta [K]): 15.0
  Line 14 (Gas mass flow rate [kg/s]): 400.0

=========================================================================
ThermoFluidCalc — https://thermofluidcalc.com
