Skip to content

Commit

Permalink
try fixing new subtimestep aggregator for linux v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tyneises committed Jan 13, 2025
1 parent 4d45a29 commit 1b3f596
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
4 changes: 2 additions & 2 deletions tcs/csp_solver_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class C_csp_reported_outputs
TS_1ST,
TS_LAST,
TS_MAX,
DEPENDENT,
SUMMED
SUMMED,
DEPENDENT
};

enum E_AB_relationship
Expand Down

0 comments on commit 1b3f596

Please sign in to comment.