-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add drilling cost curves to geothermal cost cmod #1191
Conversation
injection drilling costs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do we need to re-evaluate before the release?
@@ -1567,6 +1567,7 @@ double CGeothermalAnalyzer::GetNumberOfWells(void) | |||
} | |||
|
|||
if (mp_geo_out->md_NumberOfWellsInj < 0) mp_geo_out->md_NumberOfWellsInj = 0; | |||
if (mp_geo_out->md_NumberOfWells < 0) mp_geo_out->md_NumberOfWells = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both injection and regular wells drilled - good catch!
{ SSC_INPUT, SSC_NUMBER, "resource_depth", "Resource Depth", "m", "", "GeoHourly", "", "", "" }, | ||
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.prod_wells_drilled", "Number of drilled production wells", "0/1", "0=LargerDiameter,1=SmallerDiameter", "GeoHourly", "", "", "" }, | ||
{ SSC_INPUT, SSC_NUMBER, "geotherm.cost.inj_wells_drilled", "Number of drilled injection wells", "0/1", "0=LargerDiameter,1=SmallerDiameter", "GeoHourly", "", "", "" }, | ||
{ SSC_INPUT, SSC_NUMBER, "calc_drill_costs", "Calculate drill costs", "0/1", "0=LargerDiameter,1=SmallerDiameter", "GeoHourly", "?=0", "", "" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious why you are using "." instead of "_"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've just been working off what was there before. It's probably worth changing this in the future.
|
||
int calc_drill_costs = as_integer("calc_drill_costs"); | ||
if (calc_drill_costs == 1) { | ||
int inj_cost_curve_welldiam = as_integer("geotherm.cost.inj_cost_curve_welldiam"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't these inputs be required if "calc_drill_costs"==1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I will update this.
-Add drilling cost curves to cmod for use in reV calculations
-Optional inputs to model, not used by default
-Re-evaluate for release