Skip to content

Commit

Permalink
Fix total tracking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbrown75 committed Oct 18, 2023
1 parent d9a67d1 commit 14c6ada
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssc/cmod_trough_physical.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,8 @@ class cm_trough_physical : public compute_module
assign("solar_mult", c_trough.m_solar_mult);
assign("fixed_land_area", c_trough.m_fixed_land_area); //[acre]
assign("total_land_area", c_trough.m_total_land_area); //[acre]
assign("total_tracking_power", c_trough.get_tracking_power()); //[MWe]
double total_tracking_power = c_trough.get_tracking_power();
assign("total_tracking_power", total_tracking_power); //[MWe]
assign("K_cpnt", c_trough.m_K_cpnt);
assign("D_cpnt", c_trough.m_D_cpnt); //[m]
assign("L_cpnt", c_trough.m_L_cpnt); //[m]
Expand Down
3 changes: 3 additions & 0 deletions tcs/csp_solver_trough_collector_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4613,6 +4613,9 @@ bool C_csp_trough_collector_receiver::design_solar_mult()
m_total_land_area = m_fixed_land_area * m_non_solar_field_land_area_multiplier;
}

m_is_solar_mult_designed = true;

return m_is_solar_mult_designed;
}

/*
Expand Down

0 comments on commit 14c6ada

Please sign in to comment.