Skip to content

Commit

Permalink
Standardize example descriptions/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Jun 18, 2024
1 parent 232e7c7 commit 6f99d65
Show file tree
Hide file tree
Showing 30 changed files with 302 additions and 380 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2024-01-29
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use heat
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use heat.

Is AGS, True
Closed-loop Configuration, 1
Expand All @@ -30,8 +28,8 @@ Circulation Pump Efficiency, 0.8, -----[-]
#same as default Capital Cost for Surface Plant for Direct-use System, 100.00, ----$/kWth
#same as default Dead-state Pressure, 1e5, ---- bar

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Fraction of Investment in Bonds,0.65, --- [-] Required if Bicycle model is selected. See manual for details.
Inflated Bond Interest Rate,0.07, --- [-] Required if Bicycle model is selected. See manual for details.
Expand All @@ -41,5 +39,5 @@ Combined Income Tax Rate,0.392, --- [-] Required if Bicycle model is selected.
Gross Revenue Tax Rate,0, --- [-] Required if Bicycle model is selected. See manual for details.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2023-04-12
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use heat
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use heat

Is AGS, True
Closed-loop Configuration, 2, ----Coaxial
End-Use Option, 2, -----direct heat
Expand All @@ -30,8 +29,8 @@ Circulation Pump Efficiency, 0.8, -----[-]
#same as default Capital Cost for Surface Plant for Direct-use System, 100.00, ----$/kWth
#same as default Dead-state Pressure, 1e5, ---- bar

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Fraction of Investment in Bonds,0.65, --- [-] Required if Bicycle model is selected. See manual for details.
Inflated Bond Interest Rate,0.07, --- [-] Required if Bicycle model is selected. See manual for details.
Expand All @@ -41,5 +40,5 @@ Combined Income Tax Rate,0.392, --- [-] Required if Bicycle model is selected.
Gross Revenue Tax Rate,0, --- [-] Required if Bicycle model is selected. See manual for details.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2024-01-29
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use elec using sCO2
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use elec using sCO2

Is AGS, True
Closed-loop Configuration, 1, ----uloop
End-Use Option, 1, -----elec
Expand All @@ -25,11 +24,11 @@ Electricity Rate, 0.10, ----USD/kWh
Circulation Pump Efficiency, 0.8, -----[-]
CO2 Turbine Outlet Pressure, 200

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well
Exploration Capital Cost, 0

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2023-04-12
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use heat using sCO2
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use heat using sCO2

Is AGS, True
Closed-loop Configuration, 1, ----uloop
End-Use Option, 2, -----direct heat
Expand All @@ -31,8 +30,8 @@ CO2 Turbine Outlet Pressure, 99
#same as default Capital Cost for Surface Plant for Direct-use System, 100.00, ----$/kWth
#same as default Dead-state Pressure, 1e5, ---- bar

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Fraction of Investment in Bonds,0.65, --- [-] Required if Bicycle model is selected. See manual for details.
Inflated Bond Interest Rate,0.07, --- [-] Required if Bicycle model is selected. See manual for details.
Expand All @@ -42,5 +41,5 @@ Combined Income Tax Rate,0.392, --- [-] Required if Bicycle model is selected.
Gross Revenue Tax Rate,0, --- [-] Required if Bicycle model is selected. See manual for details.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2024-01-29
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use heat using water
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use heat using water

Is AGS, True
Closed-loop Configuration, 1
End-Use Option, 1, -----elec
Expand All @@ -24,11 +23,11 @@ Ambient Temperature, 20, ----Deg.C "Dead-state temperature"
Electricity Rate, 0.10, ----USD/kWh
Circulation Pump Efficiency, 0.8, -----[-]

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well
Exploration Capital Cost, 0

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#GEOPHIRES v3.0 Input File
#Last modified on 2023-04-12
#Example Description: Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation"
#Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
#Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
#This configuration is water filled U-loop with 1 lateral for direct-use heat usong water
#----------------------------------------------------------------------------------------
# Example 1 from "Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and
# Economic Modeling of Heat Production and Electricity Generation"
# Koenraad Beckers Yaroslav Vasyliv Gabriela A. Bran-Anleu Mario Martinez Chad Augustine and Mark White
# Presented at the 48th Stanford Geothermal Workshop Stanford California February 6-8 2023
# This configuration is water filled U-loop with 1 lateral for direct-use heat using water

Is AGS, True
Closed-loop Configuration, 1, ---uloop
End-Use Option, 2, -----direct heat
Expand All @@ -30,8 +29,8 @@ Circulation Pump Efficiency, 0.8, -----[-]
#same as default Capital Cost for Surface Plant for Direct-use System, 100.00, ----$/kWth
#same as default Dead-state Pressure, 1e5, ---- bar

*** Economic/Financial Parameters ***
*************************************
# *** Economic/Financial Parameters ***
# *************************************
Economic Model,4, --- Should be 1 (FCR model) 2 (Standard LCOE/LCOH model) 3 (Bicycle model) 4 CLGS.
Fraction of Investment in Bonds,0.65, --- [-] Required if Bicycle model is selected. See manual for details.
Inflated Bond Interest Rate,0.07, --- [-] Required if Bicycle model is selected. See manual for details.
Expand All @@ -41,5 +40,5 @@ Combined Income Tax Rate,0.392, --- [-] Required if Bicycle model is selected.
Gross Revenue Tax Rate,0, --- [-] Required if Bicycle model is selected. See manual for details.
Reservoir Stimulation Capital Cost,0, --- [M$/injection well] Reservoir stimulation capital cost per injection well

*** Simulation Parameters ***
# *** Simulation Parameters ***
Print Output to Console,1, --- [-] Should be 0 (don't print results to console) or 1 (print results to console)
34 changes: 17 additions & 17 deletions tests/examples/Fervo_Norbeck_Latimer_2023.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
--- Case Study: Fervo Energy Whitepaper
--- Norbeck J.H. and Latimer T.M. 2023.
--- "Commercial-Scale Demonstration of a First-of-a-Kind Enhanced Geothermal System."
--- https://doi.org/10.31223/X52X0B
--- Drilling Price paper:
--- "Review Of Drilling Performance In A Horizontal EGS Development"
--- Kareem El-Sadi Brittany Gierke Elliot Howard Christian Gradl
--- https://pangea.stanford.edu/ERE/db/GeoConf/papers/SGW/2024/Elsadi.pdf
--- Looking to make:
--- gross power production of 2 to 3.5 MWe
--- production temperature of 336 degF (169 degC)
--- pumping power 500 to 1000 kW
# Case Study: Fervo Energy Whitepaper
# Norbeck J.H. and Latimer T.M. 2023.
# "Commercial-Scale Demonstration of a First-of-a-Kind Enhanced Geothermal System."
# https://doi.org/10.31223/X52X0B
# Drilling Price paper:
# "Review Of Drilling Performance In A Horizontal EGS Development"
# Kareem El-Sadi Brittany Gierke Elliot Howard Christian Gradl
# https://pangea.stanford.edu/ERE/db/GeoConf/papers/SGW/2024/Elsadi.pdf
# Looking to make:
# gross power production of 2 to 3.5 MWe
# production temperature of 336 degF (169 degC)
# pumping power 500 to 1000 kW

***Reservoir Parameters***
# ***Reservoir Parameters***
Reservoir Model, 1
Reservoir Volume Option,1, ---Should be 1 2 3 or 4. See manual for details.
Reservoir Density, 2800, per the paper phyllite + quartzite + diorite + granodiorite,
Expand All @@ -27,7 +27,7 @@ Number of Segments,1
Gradient 1, 76.74, per the paper
Plant Outlet Pressure, 1500 psi, per the paper

*** Wellbore Parameters***
# *** Wellbore Parameters***
Number of Injection Wells, 1, ---[-]
Number of Production Wells,1, ---[-]
Well Geometry Configuration, 4, ----L
Expand All @@ -49,7 +49,7 @@ Utilization Factor,.9, ---[-]Water Loss Fraction, .02x
Water Loss Fraction,0.02, ---[-]
Maximum Drawdown,1, ---[-] no redrilling considered

***Surfaceplant Parameters***
# ***Surfaceplant Parameters***
Ambient Temperature, 8 degC, per the paper. Published ambient is 10.27 degC
Surface Temperature, 8 degC, per the paper. Published ambient is 10.27 degC
End-Use Option,1, ---electricity as the main product
Expand All @@ -58,7 +58,7 @@ Power Plant Type,2, ---supercritical binary cycle
End-Use Efficiency Factor,.9, ---[-]
Circulation Pump Efficiency, 0.80, per the paper

*** Economic Parameters***
# *** Economic Parameters***
Economic Model,3, ---BICYCLE Levelized Cost Model
Starting Electricity Sale Price,0.15
Ending Electricity Sale Price,1.00, essentially no limit s the rate can rise continuously with inflation
Expand All @@ -74,6 +74,6 @@ Investment Tax Credit Rate,0, ---[-] Required for BICYCLE model
Inflation Rate During Construction, 0.05, ---[-]
Property Tax Rate,0, ---[-] Required for BICYCLE model

***Other Parameters***
# ***Other Parameters***
Print Output to Console, 1, ---Should be 1 (to print) or 0 (to not print)
Time steps per year,10, ---[-]
14 changes: 6 additions & 8 deletions tests/examples/S-DAC-GT.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
GEOPHIRES v3.0 Input File
Geothermal Combined Heat and Power Problem using a Thermal Drawdown Reservoir Model and BICYCLE Economic Model and Solid Sorbent Direct Air Capture powered by geothermal

Based on Example 3 description: This example problem considers an EGS reservoir at 3.1km depth.
The heat is used in a combined heat and power topping cycle model with double flash as
topping cycle and electricity considered as the main product.

But only lists those parameters that are different than their default values
# Geothermal Combined Heat and Power Problem using a Thermal Drawdown Reservoir Model and BICYCLE Economic Model and
# Solid Sorbent Direct Air Capture powered by geothermal
# Based on Example 3 description: This example problem considers an EGS reservoir at 3.1km depth.
# The heat is used in a combined heat and power topping cycle model with double flash as
# topping cycle and electricity considered as the main product.
# But only lists those parameters that are different than their default values

Do S-DAC-GT Calculations, True

Expand Down
29 changes: 12 additions & 17 deletions tests/examples/SUTRAExample1.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
GEOPHIRES v3.0 Input File
Created on 2023-11-03
Last modified on 2024-01-18
Reservoir thermal energy storage simulated with SUTRA
# Example: SUTRA: Reservoir thermal energy storage simulated with SUTRA
# This example reads in a SUTRA simulation result and calculate techno-economics of seasonal reservoir thermal energy storage.

This example reads in a SUTRA simulation result and calculate techno-economics of seasonal reservoir thermal energy storage.


***Subsurface technical parameters***
*************************************
# ***Subsurface technical parameters***
# *************************************
Reservoir Model,7, ---Reads in SUTRA result for seasonal reservoir thermal energy storage
SUTRA Annual Heat File Name,Examples/annual_heat.csv, ---SUTRA file with heat stored, heat supplied and efficiency for each year
SUTRA Heat Budget File Name,Examples/heat_budget.csv, ---SUTRA file with target heat and simulated heat for each SUTRA time step over lifetime
Expand All @@ -25,22 +20,22 @@ Production Wellbore Temperature Drop,0, ---[deg.C]
Injection Wellbore Temperature Gain,0, ---[deg.C]
Reservoir Impedance,0.2, ---[GPa*s/m3]

***SURFACE TECHNICAL PARAMETERS***
**********************************
# ***SURFACE TECHNICAL PARAMETERS***
# **********************************
End-Use Option,2, ---[-] Direct-Use Heat
Circulation Pump Efficiency,.8, ---[-] between .1 and 1
Power Plant Type,8, ---[-] Reservoir Thermal Energy Storage

***FINANCIAL PARAMETERS***
**************************
# ***FINANCIAL PARAMETERS***
# **************************
Plant Lifetime,30, ---[years]
Economic Model,2, ---[-] Standard Levelized Cost Model
Fixed Charge Rate,.05, ---[-] between 0 and 1
Inflation Rate During Construction,0, ---[-]
End-Use Efficiency Factor,1, ---[-] End-Use Efficiency

***CAPITAL AND O&M COST PARAMETERS***
*************************************
# ***CAPITAL AND O&M COST PARAMETERS***
# *************************************
Well Drilling and Completion Capital Cost Adjustment Factor,1, ---[-] Use built-in correlations
Well Drilling Cost Correlation,1, ---[-] Use built-in correlations
Reservoir Stimulation Capital Cost Adjustment Factor,1, ---[-] Use built-in correlations
Expand All @@ -52,6 +47,6 @@ Surface Plant O&M Cost Adjustment Factor,1, ---[-] Use built-in correlations
Water Cost Adjustment Factor,1, ---[-] Use built-in correlations


***Simulation Parameters***
***************************
# ***Simulation Parameters***
# ***************************
Print Output to Console,1, ---[-] Should be 0 (don't print results) or 1 (print results)
Loading

0 comments on commit 6f99d65

Please sign in to comment.