SAM-EM: Support all End-Use Options and Absorption Chiller Surface Application [v3.13]#143
Merged
softwareengineerprogrammer merged 128 commits intomainfrom Apr 14, 2026
Merged
Conversation
…vior/schema change)
…low - add-on profit works
…t_revenue_sources
…or direct-use heat
…lant NetElectricityProducedMax derived output parameter
…eases heat production but does not affect electricity production
…gle-owner-PPA-7e_chp-parallel. copy edit/adjust relevant example descriptions for consistency
| @@ -104,119 +107,125 @@ Simulation Metadata | |||
| Drilling and completion costs: 1278.62 MUSD | |||
| Drilling and completion costs per well: 5.61 MUSD | |||
| Stimulation costs: 1514.98 MUSD | |||
| Surface power plant costs: 3130.10 MUSD | |||
| Field gathering system costs: 68.89 MUSD | |||
| Surface power plant costs: 4225.49 MUSD | |||
Owner
Author
There was a problem hiding this comment.
Note this substantial increase to $4.225B is more correctly aligned with reference case study
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
TODO
_get_max_total_generation_kWthe appropriate/best approach?GEOPHIRES/src/geophires_x/EconomicsSam.py
Lines 897 to 916 in 47d564a
Done
Heat providedandCooling providedvalues should be blank during pre-revenue years, not0: 335fff9$/(notUSD/): cb3a41dElectricity purchase ($)where applicable (Electricity Ratefor cooling, maybe others): 2246382: only applies to DH & SUTRAFuel expense ($)where applicableplus:/equals:delineators to indicate summation to capacity payment revenue line item: a1386a6, 351eb74kWh, notkWh/yr(eventually/deferred:GWh): a37f5b3CAPEX_heat_electricity_plant_ratiomust be calculated for all configurations if{Electricity, HEAT} CAPEX ($/kW{e, th})are to be displayed; including various capex (inc. surface plant) parameterizations: 2ba6f9eCAPEX_heat_electricity_plant_ratioapproach - can we get away with just applying the fraction to PV of costs?: 6df3596. A: yes, as long as we document assumptions.example_SAM-single-owner-PPA-7b_chp-cc- verify LCOE/LCOH correctness...Average Reservoir Pumping CostwithINDUSTRIALsurface application: 13fe524, 9e7c5c0GEOPHIRES/src/geophires_x/Outputs.py
Line 605 in 13fe524
Total CAPEX ($/kW): 5619b04, 519eaa6tooltip text update: N/Aheat pump,dh, etc.: 13fe524and/or bug fix: Lowering injection temperature for cogen topping cycle increases heat production but does not affect electricity production (current behaviorallegedly might beis correct despite being counterintuitive...): e200dd7example*.txtdescriptions: 5bd7fa4, 098a18c, 699edef, 709193bCAPEX_heat_electricity_plant_ratio: The pv_costs_year_0 includes OPEX, taxes, and debt service. By applying a CAPEX-derived ratio to this number, you are mathematically forcing the assumption that thermal OPEX scales exactly proportionally to thermal CAPEX. If the electrical power plant has a high O&M burden and the direct-use heat component has a low O&M burden, applying the CAPEX ratio to the total PV will artificially inflate the LCOH and artificially lower the LCOE.Optional & Follow-up items
calculate_pre_revenue_costs_and_cashflowNatLabRockies/GEOPHIRES-X#452Injection Temperatureparameter for electricity end-use examplesEXTRA_{HEAT, ELECTRICITY}redundancyAC, HP, DH, etc.)GWh(notkWh)Carbon price should be in USD/tonne, not USD/lb: moved to SAM-EM Carbon Credits Enhancements NatLabRockies/GEOPHIRES-X#476Saved Carbon Production (pound)units honor total saved carbon emissions output unit or similar: moved to SAM-EM Carbon Credits Enhancements NatLabRockies/GEOPHIRES-X#476Testing & Verification
example_SAM-single-owner-PPA-7_chpexample_SAM-single-owner-PPA-7b_chp-ccexample_SAM-single-owner-PPA-7cexample_SAM-single-owner-PPA-7d_chp-bottomingexample_SAM-single-owner-PPA-7e_chp-parallelexample_SAM-single-owner-PPA-8_heatexample_SAM-single-owner-PPA-9_coolingtest_only_electricity_end_use_supported→test_direct_use_heat_end_use_supportedexample_SAM-single-owner-PPA-6_carbon-revenueexample14_data-centerPresent value of annual energy costs ($)line itemtest_chp_outputtest_is_cogeneration_and_has_electricity_componenttest_has_quantity_as_unitstest_chp_fixed_plant_cost_requires_electrical_plant_cost_allocation_ratioChange Checklist:
Observe the following checklist items if your change includes a new version (see versioning notes and version management docs).
Before merging:
After merging:
git push fork refs/tags/v3.13.0: https://github.com/softwareengineerprogrammer/GEOPHIRES/releases/tag/v3.13.0Self-reviewed in #143