TPT Test Case Report: Controller_ExplEuler

1 Test Information

1.1 Meta Information

Test Case Name Controller_ExplEuler
Test Case ID 21
Test Result Passed
Execution started 10:48:42 02.03.2021
Assessment started 10:48:43 02.03.2021
Duration 3.363s (execution: 242ms, assessment: 3.121s)
Test Case Group Scenario1
TPT File M04_A.tptz
Directory .\..\testdata\M04_A_ProductionCodeESP64\ProductionCodeESP64_Dymola_Version_2022_Beta_1__\000_Scenario1\000_Controller_ExplEuler
Test Data Open Test Data
Execution Config M04_A_ProductionCodeESP64
Platform Config ProductionCodeESP64_Dymola_Version_2022_Beta_1__64_bit___2021_03_05
Platform Mapping ProductionCodeESP64

1.2 Assesslet Summary

Assesslet Name
Comp_Controller_ExplEuler_64-bit [ ID=38 ]
Check EFMI Error Signal [ ID=39 ]
M04_A_algCode_MinMax [ ID=41 ]

2 Signals

2.1 System Constants

2.2 Assessments

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

2.3 Inputs

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

2.4 Locals/Function Parameters

2.5 Outputs

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

2.6 Measurements

2.7 Parameters

Name Value From To Comment
J_M 0.01 0s 20s Moment of inertia
Ni_PI 1.34 0s 20s Ni*Ti is time constant of anti-windup compensation
Ti_PI 1.25 0s 20s Time constant of Integrator block
_PI_I_k_ 0.8 0s 20s Integrator gain
_PI_gainTrack_k_ -0.010222858311183806 0s 20s Gain value multiplied with input signal
_PI_yMin_ -1230.0 0s 20s Lower limit of output
_approxPlant_driveline_J_M_ 1.0E-4 0s 20s Moment of inertia
_filter_alpha_ 0.6435942529055827 0s 20s Frequency correction factor for normalized filter
_filter_w_ 322.1674435420177 0s 20s
_gear1_k_ 0.1 0s 20s Gain value multiplied with input signal
c_res 4710.0 0s 20s Resulting stiffnes for road and powertrain ~1/((1/c_mu)+1/c)
d_res 1.57 0s 20s Damping constant
f_cut 33.0 0s 20s Cut-off frequency
gearRatio 10.0 0s 20s Gear ratio
k_PI -73.0 0s 20s Gain of controller
k_accCor -0.0101615216387814 0s 20s Gain value multiplied with input signal
tauM_max 1230.0 0s 20s Max motor torque

3 Assesslets

3.1 Comp_Controller_ExplEuler_64-bit [ ID=38 ]

Definition of Comp_Controller_ExplEuler_64-bit
Reference signal source Reference file: C:\Data\EMPHYSIS Test Cases\ESP\Dymola\M04_A\ReferenceData\Controller_ExplEuler.csv
Reference suffix _ref
Difference to hose suffix _diff
Difference to reference suffix _diffToRef
Mapping for scaling (LSB) ProductionCodeESP64 (<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 1e-06 1.0E-6 1.0 0

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

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



Creation Time: 10:48:46 02.03.2021, TPT Version: 16