Skip to content

Commit

Permalink
fixing UI receiver efficiency reporting
Browse files Browse the repository at this point in the history
UI receiver efficiency reporting was inconsistent with after simulation report. Root cause was due to receiver curtain discretization being different during UI design calls.
  • Loading branch information
qualand committed Apr 29, 2024
1 parent c0db6c2 commit b090aff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssc/cmod_csp_tower_particle.cpp
Expand Up @@ -867,8 +867,11 @@ class cm_csp_tower_particle : public compute_module
else {
// sim_type == 2
// Filling maps with dummy values
int n_y = as_integer("n_flux_y");
int n_x = as_integer("n_flux_x");

mt_eta_map.resize_fill(1, 3, std::numeric_limits<double>::quiet_NaN());
mt_flux_maps.resize_fill(1, 12, std::numeric_limits<double>::quiet_NaN());
mt_flux_maps.resize_fill(n_y, n_x, std::numeric_limits<double>::quiet_NaN());
}
}
else if (field_model_type == 3) { // Read in user efficiency and flux maps
Expand Down

0 comments on commit b090aff

Please sign in to comment.