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

Calculator : Rankine Cycle
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 -O3 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 (Cycle mode (1=Simple Rankine, 2=Reheat Rankine)
): 1
  Line 2 (Boiler pressure Pb [kPa]
): 6000.0
  Line 3 (Turbine inlet temperature Ts [Â°C]
): 500.0
  Line 4 (Condenser pressure Pc [kPa]
): 10.0
  Line 5 (Turbine isentropic efficiency
): 0.85
  Line 6 (Pump isentropic efficiency
): 0.90
  Line 7 (Mass flow rate mdot [kg/s]): 100.0

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