=========================================================================
  ThermoFluidCalc — Standalone Fortran Execution Guide
=========================================================================

Calculator : Regenerative Rankine Cycle
Category   : Thermo

Files Included:
  - rankine_regenerative.f90 (Fortran 90/2008 Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have GNU Fortran (gfortran) or Intel Fortran (ifort) installed.
Run the following compilation command in your terminal:

  gfortran -O3 rankine_regenerative.f90 -o rankine_regenerative

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

  rankine_regenerative < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Boiler pressure Pb [Pa]
Turbine inlet temperature Tb [K]
Condenser pressure Pc [Pa]
Number of extraction stages (1 or 2)
Extraction stage 1 pressure [Pa]
Extraction stage 2 pressure [Pa] (for n=2)
Feedwater heater type (1=Open FWH, 2=Closed FWH)
Turbine isentropic efficiency
Pump isentropic efficiency
Steam mass flow rate [kg/s]

Website : https://thermofluidcalc.com
