Skip to content

Commit

Permalink
Make ssc variable labels consistent with UI forms, help, and the loss…
Browse files Browse the repository at this point in the history
…es page
  • Loading branch information
brtietz committed Nov 13, 2024
1 parent cc88f4e commit a87f41d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ssc/cmod_pvsamv1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ static var_info _cm_vtab_pvsamv1[] = {
{ SSC_OUTPUT, SSC_ARRAY, "ac_transmission_loss", "Transmission loss", "kW", "", "Time Series (Transmission)", "", "", "" },

// Post batt AC losses - record so the powerflows from PV and batt to grid add up properly
{ SSC_OUTPUT, SSC_ARRAY, "ac_perf_adj_loss", "AC performance adjustment loss", "kW", "", "Time Series (AC Loss)", "", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "ac_perf_adj_loss", "AC availability loss", "kW", "", "Time Series (AC Loss)", "", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "ac_lifetime_loss", "AC lifetime daily loss", "kW", "", "Time Series (AC Loss)", "", "", "" },

// monthly and annual outputs
Expand Down Expand Up @@ -966,7 +966,7 @@ static var_info _cm_vtab_pvsamv1[] = {
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_tracking_loss_percent", "DC tracking loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_nameplate_loss_percent", "DC nameplate loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_optimizer_loss_percent", "DC power optimizer loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_perf_adj_loss_percent", "DC performance adjustment loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_perf_adj_loss_percent", "DC availability loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_lifetime_loss_percent", "Lifetime daily DC loss- year 1", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_battery_loss_percent", "DC connected battery loss- year 1", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_dc_inv_tdc_loss_percent", "DC inverter thermal derate loss", "%", "", "Loss", "", "", "" },
Expand All @@ -990,7 +990,7 @@ static var_info _cm_vtab_pvsamv1[] = {


// annual_ac_net
{ SSC_OUTPUT, SSC_NUMBER, "annual_ac_perf_adj_loss_percent", "AC performance adjustment loss", "%", "", "Loss", "", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "annual_ac_perf_adj_loss_percent", "AC availability loss", "%", "", "Loss", "", "", "" },
// annual_energy

/*
Expand Down
2 changes: 1 addition & 1 deletion ssc/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ var_info vtab_batt_adjustment_factors[] = {
{ SSC_INPUT, SSC_NUMBER, "batt_adjust_en_periods" , "Enable battery period-based adjustment factors", "0/1", "", "Adjustment Factors", "?=0", "BOOLEAN", "" },
{ SSC_INPUT,SSC_ARRAY , "batt_adjust_timeindex" , "Battery Lifetime Adjustment Factors" , "%" , "" , "Adjustment Factors" , "batt_adjust_en_timeindex=1" , "" , ""},
{ SSC_INPUT,SSC_MATRIX , "batt_adjust_periods" , "Battery Period-based Adjustment Factors" , "%" , "n x 3 matrix [ start, end, loss ]" , "Adjustment Factors" , "batt_adjust_en_periods=1" , "COLS=3" , ""},
{ SSC_OUTPUT, SSC_ARRAY, "batt_perf_adj_loss", "Battery performance adjustment loss", "%", "", "Time Series", "", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "batt_availability_loss", "Battery availability loss", "%", "", "Time Series", "", "", "" },

var_info_invalid };

Expand Down

0 comments on commit a87f41d

Please sign in to comment.