From 63936316116e2ba04216df16e73f64d340903b0a Mon Sep 17 00:00:00 2001 From: "VKMTHD\\haraldmartini" <harald.martini@student.tugraz.at> Date: Wed, 9 Nov 2022 09:24:27 +0100 Subject: [PATCH] write n_gbx_in_avg in ATGearbox, change order of T_gbx_in / -out and n_gbx_in / -out --- .../VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs | 1 + VectoCore/VectoCore/OutputData/ModalDataContainer.cs | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs index 087876ce24..0ff958d56c 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs @@ -543,6 +543,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl container[ModalResultField.P_gbx_in] = CurrentState.InTorque * avgInAngularSpeed; container[ModalResultField.P_gbx_shift_loss] = CurrentState.PowershiftLoss.DefaultIfNull(0) * avgInAngularSpeed; container[ModalResultField.n_gbx_out_avg] = avgOutAngularSpeed; + container[ModalResultField.n_gbx_in_avg] = avgInAngularSpeed; container[ModalResultField.T_gbx_out] = CurrentState.OutTorque; container[ModalResultField.T_gbx_in] = CurrentState.InTorque; diff --git a/VectoCore/VectoCore/OutputData/ModalDataContainer.cs b/VectoCore/VectoCore/OutputData/ModalDataContainer.cs index ef66ce6b93..8b5242c660 100644 --- a/VectoCore/VectoCore/OutputData/ModalDataContainer.cs +++ b/VectoCore/VectoCore/OutputData/ModalDataContainer.cs @@ -669,10 +669,13 @@ namespace TUGraz.VectoCore.OutputData ModalResultField.P_gbx_in, ModalResultField.P_gbx_loss, ModalResultField.P_gbx_inertia, - ModalResultField.n_gbx_out_avg, + ModalResultField.n_gbx_in_avg, - ModalResultField.T_gbx_out, + ModalResultField.n_gbx_out_avg, + ModalResultField.T_gbx_in, + ModalResultField.T_gbx_out, + // retarder ModalResultField.P_retarder_in, ModalResultField.P_ret_loss, -- GitLab