NREL-reV 0.9.5__tar.gz → 0.9.7__tar.gz

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.
Files changed (89) hide show
  1. {NREL-reV-0.9.5 → NREL-reV-0.9.7/NREL_reV.egg-info}/PKG-INFO +7 -2
  2. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/requires.txt +8 -1
  3. {NREL-reV-0.9.5/NREL_reV.egg-info → NREL-reV-0.9.7}/PKG-INFO +7 -2
  4. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/README.rst +4 -1
  5. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/bespoke.py +2 -2
  6. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/points.py +4 -4
  7. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/__init__.py +2 -2
  8. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/version.py +1 -1
  9. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/setup.py +2 -0
  10. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/LICENSE +0 -0
  11. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/SOURCES.txt +0 -0
  12. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/dependency_links.txt +0 -0
  13. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/entry_points.txt +0 -0
  14. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/not-zip-safe +0 -0
  15. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/NREL_reV.egg-info/top_level.txt +0 -0
  16. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/SAM.py +0 -0
  17. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/__init__.py +0 -0
  18. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/defaults.py +0 -0
  19. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/econ.py +0 -0
  20. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/generation.py +0 -0
  21. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/version_checker.py +0 -0
  22. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/SAM/windbos.py +0 -0
  23. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/__init__.py +0 -0
  24. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/__init__.py +0 -0
  25. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/cli_bespoke.py +0 -0
  26. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/gradient_free.py +0 -0
  27. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/pack_turbs.py +0 -0
  28. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/place_turbines.py +0 -0
  29. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/bespoke/plotting_functions.py +0 -0
  30. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/cli.py +0 -0
  31. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/__init__.py +0 -0
  32. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/base_analysis_config.py +0 -0
  33. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/base_config.py +0 -0
  34. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/cli_project_points.py +0 -0
  35. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/curtailment.py +0 -0
  36. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/execution.py +0 -0
  37. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/output_request.py +0 -0
  38. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/project_points.py +0 -0
  39. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/config/sam_config.py +0 -0
  40. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/econ/__init__.py +0 -0
  41. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/econ/cli_econ.py +0 -0
  42. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/econ/econ.py +0 -0
  43. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/econ/economies_of_scale.py +0 -0
  44. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/econ/utilities.py +0 -0
  45. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/generation/__init__.py +0 -0
  46. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/generation/base.py +0 -0
  47. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/generation/cli_gen.py +0 -0
  48. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/generation/generation.py +0 -0
  49. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/__init__.py +0 -0
  50. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/cli_collect.py +0 -0
  51. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/cli_multi_year.py +0 -0
  52. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/exclusions.py +0 -0
  53. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/multi_year.py +0 -0
  54. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/outputs.py +0 -0
  55. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/handlers/transmission.py +0 -0
  56. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/hybrids/__init__.py +0 -0
  57. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/hybrids/cli_hybrids.py +0 -0
  58. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/hybrids/hybrid_methods.py +0 -0
  59. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/hybrids/hybrids.py +0 -0
  60. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/losses/__init__.py +0 -0
  61. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/losses/power_curve.py +0 -0
  62. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/losses/scheduled.py +0 -0
  63. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/losses/utils.py +0 -0
  64. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/nrwal/__init__.py +0 -0
  65. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/nrwal/cli_nrwal.py +0 -0
  66. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/nrwal/nrwal.py +0 -0
  67. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/qa_qc/__init__.py +0 -0
  68. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/qa_qc/cli_qa_qc.py +0 -0
  69. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/qa_qc/qa_qc.py +0 -0
  70. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/qa_qc/summary.py +0 -0
  71. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/rep_profiles/__init__.py +0 -0
  72. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/rep_profiles/cli_rep_profiles.py +0 -0
  73. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/rep_profiles/rep_profiles.py +0 -0
  74. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/__init__.py +0 -0
  75. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/aggregation.py +0 -0
  76. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/cli_sc_aggregation.py +0 -0
  77. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/cli_supply_curve.py +0 -0
  78. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/competitive_wind_farms.py +0 -0
  79. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/exclusions.py +0 -0
  80. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/extent.py +0 -0
  81. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/sc_aggregation.py +0 -0
  82. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/supply_curve.py +0 -0
  83. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/supply_curve/tech_mapping.py +0 -0
  84. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/cli_functions.py +0 -0
  85. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/curtailment.py +0 -0
  86. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/exceptions.py +0 -0
  87. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/pytest_utils.py +0 -0
  88. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/reV/utilities/slots.py +0 -0
  89. {NREL-reV-0.9.5 → NREL-reV-0.9.7}/setup.cfg +0 -0
@@ -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
@@ -123,8 +123,11 @@ Description:
123
123
  3. Install reV:
124
124
  1) ``pip install NREL-reV`` or
125
125
 
126
+ - 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>`_
127
+ you will also need to install S3 filesystem dependencies: ``pip install NREL-reV[s3]``
128
+
126
129
  - NOTE: If you install using conda and want to use `HSDS <https://github.com/NREL/hsds-examples>`_
127
- you will also need to install h5pyd manually: ``pip install h5pyd``
130
+ you will also need to install HSDS dependencies: ``pip install NREL-reV[hsds]``
128
131
 
129
132
  Option 2: Clone repo (recommended for developers)
130
133
 
@@ -228,3 +231,5 @@ Classifier: Programming Language :: Python :: 3.11
228
231
  Requires-Python: >=3.8
229
232
  Provides-Extra: test
230
233
  Provides-Extra: dev
234
+ Provides-Extra: s3
235
+ Provides-Extra: hsds
@@ -1,7 +1,7 @@
1
1
  NREL-gaps>=0.6.11
2
2
  NREL-NRWAL>=0.0.7
3
3
  NREL-PySAM~=4.1.0
4
- NREL-rex>=0.2.89
4
+ NREL-rex>=0.2.97
5
5
  numpy~=1.24.4
6
6
  packaging>=20.3
7
7
  plotly>=4.7.1
@@ -14,5 +14,12 @@ flake8
14
14
  pre-commit
15
15
  pylint
16
16
 
17
+ [hsds]
18
+ hsds>=0.8.4
19
+
20
+ [s3]
21
+ fsspec
22
+ s3fs
23
+
17
24
  [test]
18
25
  pytest>=5.2
@@ -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
@@ -123,8 +123,11 @@ Description:
123
123
  3. Install reV:
124
124
  1) ``pip install NREL-reV`` or
125
125
 
126
+ - 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>`_
127
+ you will also need to install S3 filesystem dependencies: ``pip install NREL-reV[s3]``
128
+
126
129
  - NOTE: If you install using conda and want to use `HSDS <https://github.com/NREL/hsds-examples>`_
127
- you will also need to install h5pyd manually: ``pip install h5pyd``
130
+ you will also need to install HSDS dependencies: ``pip install NREL-reV[hsds]``
128
131
 
129
132
  Option 2: Clone repo (recommended for developers)
130
133
 
@@ -228,3 +231,5 @@ Classifier: Programming Language :: Python :: 3.11
228
231
  Requires-Python: >=3.8
229
232
  Provides-Extra: test
230
233
  Provides-Extra: dev
234
+ Provides-Extra: s3
235
+ Provides-Extra: hsds
@@ -126,8 +126,11 @@ Option 1: Install from PIP (recommended for analysts):
126
126
  3. Install reV:
127
127
  1) ``pip install NREL-reV`` or
128
128
 
129
+ - 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>`_
130
+ you will also need to install S3 filesystem dependencies: ``pip install NREL-reV[s3]``
131
+
129
132
  - NOTE: If you install using conda and want to use `HSDS <https://github.com/NREL/hsds-examples>`_
130
- you will also need to install h5pyd manually: ``pip install h5pyd``
133
+ you will also need to install HSDS dependencies: ``pip install NREL-reV[hsds]``
131
134
 
132
135
  Option 2: Clone repo (recommended for developers)
133
136
  -------------------------------------------------
@@ -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: (
@@ -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"
@@ -2,4 +2,4 @@
2
2
  reV Version number
3
3
  """
4
4
 
5
- __version__ = "0.9.5"
5
+ __version__ = "0.9.7"
@@ -106,6 +106,8 @@ setup(
106
106
  extras_require={
107
107
  "test": test_requires,
108
108
  "dev": test_requires + ["flake8", "pre-commit", "pylint"],
109
+ "s3": ['fsspec', 's3fs'],
110
+ "hsds": ["hsds>=0.8.4"],
109
111
  },
110
112
  cmdclass={"develop": PostDevelopCommand},
111
113
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes