NREL-reV 0.8.7__py3-none-any.whl → 0.8.9__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.
Files changed (38) hide show
  1. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/METADATA +12 -10
  2. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/RECORD +38 -38
  3. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/WHEEL +1 -1
  4. reV/SAM/SAM.py +182 -133
  5. reV/SAM/econ.py +18 -14
  6. reV/SAM/generation.py +608 -419
  7. reV/SAM/windbos.py +93 -79
  8. reV/bespoke/bespoke.py +690 -445
  9. reV/bespoke/place_turbines.py +6 -6
  10. reV/config/project_points.py +220 -140
  11. reV/econ/econ.py +165 -113
  12. reV/econ/economies_of_scale.py +57 -34
  13. reV/generation/base.py +310 -183
  14. reV/generation/generation.py +298 -190
  15. reV/handlers/exclusions.py +16 -15
  16. reV/handlers/multi_year.py +12 -9
  17. reV/handlers/outputs.py +6 -5
  18. reV/hybrids/hybrid_methods.py +28 -30
  19. reV/hybrids/hybrids.py +304 -188
  20. reV/nrwal/nrwal.py +262 -168
  21. reV/qa_qc/cli_qa_qc.py +14 -10
  22. reV/qa_qc/qa_qc.py +217 -119
  23. reV/qa_qc/summary.py +228 -146
  24. reV/rep_profiles/rep_profiles.py +349 -230
  25. reV/supply_curve/aggregation.py +349 -188
  26. reV/supply_curve/competitive_wind_farms.py +90 -48
  27. reV/supply_curve/exclusions.py +138 -85
  28. reV/supply_curve/extent.py +75 -50
  29. reV/supply_curve/points.py +536 -309
  30. reV/supply_curve/sc_aggregation.py +366 -225
  31. reV/supply_curve/supply_curve.py +505 -308
  32. reV/supply_curve/tech_mapping.py +144 -82
  33. reV/utilities/__init__.py +199 -16
  34. reV/utilities/pytest_utils.py +8 -4
  35. reV/version.py +1 -1
  36. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/LICENSE +0 -0
  37. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/entry_points.txt +0 -0
  38. {NREL_reV-0.8.7.dist-info → NREL_reV-0.8.9.dist-info}/top_level.txt +0 -0
@@ -4,11 +4,10 @@
4
4
  place turbines for bespoke wind plants
5
5
  """
6
6
  import numpy as np
7
+ from shapely.geometry import MultiPoint, MultiPolygon, Point, Polygon
7
8
 
8
- from shapely.geometry import Point, Polygon, MultiPolygon, MultiPoint
9
-
10
- from reV.bespoke.pack_turbs import PackTurbines
11
9
  from reV.bespoke.gradient_free import GeneticAlgorithm
10
+ from reV.bespoke.pack_turbs import PackTurbines
12
11
  from reV.utilities.exceptions import WhileLoopPackingError
13
12
 
14
13
 
@@ -190,7 +189,7 @@ class PlaceTurbines:
190
189
  self.packing_polygons = MultiPolygon([])
191
190
 
192
191
  def initialize_packing(self):
193
- """run the turbine packing algorithm (maximizing plant capacity) to
192
+ """Run the turbine packing algorithm (maximizing plant capacity) to
194
193
  define potential turbine locations that will be used as design
195
194
  variables in the gentic algorithm.
196
195
  """
@@ -364,7 +363,7 @@ class PlaceTurbines:
364
363
  def fixed_charge_rate(self):
365
364
  """Fixed charge rate if input to the SAM WindPowerPD object, None if
366
365
  not found in inputs."""
367
- return self.wind_plant.sam_sys_inputs.get('fixed_charge_rate', None)
366
+ return self.wind_plant.sam_sys_inputs.get("fixed_charge_rate", None)
368
367
 
369
368
  @property
370
369
  @none_until_optimized
@@ -395,7 +394,8 @@ class PlaceTurbines:
395
394
  def convex_hull(self):
396
395
  """This is the convex hull of the turbine locations"""
397
396
  turbines = MultiPoint([Point(x, y)
398
- for x,y in zip(self.turbine_x, self.turbine_y)])
397
+ for x, y in zip(self.turbine_x,
398
+ self.turbine_y)])
399
399
  return turbines.convex_hull
400
400
 
401
401
  @property