NREL-reV 0.9.5__py3-none-any.whl → 0.9.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NREL-reV
3
- Version: 0.9.5
3
+ Version: 0.9.7
4
4
  Summary: National Renewable Energy Laboratory's (NREL's) Renewable Energy Potential(V) Model: reV
5
5
  Home-page: https://nrel.github.io/reV/
6
6
  Author: Galen Maclaurin
@@ -20,7 +20,7 @@ Requires-Python: >=3.8
20
20
  Requires-Dist: NREL-gaps>=0.6.11
21
21
  Requires-Dist: NREL-NRWAL>=0.0.7
22
22
  Requires-Dist: NREL-PySAM~=4.1.0
23
- Requires-Dist: NREL-rex>=0.2.89
23
+ Requires-Dist: NREL-rex>=0.2.97
24
24
  Requires-Dist: numpy~=1.24.4
25
25
  Requires-Dist: packaging>=20.3
26
26
  Requires-Dist: plotly>=4.7.1
@@ -31,6 +31,11 @@ Requires-Dist: pytest>=5.2; extra == "dev"
31
31
  Requires-Dist: flake8; extra == "dev"
32
32
  Requires-Dist: pre-commit; extra == "dev"
33
33
  Requires-Dist: pylint; extra == "dev"
34
+ Provides-Extra: hsds
35
+ Requires-Dist: hsds>=0.8.4; extra == "hsds"
36
+ Provides-Extra: s3
37
+ Requires-Dist: fsspec; extra == "s3"
38
+ Requires-Dist: s3fs; extra == "s3"
34
39
  Provides-Extra: test
35
40
  Requires-Dist: pytest>=5.2; extra == "test"
36
41
 
@@ -151,8 +156,11 @@ Option 1: Install from PIP (recommended for analysts):
151
156
  3. Install reV:
152
157
  1) ``pip install NREL-reV`` or
153
158
 
159
+ - NOTE: If you install using conda and want to run from files directly on S3 like in the `running reV locally example <https://nrel.github.io/reV/misc/examples.running_locally.html>`_
160
+ you will also need to install S3 filesystem dependencies: ``pip install NREL-reV[s3]``
161
+
154
162
  - NOTE: If you install using conda and want to use `HSDS <https://github.com/NREL/hsds-examples>`_
155
- you will also need to install h5pyd manually: ``pip install h5pyd``
163
+ you will also need to install HSDS dependencies: ``pip install NREL-reV[hsds]``
156
164
 
157
165
  Option 2: Clone repo (recommended for developers)
158
166
 
@@ -1,6 +1,6 @@
1
1
  reV/__init__.py,sha256=tXTpWu_qVo3uotfSw_TJ-gNbidGaIPPfUTwBlpCMJ-g,856
2
2
  reV/cli.py,sha256=jfGGOr6QlLz8ghA7vBgx5-VgNsy4bBQo5DdHk42-q9A,1601
3
- reV/version.py,sha256=-d0FHT8TbXm_fBuvfSz3da_dWANi_ww6eK4n0DOIYU0,50
3
+ reV/version.py,sha256=qvsYDmbch162uNYl33wLtWh5TATvNxPNT5ydByLs0dg,50
4
4
  reV/SAM/SAM.py,sha256=1xuxs2gb1wsgbBkhj3mdQVDuSWbp5T5Bh7kLRl69pkg,32258
5
5
  reV/SAM/__init__.py,sha256=LJqoncyKDY5ZP5WA4kboh561bce11F9Ge645Izah0EY,240
6
6
  reV/SAM/defaults.py,sha256=2zqT_mfrVtbvU7Pe6H4anNtiVkIyQbuJcGIOARzEsbM,7193
@@ -14,7 +14,7 @@ reV/SAM/defaults/US_Wave.csv,sha256=wvn9vGl9ZGKVHbCyq4muhMI6x1-nAaQfDS3hC4ftwBA,
14
14
  reV/SAM/defaults/geothermal.json,sha256=ivxnpxkfBrEl1MwLKXClLJfTfvF5UrbN87wpC_BFLck,2598
15
15
  reV/SAM/defaults/i_pvwattsv5.json,sha256=pZpNlK5MiowZmNwY7i9XRWp9G8pPLirwdBWCMVJVuKE,312
16
16
  reV/bespoke/__init__.py,sha256=vpXbyBUrUsTgK8UP_LafMjLiDg2CRG9WZLHPsOJoxek,109
17
- reV/bespoke/bespoke.py,sha256=nWmryaLRFkOwkYLkKUQHgjXqc5YcFGODK4k6VEX0bRU,113473
17
+ reV/bespoke/bespoke.py,sha256=LNPxdu_TK6GrgiGmtQJt0IE6TaAsXv22RYit0daravg,113475
18
18
  reV/bespoke/cli_bespoke.py,sha256=nZc6rJlfxH2IXUz9bym4EO-C1k6VvulgweWoRrMg_cE,3028
19
19
  reV/bespoke/gradient_free.py,sha256=URWV1yiO2jyWk3_GOpfpLV_wlgJhXXGmTUwCB3WTV0Y,12015
20
20
  reV/bespoke/pack_turbs.py,sha256=l4btC2dPZkLvDgAAGVhAYgAZDbvwimGYRdrQDq0xT68,3740
@@ -79,19 +79,19 @@ reV/supply_curve/cli_supply_curve.py,sha256=e-XrHQIe4OqWTL6u-TUAyHrw7Alk7vkXQ2Ho
79
79
  reV/supply_curve/competitive_wind_farms.py,sha256=eOjM72-4oWtsqxB7Wh2gnB2zVAt4LY3iPE_DqWdXbQ4,15795
80
80
  reV/supply_curve/exclusions.py,sha256=4-ZxTO5Vlu03vie0V_74uvdajQfCuC8FE96Pg8I4U_c,42950
81
81
  reV/supply_curve/extent.py,sha256=a31po753hXSxQ8lfcCvpE8hoKc4bY7MmYq0NO0jtdqA,17414
82
- reV/supply_curve/points.py,sha256=YEYHpn3KlBbGqpxywrfbrUrlhL3BndgX7cVQerdB6zg,86107
82
+ reV/supply_curve/points.py,sha256=Wk95hMQtsSqjz-rkQrKKoedzI1LWU--_N5KjhPVPRik,86126
83
83
  reV/supply_curve/sc_aggregation.py,sha256=R_h3xXKum4JTYMuq2us0rWhW0t2wm-G9Wj2on1d8FeY,61604
84
84
  reV/supply_curve/supply_curve.py,sha256=igbloCkvYQwaH4zjbrYO17J7TtCTX5dKkk-TnlGJJeY,69931
85
85
  reV/supply_curve/tech_mapping.py,sha256=nfqPIj9o1pllX3aRC1Hi2KGXYJOYy68Vbvr_1asNmFk,18573
86
- reV/utilities/__init__.py,sha256=iOvOuqcXv_WaSP627z2i2wF5820DbUSGRa7lSj23diQ,10534
86
+ reV/utilities/__init__.py,sha256=xmF0CVqjZ_KY__MxW_3BGWlWr4MWWRgPk38j4qbn76A,10536
87
87
  reV/utilities/cli_functions.py,sha256=1_T_sXz0Ct8lW-vOk3mMRcpD6NYsc9cGI7dEujIi9z4,3864
88
88
  reV/utilities/curtailment.py,sha256=fu48Lje-iyd2Awfe-6jFebvgcKSeJ3daNNTqjFI2GvM,4963
89
89
  reV/utilities/exceptions.py,sha256=f7sRGsbFLpmL6Caq_H1cD4GfVhnLMyvYUsLPA1UVDDE,3974
90
90
  reV/utilities/pytest_utils.py,sha256=T22NFEGxPOc9wRwgy0Pt2cHvw3Vam9cKwUj4AkzI7bU,3244
91
91
  reV/utilities/slots.py,sha256=xsw-JuUVZ0YeoCNuwP_HxGNxFMA4xRs1tuImXHIJqaU,2618
92
- NREL_reV-0.9.5.dist-info/LICENSE,sha256=hDwoTANtan2ZpufBlXm5C3W_PJ-mCqItvlcobgjxL7k,1526
93
- NREL_reV-0.9.5.dist-info/METADATA,sha256=hx7F_iukuZl9zoHjAmjElOamOiFwUJPjVa0r2WpFiUY,10279
94
- NREL_reV-0.9.5.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
95
- NREL_reV-0.9.5.dist-info/entry_points.txt,sha256=KGtPEOQRZMSqKXjjv5jt_T4e4HQN0fHiaGdAWwTtuW4,617
96
- NREL_reV-0.9.5.dist-info/top_level.txt,sha256=S6YF2ZYgXUB6n28SY0K2H8YB9tMJdXQ9CyQbo6VC89M,4
97
- NREL_reV-0.9.5.dist-info/RECORD,,
92
+ NREL_reV-0.9.7.dist-info/LICENSE,sha256=hDwoTANtan2ZpufBlXm5C3W_PJ-mCqItvlcobgjxL7k,1526
93
+ NREL_reV-0.9.7.dist-info/METADATA,sha256=zgopP71qLAcbj2YHkfaBvGGZ6oS8xw4e7yUPCLuA5Ho,10735
94
+ NREL_reV-0.9.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
95
+ NREL_reV-0.9.7.dist-info/entry_points.txt,sha256=KGtPEOQRZMSqKXjjv5jt_T4e4HQN0fHiaGdAWwTtuW4,617
96
+ NREL_reV-0.9.7.dist-info/top_level.txt,sha256=S6YF2ZYgXUB6n28SY0K2H8YB9tMJdXQ9CyQbo6VC89M,4
97
+ NREL_reV-0.9.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.44.0)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
reV/bespoke/bespoke.py CHANGED
@@ -1282,7 +1282,7 @@ class BespokeSinglePlant:
1282
1282
  self._meta[SupplyCurveField.MEAN_CF_DC] = np.nan
1283
1283
  self._meta[SupplyCurveField.MEAN_CF_AC] = np.nan
1284
1284
  self._meta[SupplyCurveField.MEAN_LCOE] = np.nan
1285
- self._meta[SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MW] = np.nan
1285
+ self._meta[SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MWH] = np.nan
1286
1286
  # copy dataset outputs to meta data for supply curve table summary
1287
1287
  if "cf_mean-means" in self.outputs:
1288
1288
  self._meta.loc[:, SupplyCurveField.MEAN_CF_AC] = self.outputs[
@@ -1294,7 +1294,7 @@ class BespokeSinglePlant:
1294
1294
  ]
1295
1295
  self.recalc_lcoe()
1296
1296
  if "annual_energy-means" in self.outputs:
1297
- self._meta[SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MW] = (
1297
+ self._meta[SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MWH] = (
1298
1298
  self.outputs["annual_energy-means"] / 1000
1299
1299
  )
1300
1300
 
@@ -2154,7 +2154,7 @@ class GenerationSupplyCurvePoint(AggregationSupplyCurvePoint):
2154
2154
  return self.exclusion_weighted_mean(self.gen["fixed_charge_rate"])
2155
2155
 
2156
2156
  @property
2157
- def _sam_system_capacity(self):
2157
+ def _sam_system_capacity_kw(self):
2158
2158
  """float: Mean SAM generation system capacity input, defaults to 0. """
2159
2159
  if self._ssc is not None:
2160
2160
  return self._ssc
@@ -2187,14 +2187,14 @@ class GenerationSupplyCurvePoint(AggregationSupplyCurvePoint):
2187
2187
 
2188
2188
  def _compute_cost_per_ac_mw(self, dset):
2189
2189
  """Compute a cost per AC MW for a given input. """
2190
- if self._sam_system_capacity <= 0:
2190
+ if self._sam_system_capacity_kw <= 0:
2191
2191
  return None
2192
2192
 
2193
2193
  if dset not in self.gen.datasets:
2194
2194
  return None
2195
2195
 
2196
2196
  sam_cost = self.exclusion_weighted_mean(self.gen[dset])
2197
- sam_cost_per_mw = sam_cost / self._sam_system_capacity
2197
+ sam_cost_per_mw = sam_cost / (self._sam_system_capacity_kw / 1000)
2198
2198
  sc_point_cost = sam_cost_per_mw * self.capacity
2199
2199
 
2200
2200
  ac_cap = (self.capacity
@@ -2318,7 +2318,7 @@ class GenerationSupplyCurvePoint(AggregationSupplyCurvePoint):
2318
2318
  SupplyCurveField.CAPACITY_DC_MW: self.capacity_dc,
2319
2319
  SupplyCurveField.EOS_MULT: 1, # added later
2320
2320
  SupplyCurveField.REG_MULT: self.regional_multiplier,
2321
- SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MW: (
2321
+ SupplyCurveField.SC_POINT_ANNUAL_ENERGY_MWH: (
2322
2322
  self.sc_point_annual_energy
2323
2323
  ),
2324
2324
  SupplyCurveField.COST_SITE_OCC_USD_PER_AC_MW: (
reV/utilities/__init__.py CHANGED
@@ -148,7 +148,7 @@ class SupplyCurveField(FieldEnum):
148
148
  RAW_LCOE = "lcoe_raw_usd_per_mwh"
149
149
  EOS_MULT = "multiplier_cc_eos"
150
150
  REG_MULT = "multiplier_cc_regional"
151
- SC_POINT_ANNUAL_ENERGY_MW = "annual_energy_site_mwh"
151
+ SC_POINT_ANNUAL_ENERGY_MWH = "annual_energy_site_mwh"
152
152
  COST_BASE_OCC_USD_PER_AC_MW = "cost_base_occ_usd_per_ac_mw"
153
153
  COST_SITE_OCC_USD_PER_AC_MW = "cost_site_occ_usd_per_ac_mw"
154
154
  COST_BASE_FOC_USD_PER_AC_MW = "cost_base_foc_usd_per_ac_mw"
@@ -248,7 +248,7 @@ class _LegacySCAliases(Enum):
248
248
  N_PARALLEL_TRANS = "n_parallel_trans"
249
249
  EOS_MULT = "eos_mult", "capital_cost_multiplier"
250
250
  REG_MULT = "reg_mult"
251
- SC_POINT_ANNUAL_ENERGY_MW = "sc_point_annual_energy"
251
+ SC_POINT_ANNUAL_ENERGY_MWH = "sc_point_annual_energy"
252
252
  POI_LAT = "poi_lat"
253
253
  POI_LON = "poi_lon"
254
254
  REINFORCEMENT_POI_LAT = "reinforcement_poi_lat"
reV/version.py CHANGED
@@ -2,4 +2,4 @@
2
2
  reV Version number
3
3
  """
4
4
 
5
- __version__ = "0.9.5"
5
+ __version__ = "0.9.7"