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

Calculator : Rankine Cycle (Steam Power Plant)
Category   : Thermo

Files Included:
  - rankine_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 -ffree-line-length-none rankine_cycle.f90 -o rankine_calc

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

  rankine_calc < 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 (Boiler High Pressure [kPa]): 8000.0
  Line 2 (Condenser Low Pressure [kPa]): 10.0
  Line 3 (Boiler Exit Temperature ($T_3$) [°C] (or -1 for saturated vapor)): 500.0
  Line 4 (Turbine Isentropic Efficiency ($\eta_t$) [0-1]): 0.88
  Line 5 (Pump Isentropic Efficiency ($\eta_p$) [0-1]): 0.85
  Line 6 (Steam Mass Flow Rate (m) [kg/s]): 15.0

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