Skip to content

Commit

Permalink
make init tes hot required for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tyneises committed Apr 23, 2024
1 parent c9bebbe commit ae725c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssc/cmod_csp_tower_particle.cpp
Expand Up @@ -220,7 +220,7 @@ static var_info _cm_vtab_csp_tower_particle[] = {


// TES parameters - general
{ SSC_INPUT, SSC_NUMBER, "tes_init_hot_htf_percent", "Initial fraction of available volume that is hot", "%", "", "Thermal Storage", "", /*not required because replacing deprecated var and checked in cmod*/ "", ""},
{ SSC_INPUT, SSC_NUMBER, "tes_init_hot_htf_percent", "Initial fraction of available volume that is hot", "%", "", "Thermal Storage", "*", /*not required because replacing deprecated var and checked in cmod*/ "", ""},
{ SSC_INPUT, SSC_NUMBER, "h_tank", "Total height of bin (height of HTF when bin is full)", "m", "", "Thermal Storage", "*", "", ""},
{ SSC_INPUT, SSC_NUMBER, "cold_tank_max_heat", "Rated heater capacity for cold bin heating", "MW", "", "Thermal Storage", "*", "", ""},
{ SSC_INPUT, SSC_NUMBER, "u_tank", "Loss coefficient from the bin", "W/m2-K", "", "Thermal Storage", "*", "", ""},
Expand Down Expand Up @@ -718,6 +718,9 @@ class cm_csp_tower_particle : public compute_module

void exec() override
{
//FILE* fp = fopen("particle_cmod_to_lk.lk", "w");
//write_cmod_to_lk_script(fp, m_vartab);

std::clock_t clock_start = std::clock();
int sim_type = as_integer("sim_type"); // 1 (default): time-series, 2: design only
bool is_dispatch = as_boolean("is_dispatch");
Expand Down

0 comments on commit ae725c0

Please sign in to comment.