Skip to content

Commit

Permalink
fixed new subtimestep aggregator linux bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tyneises committed Jan 13, 2025
1 parent 28520c9 commit b543909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssc/cmod_trough_physical_iph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ static var_info _cm_vtab_trough_physical_iph[] = {

// Simulation Kernel
{ SSC_OUTPUT, SSC_ARRAY, "time_hr", "Time at end of timestep", "hr", "", "solver", "sim_type=1", "", "" },
//{ SSC_OUTPUT, SSC_ARRAY, "timestep_sim_duration", "Simulation duration of timestep", "s", "", "solver", "sim_type=1", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "timestep_sim_duration", "Simulation duration of timestep", "s", "", "solver", "sim_type=1", "", "" },

// Weather Reader
{ SSC_OUTPUT, SSC_ARRAY, "month", "Resource Month", "", "", "weather", "sim_type=1", "", "" },
Expand Down Expand Up @@ -1748,7 +1748,7 @@ class cm_trough_physical_iph : public compute_module
{
// Simulation Kernel
csp_solver.mc_reported_outputs.assign(C_csp_solver::C_solver_outputs::TIME_FINAL, allocate("time_hr", n_steps_fixed), n_steps_fixed);
//csp_solver.mc_reported_outputs.assign(C_csp_solver::C_solver_outputs::SIM_DURATION, allocate("timestep_sim_duration", n_steps_fixed), n_steps_fixed);
csp_solver.mc_reported_outputs.assign(C_csp_solver::C_solver_outputs::SIM_DURATION, allocate("timestep_sim_duration", n_steps_fixed), n_steps_fixed);
// Weather reader
csp_solver.mc_reported_outputs.assign(C_csp_solver::C_solver_outputs::MONTH, allocate("month", n_steps_fixed), n_steps_fixed);
csp_solver.mc_reported_outputs.assign(C_csp_solver::C_solver_outputs::HOUR_DAY, allocate("hour_day", n_steps_fixed), n_steps_fixed);
Expand Down

0 comments on commit b543909

Please sign in to comment.