ElePwr_UnitTestResults


Overview

Unit Test Information
Module Definitions
Variable Range
ElePwr_Per1
ElePwr_Per1() b


Sheet 1: Unit Test Information

1.0a






















Nexteer EPS Unit Test Tool






Rev:2.7b












Name of Tester:Padmalatha Gudipally
Source files to be added to the .pjt file Must include path from 'Source Code Directory' setting on the Unit Test Tool Options dialog Include Files:

Code File(s) Under Test:Ap_ElePwr.c



Code File(s) Version:1



Module Design Document:Electric_Power_Consumption_MDD.docx



Module Design Document Version:2



Unit Test Plan Version:1



Optimization Level:Level 2



Compiler (CodeGen) Version:TMS470_4.9.5



Model Type:Excel Macro



Model Version:Nexteer EPS Unit Test Tool 2.7b/EPS Library 1.28



Special Test Requirements:




Test Date:6/6/2013



Comments:




Index of Tests:




Test Set upTest WorksheetsTest StatusRun TS

ElePwr_Per1ElePwr_Per1() b----
29
















































































































































































































































































Sheet 2: Module Definitions









































Nexteer EPS Unit Test Tool












Rev:2.7b












Module Definitions
Module Test Functions
Module Set/Read Variables
Module Function Stubs
Return TypeNameParameter Prototype
ScopeTypeNameDefault Value
Return TypeNameParameter Prototype
voidElePwr_Per1(void)
GfloatVecu_Volt_f32

voidRte_Call_ElePwr_Per1_CP0_CheckpointReached(void)




GfloatMtrVoltDax_Volt_f32

voidRte_Call_ElePwr_Per1_CP1_CheckpointReached(void)




GfloatMtrVoltQax_Volt_f32








GfloatMtrCurrDax_Amp_f32








GfloatMtrCurrQax_Amp_f32








GfloatElectricPower_Watt_f32








GfloatSupplyCurrent_Amp_f32








GfloatModInPower_Watt_D_f32








GfloatDropInPower_Watt_D_f32








Gfloatk_CntlrInResist_Ohm_f32








Gfloatk_PstcPowerLoss_Watt_f32





Sheet 3: Variable Range









































Nexteer EPS Unit Test Tool












Rev:2.7b
























Variable Range Definitions








Variable NameMax ValueMin Value








Vecu_Volt_f32










MtrVoltDax_Volt_f32










MtrVoltQax_Volt_f32










MtrCurrDax_Amp_f32










MtrCurrQax_Amp_f32










ElectricPower_Watt_f32










SupplyCurrent_Amp_f32










ModInPower_Watt_D_f32










DropInPower_Watt_D_f32










k_CntlrInResist_Ohm_f32










k_PstcPowerLoss_Watt_f32











Sheet 4: ElePwr_Per1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
ElePwr_Per1b29Vecu_Volt_f32ElectricPower_Watt_f32Rte_Call_ElePwr_Per1_CP0_CheckpointReached



MtrCurrDax_Amp_f32SupplyCurrent_Amp_f32Rte_Call_ElePwr_Per1_CP1_CheckpointReached



MtrCurrQax_Amp_f32




MtrVoltDax_Volt_f32




MtrVoltQax_Volt_f32




k_CntlrInResist_Ohm_f32




k_PstcPowerLoss_Watt_f32


Sheet 5: ElePwr_Per1() b

ElePwr_Per1TS--















bI/PI/PI/PI/PI/PI/PI/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionVecu_Volt_f32MtrCurrDax_Amp_f32MtrCurrQax_Amp_f32MtrVoltDax_Volt_f32MtrVoltQax_Volt_f32k_CntlrInResist_Ohm_f32k_PstcPowerLoss_Watt_f32ElectricPower_Watt_f32SupplyCurrent_Amp_f32Rte_Call_ElePwr_Per1_CP0_CheckpointReachedRte_Call_ElePwr_Per1_CP1_CheckpointReachedElectricPower_Watt_f32SupplyCurrent_Amp_f32Rte_Call_ElePwr_Per1_CP0_CheckpointReachedRte_Call_ElePwr_Per1_CP1_CheckpointReachedP/FCPU Cycles
1All Min50-220-20-2000--------3810.5117766496762.1023553299211--

2All Max3122022020200.0225--------8854.76444819912285.63756284513311--

3Vecu_Volt_f32=Min52525-210.0012---------19.6318850946-3.9263770189211--

4Vecu_Volt_f32=Max316550-430.0024---------91.2439078397572-2.9433518657986211--

5Vecu_Volt_f32=Pos258575-650.0036---------110.84781951084-4.433912780433611--

6MtrCurrDax_Amp_f32=Min60100-870.0048--------655.051115982092109.17518599701511--

7MtrCurrDax_Amp_f32=Max8220125-1090.00510---------853.264906724119-106.65811334051511--

8MtrCurrDax_Amp_f32=Pos10125150-12110.00612--------142.91631056759914.291631056759911--

9MtrCurrQax_Amp_f32=Min1210-220-14130.00714---------2255.95121135233-187.99593427936111--

10MtrCurrQax_Amp_f32=Max1430220-16150.00816--------2701.63245499716192.97374678551211--

11MtrCurrQax_Amp_f32=Max16500-18170.00918---------740.065441530622-46.254090095663811--

12MtrCurrQax_Amp_f32=Neg1870-50-3190.0120---------953.441320241323-52.968962235629111--

13MtrCurrQax_Amp_f32=Pos209050-5-10.01122---------405.856451892005-20.292822594600311--

14MtrVoltDax_Volt_f32=Min22110-25-20-30.01224---------1732.33574957001-78.742534071364111--

15MtrVoltDax_Volt_f32=Max24130-5020-50.0131--------2606.66263515926108.61094313163611--

16MtrVoltDax_Volt_f32=Zero26150-750-70.0143--------461.94449453097417.76709594349911--

17MtrVoltDax_Volt_f32=Neg28170-100-10-90.0155---------678.636649557821-24.237023198493611--

18MtrVoltDax_Volt_f32=Pos30190-12510-110.0167--------2986.2415307257999.541384357526311--

19MtrVoltQax_Volt_f32=Min7210-1502-200.0179--------6014.25790134636859.17970019233711--

20MtrVoltQax_Volt_f32=Max920-1754200.01811---------1001.40688094325-111.26743121591711--

21MtrVoltQax_Volt_f32=Zero1140-200600.01913--------227.62956798253320.693597089321211--

22MtrVoltQax_Volt_f32=Neg1360118-150.00515--------289.99974035763822.307672335202911--

23MtrVoltQax_Volt_f32=Pos15802210150.0117--------1038.1720396092169.211469307280711--

24k_CntlrInResist_Ohm_f32=Min171003312-13019--------686.70558631746440.394446253968511--

25k_CntlrInResist_Ohm_f32=Max191204414-150.0221--------947.57582875714349.872412039849611--

26k_CntlrInResist_Ohm_f32=Pos21140-1116-170.0123--------2225.01931824897105.95330086899911--

27k_PstcPowerLoss_Watt_f32=Min23160-2218-190.0120--------3041.20137714258132.22614683228611--

28k_PstcPowerLoss_Watt_f32=Max25180-33320.01425--------439.27059819361217.570823927744511--

29k_PstcPowerLoss_Watt_f32=Pos27200-44540.01615--------739.78149238878627.39931453291811--









































































































































































































Last modified October 12, 2025: Initial commit (0347a62)