Skip to content

GETEM cost model, well count updates#1307

Merged
mjprilliman merged 37 commits into
developfrom
getem_costs
Apr 3, 2025
Merged

GETEM cost model, well count updates#1307
mjprilliman merged 37 commits into
developfrom
getem_costs

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

-Update cost calculations
-Update well count calculations
-Move capex costs from GUI equations to cmod_geothermal_costs
-Closes #1247

sjanzou and others added 30 commits December 27, 2024 03:52
debugging Flash technologies (EGS and hydro)
@mjprilliman mjprilliman added this to the SAM Spring 2025 Release milestone Mar 28, 2025
@mjprilliman mjprilliman requested a review from sjanzou March 28, 2025 21:21
@mjprilliman mjprilliman self-assigned this Mar 28, 2025
@coveralls

coveralls commented Mar 31, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 14252355368

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 436 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.003%) to 54.698%

Files with Coverage Reduction New Missed Lines %
ssc/ssc/cmod_geothermal.cpp 30 87.5%
ssc/ssc/cmod_geothermal_costs.cpp 197 29.8%
ssc/shared/lib_geothermal.cpp 209 66.35%
Totals Coverage Status
Change from base Build 14236728494: -0.003%
Covered Lines: 64295
Relevant Lines: 117545

💛 - Coveralls

@sjanzou sjanzou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything running fine. Thanks for enduring this!

Comment thread shared/lib_geothermal.cpp
double CGeothermalAnalyzer::RameyWellbore()
{
double alpharock = mo_geo_in.md_EGSThermalConductivity / (mo_geo_in.md_EGSRockDensity * mo_geo_in.md_EGSSpecificHeatConstant);
double alpharock = (mo_geo_in.md_EGSThermalConductivity) / (mo_geo_in.md_EGSRockDensity * mo_geo_in.md_EGSSpecificHeatConstant);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this make a change in the results? I hope not ;-)

Comment thread shared/lib_geothermal.h
{
md_PumpWorkKW = md_NumberOfWells = md_NumberOfWellsInj = md_FlashBrineEffectiveness = md_PressureHPFlashPSI = md_PressureLPFlashPSI = 0.0;
md_GrossPlantOutputMW = md_GrossPowerMW = md_PlantBrineEffectiveness = md_PressureChangeAcrossReservoir = md_AverageReservoirTemperatureF = 0;
md_GrossPlantOutputMW = md_GrossPowerkW = md_PlantBrineEffectiveness = md_PressureChangeAcrossReservoir = md_AverageReservoirTemperatureF = 0;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clearing up the units!

static const char* getem_om_cost_calc_doc =
"Calculates the cable length in an ME array\\n"
static const char* getem_om_cost_calc_doc =
"Calculate annual O&M costs for geothermal power plants \\n\\n"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely more descriptive!

@mjprilliman mjprilliman merged commit 2511f91 into develop Apr 3, 2025
@mjprilliman mjprilliman deleted the getem_costs branch April 3, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GETEM gross power output not updating for full calculations

5 participants