Skip to content

Commit

Permalink
testing engage chp results and structure
Browse files Browse the repository at this point in the history
  • Loading branch information
bpulluta committed Nov 28, 2023
1 parent 7616991 commit eff5d32
Show file tree
Hide file tree
Showing 31 changed files with 2,456 additions and 304 deletions.
1,395 changes: 1,139 additions & 256 deletions Engage-Testing/chp-testing.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
----------------------------------------------------------------------------------------
GEOPHIRES v2.0 Input File
----------------------------------------------------------------------------------------
***Subsurface technical parameters***
*************************************
Reservoir Model,3, ---m/A Single Fracture Thermal Drawdown
Drawdown Parameter,.00002, ---[kg/s/m2]
Reservoir Depth,1.0, ---[km]
Number of Segments,1, ---[-]
Gradient 1,70, ---[deg.C/km]
Maximum Temperature,400, ---[deg.C]
Number of Production Wells,1.0, ---[-]
Number of Injection Wells,1.0, ---[-]
Production Well Diameter,8.5, ---[inch]
Injection Well Diameter,8.5, ---[inch]
Ramey Production Wellbore Model,0, ---Should be 0 (disabled) or 1 (enabled)
Production Wellbore Temperature Drop,5, ---[deg.C]
Injection Wellbore Temperature Gain,3, ---[deg.C]
Production Flow Rate per Well,70, ---[kg/s]
Reservoir Volume Option,1, ---Should be 1,2,3 or 4. See manual for details.
Fracture Shape,1, ---Should be 1,2,3 or 4
Fracture Area,200000, ---[m2]
Number of Fractures,12, ---[-]
Fracture Separation,80, ---[m]
Injectivity Index,5, ---[kg/s/bar]
Injection Temperature,70, ---[deg.C]
Maximum Drawdown,1, ---[-] no redrilling considered
Reservoir Heat Capacity,1000, ---[J/kg/K]
Reservoir Density,3000, ---[kg/m3]
Reservoir Thermal Conductivity,3, ---[W/m/K]
Water Loss Fraction,0.02, ---[-]

***Surface Technical Parameters***
**********************************

End-Use Option,31, --- CHP Topping Cycle with electricity as the main product
Power Plant Type,4, --- Double-Flash
Circulation Pump Efficiency,.80, ---[-]
Utilization Factor,.9, ---[-]
End-Use Efficiency Factor,.9, ---[-]
Surface Temperature,15, ---[deg.C]
Ambient Temperature,15, ---[deg.C]

***Financial Parameters***
**************************

Plant Lifetime,35, ---[years]
Economic Model,2, ---BICYCLE Levelized Cost Model
Fraction of Investment in Bonds,.5, ---[-] Required for BICYCLE model
Inflated Bond Interest Rate,.05, ---[-] Required for BICYCLE model
Inflated Equity Interest Rate,.08, ---[-] Required for BICYCLE model
Inflation Rate,.02, ---[-] Required for BICYCLE model
Combined Income Tax Rate,.3, ---[-] Required for BICYCLE model
Gross Revenue Tax Rate,0, ---[-] Required for BICYCLE model
Investment Tax Credit Rate,0, ---[-] Required for BICYCLE model
Property Tax Rate,0, ---[-] Required for BICYCLE model
Inflation Rate During Construction,0.05, ---[-]

***Capital and O&M Cost Parameters***
*************************************

Well Drilling and Completion Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Well Drilling Cost Correlation,3, ---[-] use built in correlations
Reservoir Stimulation Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Field Gathering System Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Exploration Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Wellfield O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Water Cost Adjustment Factor,1, ---[-] use built in correlations
Heat Rate,.02, ---[$/kWh]

***Simulation Parameters***
***************************

Print Output to Console,1, ---Should be 1 (to print) or 0 (to not print)
Time steps per year,10, ---[-]
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
----------------------------------------------------------------------------------------
GEOPHIRES v2.0 Input File
----------------------------------------------------------------------------------------
***Subsurface technical parameters***
*************************************
Reservoir Model,3, ---m/A Single Fracture Thermal Drawdown
Drawdown Parameter,.00002, ---[kg/s/m2]
Reservoir Depth,1.0, ---[km]
Number of Segments,1, ---[-]
Gradient 1,70, ---[deg.C/km]
Maximum Temperature,400, ---[deg.C]
Number of Production Wells,1.0, ---[-]
Number of Injection Wells,2.0, ---[-]
Production Well Diameter,8.5, ---[inch]
Injection Well Diameter,8.5, ---[inch]
Ramey Production Wellbore Model,0, ---Should be 0 (disabled) or 1 (enabled)
Production Wellbore Temperature Drop,5, ---[deg.C]
Injection Wellbore Temperature Gain,3, ---[deg.C]
Production Flow Rate per Well,70, ---[kg/s]
Reservoir Volume Option,1, ---Should be 1,2,3 or 4. See manual for details.
Fracture Shape,1, ---Should be 1,2,3 or 4
Fracture Area,200000, ---[m2]
Number of Fractures,12, ---[-]
Fracture Separation,80, ---[m]
Injectivity Index,5, ---[kg/s/bar]
Injection Temperature,70, ---[deg.C]
Maximum Drawdown,1, ---[-] no redrilling considered
Reservoir Heat Capacity,1000, ---[J/kg/K]
Reservoir Density,3000, ---[kg/m3]
Reservoir Thermal Conductivity,3, ---[W/m/K]
Water Loss Fraction,0.02, ---[-]

***Surface Technical Parameters***
**********************************

End-Use Option,31, --- CHP Topping Cycle with electricity as the main product
Power Plant Type,4, --- Double-Flash
Circulation Pump Efficiency,.80, ---[-]
Utilization Factor,.9, ---[-]
End-Use Efficiency Factor,.9, ---[-]
Surface Temperature,15, ---[deg.C]
Ambient Temperature,15, ---[deg.C]

***Financial Parameters***
**************************

Plant Lifetime,35, ---[years]
Economic Model,2, ---BICYCLE Levelized Cost Model
Fraction of Investment in Bonds,.5, ---[-] Required for BICYCLE model
Inflated Bond Interest Rate,.05, ---[-] Required for BICYCLE model
Inflated Equity Interest Rate,.08, ---[-] Required for BICYCLE model
Inflation Rate,.02, ---[-] Required for BICYCLE model
Combined Income Tax Rate,.3, ---[-] Required for BICYCLE model
Gross Revenue Tax Rate,0, ---[-] Required for BICYCLE model
Investment Tax Credit Rate,0, ---[-] Required for BICYCLE model
Property Tax Rate,0, ---[-] Required for BICYCLE model
Inflation Rate During Construction,0.05, ---[-]

***Capital and O&M Cost Parameters***
*************************************

Well Drilling and Completion Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Well Drilling Cost Correlation,3, ---[-] use built in correlations
Reservoir Stimulation Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Field Gathering System Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Exploration Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Wellfield O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Water Cost Adjustment Factor,1, ---[-] use built in correlations
Heat Rate,.02, ---[$/kWh]

***Simulation Parameters***
***************************

Print Output to Console,1, ---Should be 1 (to print) or 0 (to not print)
Time steps per year,10, ---[-]
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
----------------------------------------------------------------------------------------
GEOPHIRES v2.0 Input File
----------------------------------------------------------------------------------------
***Subsurface technical parameters***
*************************************
Reservoir Model,3, ---m/A Single Fracture Thermal Drawdown
Drawdown Parameter,.00002, ---[kg/s/m2]
Reservoir Depth,1.0, ---[km]
Number of Segments,1, ---[-]
Gradient 1,70, ---[deg.C/km]
Maximum Temperature,400, ---[deg.C]
Number of Production Wells,1.0, ---[-]
Number of Injection Wells,3.0, ---[-]
Production Well Diameter,8.5, ---[inch]
Injection Well Diameter,8.5, ---[inch]
Ramey Production Wellbore Model,0, ---Should be 0 (disabled) or 1 (enabled)
Production Wellbore Temperature Drop,5, ---[deg.C]
Injection Wellbore Temperature Gain,3, ---[deg.C]
Production Flow Rate per Well,70, ---[kg/s]
Reservoir Volume Option,1, ---Should be 1,2,3 or 4. See manual for details.
Fracture Shape,1, ---Should be 1,2,3 or 4
Fracture Area,200000, ---[m2]
Number of Fractures,12, ---[-]
Fracture Separation,80, ---[m]
Injectivity Index,5, ---[kg/s/bar]
Injection Temperature,70, ---[deg.C]
Maximum Drawdown,1, ---[-] no redrilling considered
Reservoir Heat Capacity,1000, ---[J/kg/K]
Reservoir Density,3000, ---[kg/m3]
Reservoir Thermal Conductivity,3, ---[W/m/K]
Water Loss Fraction,0.02, ---[-]

***Surface Technical Parameters***
**********************************

End-Use Option,31, --- CHP Topping Cycle with electricity as the main product
Power Plant Type,4, --- Double-Flash
Circulation Pump Efficiency,.80, ---[-]
Utilization Factor,.9, ---[-]
End-Use Efficiency Factor,.9, ---[-]
Surface Temperature,15, ---[deg.C]
Ambient Temperature,15, ---[deg.C]

***Financial Parameters***
**************************

Plant Lifetime,35, ---[years]
Economic Model,2, ---BICYCLE Levelized Cost Model
Fraction of Investment in Bonds,.5, ---[-] Required for BICYCLE model
Inflated Bond Interest Rate,.05, ---[-] Required for BICYCLE model
Inflated Equity Interest Rate,.08, ---[-] Required for BICYCLE model
Inflation Rate,.02, ---[-] Required for BICYCLE model
Combined Income Tax Rate,.3, ---[-] Required for BICYCLE model
Gross Revenue Tax Rate,0, ---[-] Required for BICYCLE model
Investment Tax Credit Rate,0, ---[-] Required for BICYCLE model
Property Tax Rate,0, ---[-] Required for BICYCLE model
Inflation Rate During Construction,0.05, ---[-]

***Capital and O&M Cost Parameters***
*************************************

Well Drilling and Completion Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Well Drilling Cost Correlation,3, ---[-] use built in correlations
Reservoir Stimulation Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Field Gathering System Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Exploration Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Wellfield O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Water Cost Adjustment Factor,1, ---[-] use built in correlations
Heat Rate,.02, ---[$/kWh]

***Simulation Parameters***
***************************

Print Output to Console,1, ---Should be 1 (to print) or 0 (to not print)
Time steps per year,10, ---[-]
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
----------------------------------------------------------------------------------------
GEOPHIRES v2.0 Input File
----------------------------------------------------------------------------------------
***Subsurface technical parameters***
*************************************
Reservoir Model,3, ---m/A Single Fracture Thermal Drawdown
Drawdown Parameter,.00002, ---[kg/s/m2]
Reservoir Depth,1.0, ---[km]
Number of Segments,1, ---[-]
Gradient 1,70, ---[deg.C/km]
Maximum Temperature,400, ---[deg.C]
Number of Production Wells,1.0, ---[-]
Number of Injection Wells,4.0, ---[-]
Production Well Diameter,8.5, ---[inch]
Injection Well Diameter,8.5, ---[inch]
Ramey Production Wellbore Model,0, ---Should be 0 (disabled) or 1 (enabled)
Production Wellbore Temperature Drop,5, ---[deg.C]
Injection Wellbore Temperature Gain,3, ---[deg.C]
Production Flow Rate per Well,70, ---[kg/s]
Reservoir Volume Option,1, ---Should be 1,2,3 or 4. See manual for details.
Fracture Shape,1, ---Should be 1,2,3 or 4
Fracture Area,200000, ---[m2]
Number of Fractures,12, ---[-]
Fracture Separation,80, ---[m]
Injectivity Index,5, ---[kg/s/bar]
Injection Temperature,70, ---[deg.C]
Maximum Drawdown,1, ---[-] no redrilling considered
Reservoir Heat Capacity,1000, ---[J/kg/K]
Reservoir Density,3000, ---[kg/m3]
Reservoir Thermal Conductivity,3, ---[W/m/K]
Water Loss Fraction,0.02, ---[-]

***Surface Technical Parameters***
**********************************

End-Use Option,31, --- CHP Topping Cycle with electricity as the main product
Power Plant Type,4, --- Double-Flash
Circulation Pump Efficiency,.80, ---[-]
Utilization Factor,.9, ---[-]
End-Use Efficiency Factor,.9, ---[-]
Surface Temperature,15, ---[deg.C]
Ambient Temperature,15, ---[deg.C]

***Financial Parameters***
**************************

Plant Lifetime,35, ---[years]
Economic Model,2, ---BICYCLE Levelized Cost Model
Fraction of Investment in Bonds,.5, ---[-] Required for BICYCLE model
Inflated Bond Interest Rate,.05, ---[-] Required for BICYCLE model
Inflated Equity Interest Rate,.08, ---[-] Required for BICYCLE model
Inflation Rate,.02, ---[-] Required for BICYCLE model
Combined Income Tax Rate,.3, ---[-] Required for BICYCLE model
Gross Revenue Tax Rate,0, ---[-] Required for BICYCLE model
Investment Tax Credit Rate,0, ---[-] Required for BICYCLE model
Property Tax Rate,0, ---[-] Required for BICYCLE model
Inflation Rate During Construction,0.05, ---[-]

***Capital and O&M Cost Parameters***
*************************************

Well Drilling and Completion Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Well Drilling Cost Correlation,3, ---[-] use built in correlations
Reservoir Stimulation Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Field Gathering System Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Exploration Capital Cost Adjustment Factor,1, ---[-] use built in correlations
Wellfield O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Surface Plant O&M Cost Adjustment Factor,1, ---[-] use built in correlations
Water Cost Adjustment Factor,1, ---[-] use built in correlations
Heat Rate,.02, ---[$/kWh]

***Simulation Parameters***
***************************

Print Output to Console,1, ---Should be 1 (to print) or 0 (to not print)
Time steps per year,10, ---[-]
6 changes: 6 additions & 0 deletions Engage-Testing/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
numpy
pandas
matplotlib
mpmath
plotly
scipy
5 changes: 5 additions & 0 deletions Engage-Testing/results.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,Depth (m),Number of Prod Wells,Number of Inj Wells,Maximum Reservoir Temperature (deg.C),Wellfield Cost ($M),Surface Plant Cost ($M),Exploration Cost ($M),Field Gathering System Cost ($M),Wellfield O&M Cost ($M/year),Surface Plant O&M Cost ($M/year),Make-Up Water O&M Cost ($M/year),Average Reservoir Heat Extraction (MWth),Average Total Electricity Generation (MWe),Lifetime
3,1.0,1,1,400.0,4.6,6.51,2.98,1.19,0.12,0.29,0.04,0.56,0.56,35
2,1.0,1,2,400.0,6.9,6.51,2.98,1.6,0.15,0.29,0.04,0.56,0.56,35
0,1.0,1,3,400.0,9.2,6.51,2.98,2.05,0.18,0.29,0.04,0.56,0.56,35
1,1.0,1,4,400.0,11.5,6.51,2.98,2.51,0.2,0.29,0.04,0.56,0.56,35
Loading

0 comments on commit eff5d32

Please sign in to comment.