Skip to content

Commit

Permalink
Remove geothermal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Feb 12, 2025
1 parent 4406fe5 commit 093f126
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 380 deletions.
46 changes: 2 additions & 44 deletions modules/Geothermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,18 +1013,6 @@ GeoHourly_set_stim_success_rate(VarGroupObject *self, PyObject *value, void *clo
return PySAM_double_setter(value, SAM_Geothermal_GeoHourly_stim_success_rate_nset, self->data_ptr);
}

static PyObject *
GeoHourly_get_stimulation_type(VarGroupObject *self, void *closure)
{
return PySAM_double_getter(SAM_Geothermal_GeoHourly_stimulation_type_nget, self->data_ptr);
}

static int
GeoHourly_set_stimulation_type(VarGroupObject *self, PyObject *value, void *closure)
{
return PySAM_double_setter(value, SAM_Geothermal_GeoHourly_stimulation_type_nset, self->data_ptr);
}

static PyObject *
GeoHourly_get_subsurface_water_loss(VarGroupObject *self, void *closure)
{
Expand Down Expand Up @@ -1356,9 +1344,6 @@ static PyGetSetDef GeoHourly_getset[] = {
{"stim_success_rate", (getter)GeoHourly_get_stim_success_rate,(setter)GeoHourly_set_stim_success_rate,
PyDoc_STR("*float*: Stimulation success rate [%]\n\nThe value of the following variables depends on ``stim_success_rate``:\n\n\t - num_wells_getem\n"),
NULL},
{"stimulation_type", (getter)GeoHourly_get_stimulation_type,(setter)GeoHourly_set_stimulation_type,
PyDoc_STR("*float*: Which wells are stimulated [0/1/2/3]\n\n**Options:**\n0=Injection,1=Production,2=Both,3=Neither\n\n**Required:**\nFalse. Automatically set to 3 if not assigned explicitly or loaded from defaults."),
NULL},
{"subsurface_water_loss", (getter)GeoHourly_get_subsurface_water_loss,(setter)GeoHourly_set_subsurface_water_loss,
PyDoc_STR("*float*: Subsurface water loss [%]\n\n**Required:**\nTrue\n\nThe value of the following variables depends on ``subsurface_water_loss``:\n\n\t - num_wells_getem\n"),
NULL},
Expand Down Expand Up @@ -1660,30 +1645,12 @@ Outputs_get_num_wells_getem_inj(VarGroupObject *self, void *closure)
return PySAM_double_getter(SAM_Geothermal_Outputs_num_wells_getem_inj_nget, self->data_ptr);
}

static PyObject *
Outputs_get_num_wells_getem_inj_drilled(VarGroupObject *self, void *closure)
{
return PySAM_double_getter(SAM_Geothermal_Outputs_num_wells_getem_inj_drilled_nget, self->data_ptr);
}

static PyObject *
Outputs_get_num_wells_getem_output(VarGroupObject *self, void *closure)
{
return PySAM_double_getter(SAM_Geothermal_Outputs_num_wells_getem_output_nget, self->data_ptr);
}

static PyObject *
Outputs_get_num_wells_getem_prod_drilled(VarGroupObject *self, void *closure)
{
return PySAM_double_getter(SAM_Geothermal_Outputs_num_wells_getem_prod_drilled_nget, self->data_ptr);
}

static PyObject *
Outputs_get_num_wells_getem_prod_failed(VarGroupObject *self, void *closure)
{
return PySAM_double_getter(SAM_Geothermal_Outputs_num_wells_getem_prod_failed_nget, self->data_ptr);
}

static PyObject *
Outputs_get_plant_brine_eff(VarGroupObject *self, void *closure)
{
Expand Down Expand Up @@ -1941,19 +1908,10 @@ static PyGetSetDef Outputs_getset[] = {
PyDoc_STR("*float*: Condensate Pump Work [kW]"),
NULL},
{"num_wells_getem_inj", (getter)Outputs_get_num_wells_getem_inj,(setter)0,
PyDoc_STR("*float*: Number of required injection wells calculated by GETEM"),
NULL},
{"num_wells_getem_inj_drilled", (getter)Outputs_get_num_wells_getem_inj_drilled,(setter)0,
PyDoc_STR("*float*: Number of injection wells drilled"),
PyDoc_STR("*float*: Number of wells calculated by GETEM"),
NULL},
{"num_wells_getem_output", (getter)Outputs_get_num_wells_getem_output,(setter)0,
PyDoc_STR("*float*: Number of production wells required"),
NULL},
{"num_wells_getem_prod_drilled", (getter)Outputs_get_num_wells_getem_prod_drilled,(setter)0,
PyDoc_STR("*float*: Number of production wells drilled"),
NULL},
{"num_wells_getem_prod_failed", (getter)Outputs_get_num_wells_getem_prod_failed,(setter)0,
PyDoc_STR("*float*: Number of production wells failed during drilling"),
PyDoc_STR("*float*: Number of wells calculated by GETEM"),
NULL},
{"plant_brine_eff", (getter)Outputs_get_plant_brine_eff,(setter)0,
PyDoc_STR("*float*: Plant Brine Efficiency"),
Expand Down
Loading

0 comments on commit 093f126

Please sign in to comment.