From 146a8a72705bda6eb5865e9ed69f94c42693d45b Mon Sep 17 00:00:00 2001 From: tobolar Date: Thu, 24 Sep 2026 13:50:31 +0200 Subject: [PATCH 1/2] Remove connection to itself connector --- .../Blocks/MapFmuOutputsBusSignals.mo | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/VDCWorkbenchModels/Utilities/Blocks/MapFmuOutputsBusSignals.mo b/VDCWorkbenchModels/Utilities/Blocks/MapFmuOutputsBusSignals.mo index f088997..343c8ec 100644 --- a/VDCWorkbenchModels/Utilities/Blocks/MapFmuOutputsBusSignals.mo +++ b/VDCWorkbenchModels/Utilities/Blocks/MapFmuOutputsBusSignals.mo @@ -215,23 +215,21 @@ equation index=-1, extent={{-3,-6},{-3,-6}}, horizontalAlignment=TextAlignment.Right)); - connect(orientation_error, orientation_error) - annotation (Line(points={{110,20},{110,20}}, color={0,0,127})); connect(calc_orientation_error.u1, chassisBus.yawAngle) annotation (Line( - points={{-22,26},{-42,26},{-42,90},{-40,90}}, color={0,0, - 127}), Text( - string="%second", - index=1, - extent={{-6,3},{-6,3}}, - horizontalAlignment=TextAlignment.Right)); + points={{-22,26},{-42,26},{-42,90},{-40,90}}, color={0,0,127}), + Text( + string="%second", + index=1, + extent={{-6,3},{-6,3}}, + horizontalAlignment=TextAlignment.Right)); connect(calc_orientation_error.u2, motionDemandBus.psi_path) annotation (Line( points={{-22,14},{-40,14},{-40,-14},{-58,-14},{-58,-18},{-60,-18},{-60,-20}}, color={0,0,127}), Text( - string="%second", - index=1, - extent={{-6,3},{-6,3}}, - horizontalAlignment=TextAlignment.Right)); + string="%second", + index=1, + extent={{-6,3},{-6,3}}, + horizontalAlignment=TextAlignment.Right)); connect(calcVelocityError.chassisBus, chassisBus) annotation (Line( points={{-20,64},{-40,64},{-40,90}}, color={255,204,51}, From a29b039bfae790e0a33c0ee71a2298969cc11045 Mon Sep 17 00:00:00 2001 From: tobolar Date: Thu, 24 Sep 2026 13:50:52 +0200 Subject: [PATCH 2/2] Remove unused 'import' --- .../Powertrain/Components/SimpleBatteryAging.mo | 1 - 1 file changed, 1 deletion(-) diff --git a/VDCWorkbenchModels/VehicleComponents/Powertrain/Components/SimpleBatteryAging.mo b/VDCWorkbenchModels/VehicleComponents/Powertrain/Components/SimpleBatteryAging.mo index 0a02463..3a7e008 100644 --- a/VDCWorkbenchModels/VehicleComponents/Powertrain/Components/SimpleBatteryAging.mo +++ b/VDCWorkbenchModels/VehicleComponents/Powertrain/Components/SimpleBatteryAging.mo @@ -1,7 +1,6 @@ within VDCWorkbenchModels.VehicleComponents.Powertrain.Components; model SimpleBatteryAging "Simple battery model based on a inner resistance and SOC_OCV table and aging parameterization" - import Modelica.Math.exp; parameter VDCWorkbenchModels.Utilities.Types.StateOfCharge SOC_init = 1 "Initial value of SOC" annotation (Dialog(group="Initialization"));