windkit.get_loss_table#

windkit.get_loss_table(table_name='dtu_default')[source]#

Get a DataFrame from the supported loss tables.

The loss table contains information about various types of losses. Mandatory fields of a loss table are: names and values of the losses (as a percentage of total energy [%]). Optional fields are: category, lower and upper bounds, default values, and descriptions.

The first rows of the dtu_default table:

loss_name

loss_percentage

loss_category

loss_lower_bound

loss_upper_bound

loss_default

description

turbine_availability

1.0

Availability

0

5

1.0

…

balance_plant_availability

0.0

Availability

0

5

0.0

…

grid_availability

0.5

Availability

0

5

0.5

…

electrical_operation

0.5

Electrical

0

5

0.5

…

wf_consumption

0.2

Electrical

0

5

0.2

…

Parameters:

table_name (str) – The name of the table to get. Default is ‘dtu_default’.

Returns:

The DataFrame containing the loss table.

Return type:

DataFrame

Notes

  • There is no fixed order of columns in a loss table. Methods work with the columns based on their names.

  • The names of the columns must follow the syntax shown in the example table above.

Examples

>>> get_loss_table('dtu_default')