thermal_cable_model.loads — Load Profiles
Dynamic electrical load (current) profiles.
Supports constant, cyclic, arbitrary time-series, and CSV import.
- class LoadProfile[source]
Bases:
objectPiece-wise-linear current profile I(t).
- Parameters:
times (array-like) – Monotonically increasing time stamps [s].
currents (array-like) – RMS current values [A] at each time stamp.
- classmethod constant(current_a, duration_s)[source]
Constant current for a given duration.
- Parameters:
- Return type:
- classmethod cyclic(peak_current, base_current, period_s, duty_cycle, n_cycles)[source]
Rectangular on/off cyclic load.
- Parameters:
- Return type: