Skip to content

Commit a55fbcc

Browse files
capacity factor WIP
1 parent 74dd284 commit a55fbcc

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

docs/SAM-Economic-Models.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following table describes how GEOPHIRES parameters are transformed into SAM
2626
| GEOPHIRES Parameter(s) | SAM Category | SAM Input(s) | SAM Module(s) | SAM Parameter Name(s) | Comment |
2727
|-------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|----------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2828
| `Max Net Electricity Production` | Generation Profile | `Nameplate capacity` | `Singleowner` | `system_capacity` | .. N/A |
29+
| `Utilizaton Factor` | Generation Profile | `Nominal capacity factor` | `Singleowner` | `user_capacity_factor` | .. N/A |
2930
| `Net Electricity Production` | AC Degradation | `Annual AC degradation rate` schedule | `Utilityrate5` | `degradation` | Percentage difference of each year's `Net Electricity Production` from `Max Net Electricity Production` is input as SAM as the degradation rate schedule in order to match SAM's generation profile to GEOPHIRES |
3031
| `Total Capital Cost` + `Investment Tax Credit Value` | Installation Costs | `Total Installed Cost` | `Singleowner` | `total_installed_cost` | .. N/A |
3132
| `Total O&M Cost`, `Inflation Rate` | Operating Costs | `Fixed operating cost`, `Escalation rate` set to `Inflation Rate` × -1 | `Singleowner` | `om_fixed`, `om_fixed_escal` | .. N/A |

src/geophires_x/EconomicsSam.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ def pct(econ_value: Parameter) -> float:
245245

246246
ret['ibi_oth_amount'] = (econ.OtherIncentives.quantity() + econ.TotalGrant.quantity()).to('USD').magnitude
247247

248+
ret['user_capacity_factor'] = model.surfaceplant.utilization_factor.value
249+
248250
return ret
249251

250252

src/geophires_x/Outputs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ def PrintOutputs(self, model: Model):
257257
irfl = Outputs._field_label(econ.interest_rate.Name, 49)
258258
f.write(f' {irfl}{econ.interest_rate.value:10.2f} {econ.interest_rate.CurrentUnits.value}\n')
259259

260+
# FIXME TODO unit is missing
260261
f.write(f' Accrued financing during construction: {model.economics.inflrateconstruction.value*100:10.2f} {model.economics.inflrateconstruction.CurrentUnits.value}\n')
262+
261263
f.write(f' Project lifetime: {model.surfaceplant.plant_lifetime.value:10.0f} {model.surfaceplant.plant_lifetime.CurrentUnits.value}\n')
262264
f.write(f' Capacity factor: {model.surfaceplant.utilization_factor.value * 100:10.1f} %\n')
263265

src/geophires_x/SurfacePlant.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ def __init__(self, model: Model):
305305
CurrentUnits=PercentUnit.TENTH,
306306
Required=True,
307307
ErrMessage="assume default utilization factor (0.9)",
308-
ToolTipText="Ratio of the time the plant is running in normal production in a 1-year time period."
308+
ToolTipText="Ratio of the time the plant is running in normal production in a 1-year time period. "
309+
"Synonymous with capacity factor."
309310
)
310311
self.enduse_efficiency_factor = self.ParameterDict[self.enduse_efficiency_factor.Name] = floatParameter(
311312
"End-Use Efficiency Factor",

0 commit comments

Comments
 (0)