NREL-reV 0.8.9__py3-none-any.whl → 0.9.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/METADATA +2 -1
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/RECORD +34 -34
- reV/SAM/SAM.py +38 -0
- reV/SAM/generation.py +43 -10
- reV/bespoke/bespoke.py +304 -245
- reV/bespoke/cli_bespoke.py +2 -0
- reV/bespoke/place_turbines.py +181 -37
- reV/config/output_request.py +2 -1
- reV/config/project_points.py +1 -3
- reV/econ/econ.py +24 -13
- reV/econ/economies_of_scale.py +54 -35
- reV/generation/base.py +22 -2
- reV/generation/generation.py +50 -23
- reV/generation/output_attributes/lcoe_fcr_inputs.json +38 -3
- reV/handlers/__init__.py +0 -1
- reV/handlers/multi_year.py +45 -17
- reV/handlers/transmission.py +44 -27
- reV/hybrids/hybrid_methods.py +16 -14
- reV/hybrids/hybrids.py +10 -10
- reV/nrwal/nrwal.py +1 -1
- reV/qa_qc/qa_qc.py +1 -1
- reV/qa_qc/summary.py +4 -4
- reV/rep_profiles/rep_profiles.py +1 -1
- reV/supply_curve/exclusions.py +1 -1
- reV/supply_curve/extent.py +1 -1
- reV/supply_curve/points.py +254 -131
- reV/supply_curve/sc_aggregation.py +13 -45
- reV/supply_curve/supply_curve.py +200 -141
- reV/utilities/__init__.py +114 -39
- reV/version.py +1 -1
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/LICENSE +0 -0
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/WHEEL +0 -0
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/entry_points.txt +0 -0
- {NREL_reV-0.8.9.dist-info → NREL_reV-0.9.2.dist-info}/top_level.txt +0 -0
reV/utilities/__init__.py
CHANGED
@@ -112,56 +112,91 @@ class ResourceMetaField(FieldEnum):
|
|
112
112
|
class SupplyCurveField(FieldEnum):
|
113
113
|
"""An enumerated map to supply curve summary/meta keys.
|
114
114
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
115
|
+
This is a collection of known supply curve fields that reV outputs
|
116
|
+
across aggregation, supply curve, and bespoke outputs.
|
117
|
+
|
118
|
+
Not all of these columns are guaranteed in every supply-curve like
|
119
|
+
output (e.g. "convex_hull_area" is a bespoke-only output).
|
119
120
|
"""
|
120
121
|
|
121
|
-
SC_POINT_GID = "sc_point_gid"
|
122
|
-
SOURCE_GIDS = "source_gids"
|
123
122
|
SC_GID = "sc_gid"
|
124
|
-
GID_COUNTS = "gid_counts"
|
125
|
-
GID = "gid"
|
126
|
-
N_GIDS = "n_gids"
|
127
|
-
RES_GIDS = "res_gids"
|
128
|
-
GEN_GIDS = "gen_gids"
|
129
|
-
AREA_SQ_KM = "area_sq_km"
|
130
123
|
LATITUDE = "latitude"
|
131
124
|
LONGITUDE = "longitude"
|
132
|
-
ELEVATION = "elevation"
|
133
|
-
TIMEZONE = "timezone"
|
134
|
-
COUNTY = "county"
|
135
|
-
STATE = "state"
|
136
125
|
COUNTRY = "country"
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
126
|
+
STATE = "state"
|
127
|
+
COUNTY = "county"
|
128
|
+
ELEVATION = "elevation_m"
|
129
|
+
TIMEZONE = "timezone"
|
130
|
+
SC_POINT_GID = "sc_point_gid"
|
142
131
|
SC_ROW_IND = "sc_row_ind"
|
143
132
|
SC_COL_IND = "sc_col_ind"
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
133
|
+
SOURCE_GIDS = "source_gids"
|
134
|
+
RES_GIDS = "res_gids"
|
135
|
+
GEN_GIDS = "gen_gids"
|
136
|
+
GID_COUNTS = "gid_counts"
|
137
|
+
N_GIDS = "n_gids"
|
138
|
+
MEAN_RES = "resource"
|
139
|
+
MEAN_CF_AC = "capacity_factor_ac"
|
140
|
+
MEAN_CF_DC = "capacity_factor_dc"
|
141
|
+
MEAN_LCOE = "lcoe_site_usd_per_mwh"
|
142
|
+
CAPACITY_AC_MW = "capacity_ac_mw"
|
143
|
+
CAPACITY_DC_MW = "capacity_dc_mw"
|
144
|
+
OFFSHORE = "offshore"
|
145
|
+
AREA_SQ_KM = "area_developable_sq_km"
|
146
|
+
MEAN_FRICTION = "friction_site"
|
147
|
+
MEAN_LCOE_FRICTION = "lcoe_friction_usd_per_mwh"
|
148
|
+
RAW_LCOE = "lcoe_raw_usd_per_mwh"
|
149
|
+
EOS_MULT = "multiplier_cc_eos"
|
150
|
+
REG_MULT = "multiplier_cc_regional"
|
151
|
+
SC_POINT_ANNUAL_ENERGY_MW = "annual_energy_site_mwh"
|
152
|
+
COST_BASE_OCC_USD_PER_AC_MW = "cost_base_occ_usd_per_ac_mw"
|
153
|
+
COST_SITE_OCC_USD_PER_AC_MW = "cost_site_occ_usd_per_ac_mw"
|
154
|
+
COST_BASE_FOC_USD_PER_AC_MW = "cost_base_foc_usd_per_ac_mw"
|
155
|
+
COST_SITE_FOC_USD_PER_AC_MW = "cost_site_foc_usd_per_ac_mw"
|
156
|
+
COST_BASE_VOC_USD_PER_AC_MW = "cost_base_voc_usd_per_ac_mw"
|
157
|
+
COST_SITE_VOC_USD_PER_AC_MW = "cost_site_voc_usd_per_ac_mw"
|
148
158
|
FIXED_CHARGE_RATE = "fixed_charge_rate"
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
MEAN_FRICTION = "mean_friction"
|
154
|
-
MEAN_LCOE_FRICTION = "mean_lcoe_friction"
|
155
|
-
TOTAL_LCOE_FRICTION = "total_lcoe_friction"
|
156
|
-
RAW_LCOE = "raw_lcoe"
|
157
|
-
CAPITAL_COST_SCALAR = "capital_cost_scalar"
|
158
|
-
SCALED_CAPITAL_COST = "scaled_capital_cost"
|
159
|
-
SCALED_SC_POINT_CAPITAL_COST = "scaled_sc_point_capital_cost"
|
159
|
+
|
160
|
+
# Bespoke outputs
|
161
|
+
POSSIBLE_X_COORDS = "possible_x_coords"
|
162
|
+
POSSIBLE_Y_COORDS = "possible_y_coords"
|
160
163
|
TURBINE_X_COORDS = "turbine_x_coords"
|
161
164
|
TURBINE_Y_COORDS = "turbine_y_coords"
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
+
N_TURBINES = "n_turbines"
|
166
|
+
INCLUDED_AREA = "area_included_sq_km"
|
167
|
+
INCLUDED_AREA_CAPACITY_DENSITY = (
|
168
|
+
"capacity_density_included_area_mw_per_km2"
|
169
|
+
)
|
170
|
+
CONVEX_HULL_AREA = "area_convex_hull_sq_km"
|
171
|
+
CONVEX_HULL_CAPACITY_DENSITY = "capacity_density_convex_hull_mw_per_km2"
|
172
|
+
FULL_CELL_CAPACITY_DENSITY = "capacity_density_full_cell_mw_per_km2"
|
173
|
+
BESPOKE_AEP = "optimized_plant_aep"
|
174
|
+
BESPOKE_OBJECTIVE = "optimized_plant_objective"
|
175
|
+
BESPOKE_CAPITAL_COST = "optimized_plant_capital_cost"
|
176
|
+
BESPOKE_FIXED_OPERATING_COST = "optimized_plant_fixed_operating_cost"
|
177
|
+
BESPOKE_VARIABLE_OPERATING_COST = "optimized_plant_variable_operating_cost"
|
178
|
+
BESPOKE_BALANCE_OF_SYSTEM_COST = "optimized_plant_balance_of_system_cost"
|
179
|
+
|
180
|
+
# Transmission outputs
|
181
|
+
TRANS_GID = "trans_gid"
|
182
|
+
TRANS_TYPE = "trans_type"
|
183
|
+
TOTAL_LCOE_FRICTION = "lcoe_total_friction_usd_per_mwh"
|
184
|
+
TRANS_CAPACITY = "trans_capacity"
|
185
|
+
DIST_SPUR_KM = "dist_spur_km"
|
186
|
+
DIST_EXPORT_KM = "dist_export_km"
|
187
|
+
REINFORCEMENT_DIST_KM = "dist_reinforcement_km"
|
188
|
+
TIE_LINE_COST_PER_MW = "cost_spur_usd_per_mw"
|
189
|
+
CONNECTION_COST_PER_MW = "cost_poi_usd_per_mw"
|
190
|
+
EXPORT_COST_PER_MW = "cost_export_usd_per_mw"
|
191
|
+
REINFORCEMENT_COST_PER_MW = "cost_reinforcement_usd_per_mw"
|
192
|
+
TOTAL_TRANS_CAP_COST_PER_MW = "cost_total_trans_usd_per_mw"
|
193
|
+
LCOT = "lcot_usd_per_mwh"
|
194
|
+
TOTAL_LCOE = "lcoe_all_in_usd_per_mwh"
|
195
|
+
N_PARALLEL_TRANS = "count_num_parallel_trans"
|
196
|
+
POI_LAT = "latitude_poi"
|
197
|
+
POI_LON = "longitude_poi"
|
198
|
+
REINFORCEMENT_POI_LAT = "latitude_reinforcement_poi"
|
199
|
+
REINFORCEMENT_POI_LON = "longitude_reinforcement_poi"
|
165
200
|
|
166
201
|
@classmethod
|
167
202
|
def map_from_legacy(cls):
|
@@ -190,6 +225,46 @@ class _LegacySCAliases(Enum):
|
|
190
225
|
values where each string value represents a previously known alias.
|
191
226
|
"""
|
192
227
|
|
228
|
+
ELEVATION = "elevation"
|
229
|
+
MEAN_RES = "mean_res"
|
230
|
+
MEAN_CF_AC = "mean_cf"
|
231
|
+
MEAN_LCOE = "mean_lcoe"
|
232
|
+
CAPACITY_AC_MW = "capacity"
|
233
|
+
AREA_SQ_KM = "area_sq_km"
|
234
|
+
MEAN_FRICTION = "mean_friction"
|
235
|
+
MEAN_LCOE_FRICTION = "mean_lcoe_friction"
|
236
|
+
RAW_LCOE = "raw_lcoe"
|
237
|
+
TRANS_TYPE = "category"
|
238
|
+
TRANS_CAPACITY = "avail_cap"
|
239
|
+
DIST_SPUR_KM = "dist_km"
|
240
|
+
REINFORCEMENT_DIST_KM = "reinforcement_dist_km"
|
241
|
+
TIE_LINE_COST_PER_MW = "tie_line_cost_per_mw"
|
242
|
+
CONNECTION_COST_PER_MW = "connection_cost_per_mw"
|
243
|
+
REINFORCEMENT_COST_PER_MW = "reinforcement_cost_per_mw"
|
244
|
+
TOTAL_TRANS_CAP_COST_PER_MW = "trans_cap_cost_per_mw"
|
245
|
+
LCOT = "lcot"
|
246
|
+
TOTAL_LCOE = "total_lcoe"
|
247
|
+
TOTAL_LCOE_FRICTION = "total_lcoe_friction"
|
248
|
+
N_PARALLEL_TRANS = "n_parallel_trans"
|
249
|
+
EOS_MULT = "eos_mult", "capital_cost_multiplier"
|
250
|
+
REG_MULT = "reg_mult"
|
251
|
+
SC_POINT_ANNUAL_ENERGY_MW = "sc_point_annual_energy"
|
252
|
+
POI_LAT = "poi_lat"
|
253
|
+
POI_LON = "poi_lon"
|
254
|
+
REINFORCEMENT_POI_LAT = "reinforcement_poi_lat"
|
255
|
+
REINFORCEMENT_POI_LON = "reinforcement_poi_lon"
|
256
|
+
BESPOKE_AEP = "bespoke_aep"
|
257
|
+
BESPOKE_OBJECTIVE = "bespoke_objective"
|
258
|
+
BESPOKE_CAPITAL_COST = "bespoke_capital_cost"
|
259
|
+
BESPOKE_FIXED_OPERATING_COST = "bespoke_fixed_operating_cost"
|
260
|
+
BESPOKE_VARIABLE_OPERATING_COST = "bespoke_variable_operating_cost"
|
261
|
+
BESPOKE_BALANCE_OF_SYSTEM_COST = "bespoke_balance_of_system_cost"
|
262
|
+
INCLUDED_AREA = "included_area"
|
263
|
+
INCLUDED_AREA_CAPACITY_DENSITY = "included_area_capacity_density"
|
264
|
+
CONVEX_HULL_AREA = "convex_hull_area"
|
265
|
+
CONVEX_HULL_CAPACITY_DENSITY = "convex_hull_capacity_density"
|
266
|
+
FULL_CELL_CAPACITY_DENSITY = "full_cell_capacity_density"
|
267
|
+
|
193
268
|
|
194
269
|
class ModuleName(str, Enum):
|
195
270
|
"""A collection of the module names available in reV.
|
reV/version.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|