geopulse.devices.rectifier

Bridge-rectifier model under DC bias — STUB (WP3).

Classes

RectifierModel()

Full-wave bridge rectifier under superimposed GIC bias (WP3).

class geopulse.devices.rectifier.RectifierModel[source]

Bases: DeviceModel

Full-wave bridge rectifier under superimposed GIC bias (WP3).

inject_gic(time_s, gic_A, ac_voltage_V=0.0, ac_frequency_Hz=50.0)[source]

Inject a GIC time series into the device and compute the response.

Parameters:
  • time_s (ndarray) – Time array in seconds. Shape (n_times,).

  • gic_A (ndarray) – GIC current in Amperes. Shape (n_times,).

  • ac_voltage_V (float) – Nominal AC voltage (transformers only). Default: 0.0.

  • ac_frequency_Hz (float) – AC system frequency in Hz. Default: 50.0.

Return type:

DeviceResponse

Returns:

DeviceResponse – Full response including harmonics and THD.