Skip to content

Commit

Permalink
Update costs names and values for use in ATB script.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jan 8, 2025
1 parent 24f7c22 commit a91862b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssc/cmod_geothermal_costs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ class cm_geothermal_costs : public compute_module
double conf_total_cost = conf_per_well * conf_num_wells + conf_non_drill;
assign("conf_total_cost", conf_total_cost);

double drilling_total_cost = expl_total_cost + conf_total_cost + inj_total_cost + prod_total_cost + stim_total_cost;
assign("drilling_total_cost", drilling_total_cost);
double total_drilling_cost = expl_total_cost + conf_total_cost + inj_total_cost + prod_total_cost + stim_total_cost;
assign("total_drilling_cost", total_drilling_cost);

}
int conversion_type = as_integer("conversion_type");
Expand Down Expand Up @@ -856,7 +856,7 @@ class cm_geothermal_costs : public compute_module
double injection_pump_cost = num_injection_pumps * inj_pump_cost_per_pump * pump_ppi[ppi_base_year];

double indirect_pump_cost = (production_pump_cost + injection_pump_cost) * (1.0 / (1.0 - 0.12) - 1.0);

assign("pump_only_cost", production_pump_cost);
double total_pump_cost = production_pump_cost + injection_pump_cost + indirect_pump_cost;
assign("total_pump_cost", var_data(static_cast<ssc_number_t>(total_pump_cost)));

Expand Down

0 comments on commit a91862b

Please sign in to comment.