energy_methods.offshore_cable_exposure#

Deterministic offshore-wind export cable outage exposure, with explicit units.

All generation inputs are MW average power per interval. A cable outage changes export transfer capacity; it does not change generation available at the farm. The method is a scenario calculation, NOT an observed or predicted outage.

class energy_methods.offshore_cable_exposure.CableExposure(available_wind_mwh, baseline_export_mwh, outage_export_mwh, baseline_curtailed_mwh, outage_curtailed_mwh, incremental_lost_export_mwh, outage_hours)[source]#

Bases: object

Energy-balance outputs in MWh over the complete supplied timeline.

Parameters:
  • available_wind_mwh (float)

  • baseline_export_mwh (float)

  • outage_export_mwh (float)

  • baseline_curtailed_mwh (float)

  • outage_curtailed_mwh (float)

  • incremental_lost_export_mwh (float)

  • outage_hours (float)

available_wind_mwh: float#
baseline_export_mwh: float#
outage_export_mwh: float#
baseline_curtailed_mwh: float#
outage_curtailed_mwh: float#
incremental_lost_export_mwh: float#
outage_hours: float#
energy_methods.offshore_cable_exposure.calculate_cable_exposure(wind_power_mw, *, export_capacity_mw, outage_start_interval, outage_intervals, outage_export_capacity_mw, timestep_hours=1.0)[source]#

Compare constrained transfer with and without a hypothetical cable outage.

At each interval, exported MW = min(available wind MW, available export MW). The outage changes network transfer capacity only during the specified interval window. Values represent interval-AVERAGE powers in MW, and output MWh is power multiplied by timestep_hours. No prices, topology inference, electrical losses, storage, reactive constraints or reliability probabilities are modeled. Baseline curtailment is explicitly preserved.

The requested outage window must fit wholly inside the input, rather than being silently truncated. Both end-points of the interval window are counted using the Python half-open convention [start, start + count).

Parameters:
  • wind_power_mw (Sequence[float])

  • export_capacity_mw (float)

  • outage_start_interval (int)

  • outage_intervals (int)

  • outage_export_capacity_mw (float)

  • timestep_hours (float)

Return type:

CableExposure