RPCSIM-SCO2 (Reactor Power and Control SIMulator for Supercritical CO2)
The RPCSIM-SCO2 code performs a dynamic simulation of a supercritical CO2 (carbon dioxide) Brayton cycle loop. The code is based on the MathLabTM program SimulinkTM from Mathworks. The Supercritical CO2 (S-CO2) model uses direct calls to the National Institute of Standards Refprop 9.0 Fortran library for the Equation-of-State (EOS) model for the CO2 working fluid (Lemmon, 2010). The calls to Refprop are made in the form of Simulink s-Functions that use a C interface to directly call the compiled Refprop fortran program library functions. Minor changes to the code can be made to use other working fluids. The code is intended to be used to perform many different types of dynamic cycle analysis for supercritical CO2 power producing systems. The code will calculate the transient temperature and pressure and all other thermodynamic properties at the inlet and outlet of each component given user supplied inputs such as rotor shaft speed, and heater power.