@@ -242,7 +242,6 @@ static var_info _cm_vtab_reactor_tes_power[] = {
242242 // Reactor
243243 { SSC_OUTPUT, SSC_NUMBER, " q_dot_reactor_des" , " Reactor thermal power output at design" , " MWe" , " " , " Cycle Design Calc" , " *" , " " , " " },
244244
245-
246245 // Power Cycle
247246 { SSC_OUTPUT, SSC_NUMBER, " m_dot_htf_cycle_des" , " PC HTF mass flow rate at design" , " kg/s" , " " , " Power Cycle" , " *" , " " , " " },
248247 { SSC_OUTPUT, SSC_NUMBER, " q_dot_cycle_des" , " PC thermal input at design" , " MWt" , " " , " Power Cycle" , " *" , " " , " " },
@@ -329,6 +328,11 @@ static var_info _cm_vtab_reactor_tes_power[] = {
329328 { SSC_OUTPUT, SSC_ARRAY, " rh" , " Resource relative humidity" , " %" , " " , " " , " sim_type=1" , " " , " " },
330329 { SSC_OUTPUT, SSC_ARRAY, " wspd" , " Resource wind velocity" , " m/s" , " " , " " , " sim_type=1" , " " , " " },
331330
331+ // Reactor outputs
332+ { SSC_OUTPUT, SSC_ARRAY, " reactor_turn_down" , " Reactor turn down" , " " , " " , " " , " sim_type=1" , " " , " " },
333+ { SSC_OUTPUT, SSC_ARRAY, " reactor_thermal_power" , " Reactor thermal power output" , " MWt" , " " , " " , " sim_type=1" , " " , " " },
334+
335+
332336 // Power cycle outputs
333337 { SSC_OUTPUT, SSC_ARRAY, " eta" , " PC efficiency, gross" , " " , " " , " " , " sim_type=1" , " " , " " },
334338 { SSC_OUTPUT, SSC_ARRAY, " q_pb" , " PC input energy" , " MWt" , " " , " " , " sim_type=1" , " " , " " },
@@ -582,7 +586,7 @@ class cm_reactor_tes_power : public compute_module
582586 pc->m_pc_fl_props = as_matrix (" ud_hot_htf_props" );
583587
584588 // Check initialization variables
585- pc->m_operating_mode_initial = C_csp_power_cycle::OFF;
589+ pc->m_operating_mode_initial = C_csp_power_cycle::ON; // OFF;
586590 if (is_assigned (" pc_op_mode_initial" )) {
587591 pc->m_operating_mode_initial = (C_csp_power_cycle::E_csp_power_cycle_modes)as_integer (" pc_op_mode_initial" );
588592 if (is_assigned (" pc_startup_time_remain_init" )) {
@@ -683,6 +687,9 @@ class cm_reactor_tes_power : public compute_module
683687 q_dot_pc_des, reactor_efficiency, reactor_min_frac,
684688 reactor_htf_code, reactor_ud_htf_props);
685689
690+ // Set reactor outputs
691+ c_reactor.mc_reported_outputs .assign (C_csp_cr_reactor::E_Q_DOT_HTF, allocate (" reactor_thermal_power" , n_steps_fixed), n_steps_fixed);
692+
686693
687694 // Thermal energy storage
688695 C_csp_two_tank_tes storage (
@@ -1034,7 +1041,8 @@ class cm_reactor_tes_power : public compute_module
10341041 csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::TWET, allocate (" twet" , n_steps_fixed), n_steps_fixed);
10351042 csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::RH, allocate (" RH" , n_steps_fixed), n_steps_fixed);
10361043 csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::WSPD, allocate (" wspd" , n_steps_fixed), n_steps_fixed);
1037- csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::CR_DEFOCUS, allocate (" defocus" , n_steps_fixed), n_steps_fixed);
1044+
1045+ csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::CR_DEFOCUS, allocate (" reactor_turn_down" , n_steps_fixed), n_steps_fixed);
10381046
10391047 csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::TES_Q_DOT_DC, allocate (" q_dc_tes" , n_steps_fixed), n_steps_fixed);
10401048 csp_solver.mc_reported_outputs .assign (C_csp_solver::C_solver_outputs::TES_Q_DOT_CH, allocate (" q_ch_tes" , n_steps_fixed), n_steps_fixed);
0 commit comments