Computes the net electricity supplied to the grid by subtracting auxiliary consumption from gross generation.

calculate_net_electricity_generation(gross_generation_mwh, auxiliary_consumption_mwh)

Arguments

gross_generation_mwh

Gross electricity generated during the monitoring period in MWh.

auxiliary_consumption_mwh

Auxiliary electricity consumption within the plant in MWh.

Value

Numeric vector of net electricity exported to the grid.

Examples

calculate_net_electricity_generation(1000, 50)
#> [1] 950