COMPUTES THE PACK POWER CHARGE/CHARGE AND RMS

Splits a pack-power-vs-time signal into its charge (positive) and discharge (negative) components and computes the overall RMS power. Use this worker to characterize battery pack loading from time-series power data acquired during test or simulation.

When to use

Tagged: battery, charge, discharge, pack_power, rms, signal_split, time_series.

Inputs

Label ID Type Default Required Description
Pack Power Vs Time pack_power vector Time-series vector of battery pack power vs. time (watts or kilowatts); required — each element is the instantaneous pack power at the corresponding time step, with positive values indicating charge and negative values indicating discharge.
Time Scale Factor time_sf scalar 3600   Scalar scale factor applied to the time axis to convert raw time units to hours (default 3600 converts seconds → hours); adjust if the input time vector is already in hours (set to 1) or in milliseconds (set to 3,600,000).

Outputs

Label ID Type Description
Packpower Charge packpower_charge vector Time-series vector of pack power during charging intervals only (positive power values retained, negative values zeroed/clipped); same power units as the input signal, time axis in hours.
Packpower Discharge packpower_discharge vector Time-series vector of pack power during discharging intervals only (negative power values retained as magnitudes or sign-preserved, positive values zeroed/clipped); same power units as the input signal, time axis in hours.
Packpower Rms packpower_rms scalar Scalar RMS (root-mean-square) of the full pack power signal over the entire time history; same power units as the input, useful as a single-number characterization of average power loading.

Disciplines

  • data.signal_processing
  • data.statistics
  • engineering.battery

Auto-generated from platform schema. Worker id: battery_get_pack_power_charge_discharge. Schema hash: 642efe5ac3c4. Hand-curated docs in workerexamples/ override this page when present.