Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/geophires_x/SurfacePlant.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,26 @@ def __init__(self, model: Model):
ToolTipText="Dynamic viscosity of the working fluid"
)

self.project_latitude = self.ParameterDict[self.project_latitude.Name] = floatParameter(
"Project Latitude",
UnitType=Units.NONE,
CurrentUnits=Units.NONE,
PreferredUnits=Units.NONE,
Min=-90,
Max=90,
ToolTipText="Latitude of the project location."
)
self.project_longitude = self.ParameterDict[self.project_longitude.Name] = floatParameter(
"Project Longitude",
UnitType=Units.NONE,
CurrentUnits=Units.NONE,
PreferredUnits=Units.NONE,
Min=-180,
Max=180,
ToolTipText="Longitude of the project location."
)


# local variable initialization
self.setinjectionpressurefixed = False
sclass = str(__class__).replace("<class \'", "")
Expand Down
18 changes: 18 additions & 0 deletions src/geophires_x_schema_generator/geophires-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,24 @@
"minimum": 0.0,
"maximum": 1
},
"Project Latitude": {
"description": "Latitude of the project location.",
"type": "number",
"units": null,
"category": "Surface Plant",
"default": 0.0,
"minimum": -90,
"maximum": 90
},
"Project Longitude": {
"description": "Longitude of the project location.",
"type": "number",
"units": null,
"category": "Surface Plant",
"default": 0.0,
"minimum": -180,
"maximum": 180
},
"Dead-state Pressure": {
"description": "",
"type": "number",
Expand Down
8 changes: 4 additions & 4 deletions tests/examples/Fervo_Project_Cape-5.out
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

Simulation Metadata
----------------------
GEOPHIRES Version: 3.12.1
Simulation Date: 2026-04-01
Simulation Time: 10:35
Calculation Time: 1.788 sec
GEOPHIRES Version: 3.13.4
Simulation Date: 2026-04-28
Simulation Time: 09:51
Calculation Time: 1.810 sec

***SUMMARY OF RESULTS***

Expand Down
3 changes: 3 additions & 0 deletions tests/examples/Fervo_Project_Cape-5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,6 @@ Maximum Drawdown, 0.0025, -- This value represents the fractional drop in produc
# *****************************
Maximum Temperature, 500
Time steps per year, 12

Project Latitude, 38.50619639648534
Project Longitude, -112.91815591746716
8 changes: 4 additions & 4 deletions tests/examples/Fervo_Project_Cape-6.out
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

Simulation Metadata
----------------------
GEOPHIRES Version: 3.12.1
Simulation Date: 2026-04-01
Simulation Time: 10:35
Calculation Time: 1.793 sec
GEOPHIRES Version: 3.13.4
Simulation Date: 2026-04-28
Simulation Time: 09:51
Calculation Time: 1.860 sec

***SUMMARY OF RESULTS***

Expand Down
3 changes: 3 additions & 0 deletions tests/examples/Fervo_Project_Cape-6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,6 @@ Maximum Drawdown, 0.0025, -- This value represents the fractional drop in produc
# *****************************
Maximum Temperature, 500
Time steps per year, 12

Project Latitude, 38.50619639648534
Project Longitude, -112.91815591746716
3 changes: 3 additions & 0 deletions tests/examples/example8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Surface Temperature,20, ---[deg.C]
Ambient Temperature,20, ---[deg.C]
Electricity Rate,0.1, ---Electricity rate for pumping power [$/kWh]

Project Latitude, 42.441977082209235, -- Estimated location; https://www.google.com/maps/search/?api=1&query=42.441977082209235,76.43242140337269
Project Longitude, -76.43242140337269

***FINANCIAL PARAMETERS***
**************************
Plant Lifetime,30, ---[years]
Expand Down
3 changes: 2 additions & 1 deletion tests/examples/example_SHR-3.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SHR LCOE Analysis: https://scientificwebservices.com/shr/VERTICAL_LARGE_IDEAL_ADJUSTED/graphs/graphs.html:
# Example: Superhot Rock (SHR) 3
# SHR LCOE Analysis: https://scientificwebservices.com/shr/VERTICAL_LARGE_IDEAL_ADJUSTED/graphs/graphs.html
# NOAK: Adjusted VERTICAL_LARGE_IDEAL Correlation drilling and completion cost model
# BHT = 450.0 C
# Gradient = 112.0 C/km
Expand Down
Loading