TPT Test Case Report: Controller_ExplEuler_ClosedLoop

1 Test Information

1.1 Meta Information

Test Case Name Controller_ExplEuler_ClosedLoop
Test Case ID 23
Test Result Passed
Execution started 10:49:08 02.03.2021
Assessment started 10:49:09 02.03.2021
Duration 1.65s (execution: 398ms, assessment: 1.252s)
Test Case Group Scenario2
TPT File M04_A.tptz
Directory .\..\testdata\M04_A_ProductionCodeESP32\ProductionCodeESP32_Dymola_Version_2022_Beta_1__\001_Scenario2\000_Controller_ExplEuler_ClosedL
Test Data Open Test Data
Execution Config M04_A_ProductionCodeESP32
Platform Config ProductionCodeESP32_Dymola_Version_2022_Beta_1__64_bit___2021_03_05
Platform Mapping ProductionCodeESP32

1.2 Assesslet Summary

Assesslet Name
Check EFMI Error Signal [ ID=39 ]
M04_A_algCode_MinMax [ ID=41 ]
Comp_Controller_ExplEuler_ClosedLoop_32-bit [ ID=43 ]

2 Signals

2.1 System Constants

2.2 Assessments

Name Value From To Comment
M_motor_diff 0.0 0s 30s
M_motor_ref 0s 30s

2.3 Inputs

Name Initial Value Value From To Comment
M_motor 0.0 0s 30s
block_fake_signal_variable_anchor 0 NO_ERROR (0) 0s 30s

2.4 Locals/Function Parameters

2.5 Outputs

Name Initial Value Value From To Comment
M_desired 0.0 0s 30s
wRel 0.0 0s 30s

2.6 Measurements

2.7 Parameters

Name Value From To Comment
J_M 0.009999999776482582 0s 30s Moment of inertia
Ni_PI 1.340000033378601 0s 30s Ni*Ti is time constant of anti-windup compensation
Ti_PI 1.25 0s 30s Time constant of Integrator block
_PI_I_k_ 0.800000011920929 0s 30s Integrator gain
_PI_gainTrack_k_ -0.01022285781800747 0s 30s Gain value multiplied with input signal
_PI_yMin_ -1230.0 0s 30s Lower limit of output
_approxPlant_driveline_J_M_ 9.999999747378752E-5 0s 30s Moment of inertia
_filter_alpha_ 0.6435942649841309 0s 30s Frequency correction factor for normalized filter
_filter_w_ 322.1674499511719 0s 30s
_gear1_k_ 0.10000000149011612 0s 30s Gain value multiplied with input signal
c_res 4710.0 0s 30s Resulting stiffnes for road and powertrain ~1/((1/c_mu)+1/c)
d_res 1.5700000524520874 0s 30s Damping constant
f_cut 33.0 0s 30s Cut-off frequency
gearRatio 10.0 0s 30s Gear ratio
k_PI -73.0 0s 30s Gain of controller
k_accCor -0.010161521844565868 0s 30s Gain value multiplied with input signal
tauM_max 1230.0 0s 30s Max motor torque

3 Assesslets

3.1 Comp_Controller_ExplEuler_ClosedLoop_32-bit [ ID=43 ]

Definition of Comp_Controller_ExplEuler_ClosedLoop_32-bit
Reference signal source Reference file: C:\Data\EMPHYSIS Test Cases\ESP\Dymola\M04_A\ReferenceData\Controller_ExplEuler_ClosedLoop.csv
Reference suffix _ref
Difference to hose suffix _diff
Difference to reference suffix _diffToRef
Mapping for scaling (LSB) ProductionCodeESP32 (<Use mapping from platform>)
Definition of signals to compare
Variable Reference Name Time Tolerance Absolute Tolerance LSB Tolerance Relative Tolerance [%] Scaling Max deviation from reference signal
M_motor M_motor 0.001 0.01 1.0 0

Comparison between M_motor and M_motor_ref, range {0s <= t < 30s}

Figure 1: Comparison between M_motor and M_motor_ref, range {0s <= t < 30s}



Creation Time: 10:49:10 02.03.2021, TPT Version: 16