Skip to content

Commit

Permalink
Merge pull request #1067 from NREL/mspt-cav-des-bug
Browse files Browse the repository at this point in the history
Fix MSPT cavity receiver system capacity calculation
  • Loading branch information
tyneises authored Oct 17, 2023
2 parents 49524b4 + 13c45e7 commit f941328
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ssc/cmod_tcsmolten_salt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "csp_system_costs.h"

#include <ctime>
#include <cmath>
#include <limits>

static var_info _cm_vtab_tcsmolten_salt[] = {

Expand Down Expand Up @@ -2477,7 +2479,12 @@ class cm_tcsmolten_salt : public compute_module
double W_dot_bop_design, W_dot_fixed_parasitic_design; //[MWe]
csp_solver.get_design_parameters(W_dot_bop_design, W_dot_fixed_parasitic_design);

double plant_net_capacity_calc = W_dot_cycle_des - W_dot_col_tracking_des - W_dot_rec_pump_des -
double W_dot_rec_pump_des_for_cap_calc = W_dot_rec_pump_des;
if (!std::isfinite(W_dot_rec_pump_des_for_cap_calc)) {
W_dot_rec_pump_des_for_cap_calc = 0.02 * W_dot_cycle_des;
}

double plant_net_capacity_calc = W_dot_cycle_des - W_dot_col_tracking_des - W_dot_rec_pump_des_for_cap_calc -
W_dot_pc_pump_des - W_dot_pc_cooling_des - W_dot_bop_design - W_dot_fixed_parasitic_design; //[MWe]


Expand Down

0 comments on commit f941328

Please sign in to comment.