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:48:47 02.03.2021
Assessment started 10:48:48 02.03.2021
Duration 1.383s (execution: 349ms, assessment: 1.034s)
Test Case Group Scenario2
TPT File M04_A.tptz
Directory .\..\testdata\M04_A_ProductionCodeESP64\ProductionCodeESP64_Dymola_Version_2022_Beta_1__\001_Scenario2\000_Controller_ExplEuler_ClosedL
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
Check EFMI Error Signal [ ID=39 ]
Comp_Controller_ExplEuler_ClosedLoop_64-bit [ ID=40 ]
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 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.01 0s 30s Moment of inertia
Ni_PI 1.34 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.8 0s 30s Integrator gain
_PI_gainTrack_k_ -0.010222858311183806 0s 30s Gain value multiplied with input signal
_PI_yMin_ -1230.0 0s 30s Lower limit of output
_approxPlant_driveline_J_M_ 1.0E-4 0s 30s Moment of inertia
_filter_alpha_ 0.6435942529055827 0s 30s Frequency correction factor for normalized filter
_filter_w_ 322.1674435420177 0s 30s
_gear1_k_ 0.1 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.57 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.0101615216387814 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_64-bit [ ID=40 ]

Definition of Comp_Controller_ExplEuler_ClosedLoop_64-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) 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 < 30s}

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



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