*BATTERY_GET_SOC_INCREMENTAL_DROP_TIMESTATES

Description: Computes the SOC Incremental drop times

Syntax: battery_get_soc_incremental_drop_timestates(soc,increment,include_offset)

Inputs
ID Name Type Default Remarks
1 State of Charge Signal (SOC) vector    
2 Drop increment scalar   The charge value that drops below this factor to the previous value, is considered a drop
3 Include Offset select   Location where the data is to be inserted
Outputs
ID Name Type Remarks
1   dataset  

*BATTERY_GET_PACK_POWER_CHARGE_DISCHARGE

Description: Computes the Pack Power charge/charge and RMS

Syntax: battery_get_pack_power_charge_discharge(pack_power,time_sf)

Inputs
ID Name Type Default Remarks
1 Pack Power vs Time vector    
2 Time Scale Factor scalar   Scale factor for time. The default is 3600 to covert Time from seconds to hour
Outputs
ID Name Type Remarks
1   vector  
2   vector  
3   scalar