feedinlib.powerplants.WindPowerPlant¶
-
class
feedinlib.powerplants.
WindPowerPlant
(model=<class 'feedinlib.models.WindpowerlibTurbine'>, **attributes)[source]¶ Class to define a standard set of wind power plant attributes.
The WindPowerPlant class serves as a data container for wind power plant attributes. Actual calculation of feed-in provided by the wind power plant is done by the chosen wind power model. So far there are two wind power models,
WindpowerlibTurbine
andWindpowerlibTurbineCluster
. TheWindpowerlibTurbine
model should be used for single wind turbines, whereas theWindpowerlibTurbineCluster
model can be used for wind farm and wind turbine cluster calculations.Parameters: - model (A subclass or instance of subclass of
feedinlib.models.WindpowerModelBase
) –The model parameter defines the feed-in model used to calculate the wind power plant feed-in. It defaults to
WindpowerlibTurbine
.model is used as the model parameter for
Base
. - **attributes – Wind power plant parameters. See power_plant_parameters parameter
in respective model’s
feedin()
method for further information on the model’s required and optional plant parameters.
Methods
__init__
([model])feedin
(weather[, scaling])Calculates wind power plant feed-in in Watt. Attributes
nominal_power
Nominal power of wind power plant in Watt. required
The power plant parameters the specified model requires. -
feedin
(weather, scaling=None, **kwargs)[source]¶ Calculates wind power plant feed-in in Watt.
The feed-in can further be scaled by the nominal power of the wind power plant using the scaling parameter.
This method delegates the actual computation to the model’s meth:feedin method while giving you the opportunity to override some of the inputs used to calculate the feed-in. See model’s
feedin()
method for further information on feed-in calculation.Parameters: - weather – Weather data to calculate feed-in. Check the weather parameter
of the respective model’s
feedin()
method for required weather data parameters and format. - scaling (str) – Specifies what feed-in is scaled by. Possible option is ‘nominal_power’. Defaults to None in which case feed-in is not scaled.
- **kwargs – Keyword arguments for respective model’s feed-in calculation.
Check the keyword arguments of the model’s
feedin()
method for further information.
Returns: Series with wind power plant feed-in in Watt.
Return type: - weather – Weather data to calculate feed-in. Check the weather parameter
of the respective model’s
-
nominal_power
¶ Nominal power of wind power plant in Watt.
See
nominal_power
attribute of your chosen model for further information on how the nominal power is derived.
-
required
¶ The power plant parameters the specified model requires.
Check the model’s
power_plant_requires
attribute for further information.
- model (A subclass or instance of subclass of