From 9f778d9aba1638d5a631e9ceb5ba2120b60722a6 Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:11:59 -0700 Subject: [PATCH 1/5] Add Project Latitude/Longitude parameters to SurfacePlant --- src/geophires_x/SurfacePlant.py | 20 +++++++++++++++++++ .../geophires-request.json | 18 +++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/src/geophires_x/SurfacePlant.py b/src/geophires_x/SurfacePlant.py index 6113add02..d70b32487 100644 --- a/src/geophires_x/SurfacePlant.py +++ b/src/geophires_x/SurfacePlant.py @@ -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(" Date: Tue, 28 Apr 2026 10:12:32 -0700 Subject: [PATCH 2/5] Add Project Latitude/Longitude to Fervo_Project_Cape-{5,6} --- tests/examples/Fervo_Project_Cape-5.out | 8 ++++---- tests/examples/Fervo_Project_Cape-5.txt | 3 +++ tests/examples/Fervo_Project_Cape-6.out | 8 ++++---- tests/examples/Fervo_Project_Cape-6.txt | 3 +++ 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/tests/examples/Fervo_Project_Cape-5.out b/tests/examples/Fervo_Project_Cape-5.out index c1183346b..2d99bfc8b 100644 --- a/tests/examples/Fervo_Project_Cape-5.out +++ b/tests/examples/Fervo_Project_Cape-5.out @@ -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*** diff --git a/tests/examples/Fervo_Project_Cape-5.txt b/tests/examples/Fervo_Project_Cape-5.txt index 1b80f12eb..887b04fac 100644 --- a/tests/examples/Fervo_Project_Cape-5.txt +++ b/tests/examples/Fervo_Project_Cape-5.txt @@ -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 diff --git a/tests/examples/Fervo_Project_Cape-6.out b/tests/examples/Fervo_Project_Cape-6.out index 93f566a2e..cd994b639 100644 --- a/tests/examples/Fervo_Project_Cape-6.out +++ b/tests/examples/Fervo_Project_Cape-6.out @@ -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*** diff --git a/tests/examples/Fervo_Project_Cape-6.txt b/tests/examples/Fervo_Project_Cape-6.txt index 31229fbb8..c34ceb352 100644 --- a/tests/examples/Fervo_Project_Cape-6.txt +++ b/tests/examples/Fervo_Project_Cape-6.txt @@ -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 From 7248c0bcf3fd936de6fd2e68d394892cdbb5bab5 Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:24:02 -0700 Subject: [PATCH 3/5] add project lat/long to example8 (cornell) --- tests/examples/example8.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/examples/example8.txt b/tests/examples/example8.txt index 3e1dceaab..b1258c59b 100644 --- a/tests/examples/example8.txt +++ b/tests/examples/example8.txt @@ -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] From 2cba8d660e10210597dc2cc0643e5db2103ce69b Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Tue, 5 May 2026 11:05:38 -0700 Subject: [PATCH 4/5] fix example_SHR-3 description --- tests/examples/example_SHR-3.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/examples/example_SHR-3.txt b/tests/examples/example_SHR-3.txt index 8c3f3878d..d42fea46e 100644 --- a/tests/examples/example_SHR-3.txt +++ b/tests/examples/example_SHR-3.txt @@ -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 From a2dbbdf7a483a459506fb943455437cb9f453ca9 Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Tue, 5 May 2026 11:08:37 -0700 Subject: [PATCH 5/5] remove extraneous colon from example_SHR-3 description --- tests/examples/example_SHR-3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/example_SHR-3.txt b/tests/examples/example_SHR-3.txt index d42fea46e..d4a520295 100644 --- a/tests/examples/example_SHR-3.txt +++ b/tests/examples/example_SHR-3.txt @@ -1,5 +1,5 @@ # Example: Superhot Rock (SHR) 3 -# SHR LCOE Analysis: https://scientificwebservices.com/shr/VERTICAL_LARGE_IDEAL_ADJUSTED/graphs/graphs.html: +# 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