# reV.losses.power_curve.HorizontalTranslation

class HorizontalTranslation(power_curve)[source]

Utility for applying horizontal power curve translations.

The mathematical representation of this transformation is:

$P_{transformed}(u) = P_{original}(u - t),$

where $$P_{transformed}$$ is the transformed power curve, $$P_{original}$$ is the original power curve, $$u$$ is the wind speed, and $$t$$ is the transformation variable (horizontal translation amount).

This kind of power curve transformation is simplistic, and should only be used for a small handful of applicable turbine losses (i.e. blade degradation). See Warnings for more details.

The losses in this type of transformation are distributed primarily across region 2 of the power curve (the steep, almost linear, portion where the generation rapidly increases):

power_curve

The “original” input power curve.

Type:

PowerCurve

Warning

This kind of power curve translation is not generally realistic. Using this transformation as a primary source of losses (i.e. many different kinds of losses bundled together) is extremely likely to yield unrealistic results!

Abstract Power Curve Transformation class.

Parameters:

power_curve (PowerCurve) – The turbine power curve. This input is treated as the “original” power curve.

Methods

 apply(transformation_var) Apply a horizontal translation to the original power curve.

Attributes

 bounds true Bounds on the power curve shift (different from the optimization boundaries) optm_bounds Bounds for scipy optimization, sometimes more generous than the actual fit parameter bounds which are enforced after the optimization.
apply(transformation_var)[source]

Apply a horizontal translation to the original power curve.

This function shifts the original power curve horizontally, along the “wind speed” (x) axis, by the given amount. Any power above the cutoff speed (if one was detected) is truncated after the transformation.

Parameters:

transformation_var (float) – The amount to shift the original power curve by, in wind speed units (typically, m/s).

Returns:

PowerCurve – An new power curve containing the generation values from the shifted power curve.

property bounds

true Bounds on the power curve shift (different from the optimization boundaries)

Type:

tuple

property optm_bounds

Bounds for scipy optimization, sometimes more generous than the actual fit parameter bounds which are enforced after the optimization.