reV.losses.power_curve.PowerCurveLossesInput
- class PowerCurveLossesInput(specs)[source]
Bases:
object
Power curve losses specification.
This class stores and validates information about the desired losses from a given type of power curve transformation. In particular, the target loss percentage must be provided. This input is then validated to be used power curve transformation fitting.
- Parameters:
specs (dict) – A dictionary containing specifications for the power curve losses. This dictionary must contain the following keys:
target_losses_percent
An integer or float value representing the total percentage of annual energy production that should be lost due to the power curve transformation. This value must be in the range [0, 100].
The input dictionary can also provide the following optional keys:
transformation
- by default,horizontal_translation
A string representing the type of transformation to apply to the power curve. This sting must be one of the keys ofTRANSFORMATIONS
. See the relevant transformation class documentation for detailed information on that type of power curve transformation.
Methods
Attributes
Required keys in the input specification dictionary.
Target loss percentage due to transformation.
Power curve transformation.
- REQUIRED_KEYS = {'target_losses_percent'}
Required keys in the input specification dictionary.
- property transformation
Power curve transformation.
- Type:
PowerCurveTransformation