Skip to content

Commit

Permalink
Update costs vartable for all used variables in calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jan 7, 2025
1 parent b8da7a6 commit 24f7c22
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions ssc/cmod_geothermal_costs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,23 @@ static var_info _cm_vtab_geothermal_costs[] = {
{ SSC_INPUT, SSC_NUMBER, "resource_depth", "Resource Depth", "m", "", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.prod_wells_drilled", "Number of drilled production wells", "0/1", "0=LargerDiameter,1=SmallerDiameter", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.inj_wells_drilled", "Number of drilled injection wells", "0/1", "0=LargerDiameter,1=SmallerDiameter", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.stim_non_drill", "Stimulation non drilling costs", "$", "?=0", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_non_drill", "Exploration non drilling costs", "$", "?=750000", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_non_drill", "Confirmation non drilling costs", "$", "?=250000", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_multiplier", "Exploration cost multiplier", "", "?=0.5", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_multiplier", "Confirmation cost multiplier", "", "?=1.2", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_num_wells", "Number of exploration wells", "", "?=2", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_num_wells", "Number of confirmation wells", "", "?=2", "GeoHourly", "calc_drill_costs=1", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.stim_non_drill", "Stimulation non drilling costs", "$", "", "GeoHourly", "calc_drill_costs=1", "", "?=0" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_non_drill", "Exploration non drilling costs", "$", "", "GeoHourly", "calc_drill_costs=1", "", "?=750000" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_non_drill", "Confirmation non drilling costs", "$", "", "GeoHourly", "calc_drill_costs=1", "", "?=250000" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_multiplier", "Exploration cost multiplier", "", "", "GeoHourly", "calc_drill_costs=1", "", "?=0.5" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_multiplier", "Confirmation cost multiplier", "", "", "GeoHourly", "calc_drill_costs=1", "", "?=1.2" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.expl_num_wells", "Number of exploration wells", "", "", "GeoHourly", "calc_drill_costs=1", "", "?=2" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.conf_num_wells", "Number of confirmation wells", "", "", "GeoHourly", "calc_drill_costs=1", "", "?=2" },
// need defaults?
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.pump_fixed", "Fixed pump workover and casing cost", "$", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.pump_per_foot", "Pump cost per foot", "$/ft", "", "GeoHourly", "", "", "" },
// name change to match assign statement
// { SSC_INPUT, SSC_NUMBER, "geotherm.cost.pump_geotherm.cost.pump_depth", "Pump depth", "ft", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.pump_depth", "Pump depth", "ft", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.prod_req", "Number of production wells required", "", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "pump_size_hp", "Production pump power", "hp", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.pump_depth", "Pump depth", "ft", "", "GeoHourly", "", "", "?=1123120" },
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.prod_req", "Number of production wells required", "", "", "GeoHourly", "", "", "?=3.667" },
{ SSC_INPUT, SSC_NUMBER, "pump_size_hp", "Production pump power", "hp", "", "GeoHourly", "", "", "?733.646" },
{ SSC_INPUT, SSC_NUMBER, "inj_pump_hp", "Injection pump power", "hp", "", "GeoHourly", "", "", "" },
{ SSC_INPUT, SSC_NUMBER, "inj_num_pumps", "Number of injection pumps", "p", "", "GeoHourly", "", "", "?=1" },


// Outputs
Expand Down

0 comments on commit 24f7c22

Please sign in to comment.