From b8fa4098c0538663d1d81efa7c2c8fb3b8380daa Mon Sep 17 00:00:00 2001 From: tobolar Date: Tue, 1 Sep 2026 13:38:54 +0200 Subject: [PATCH 1/3] Depends on SMArtInt 1.0.0 (still 'dev' branch) --- VDCWorkbenchModels/FMUs/DRLAgents/ResidualDRLgeoPFC.mo | 4 ++-- VDCWorkbenchModels/package.mo | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VDCWorkbenchModels/FMUs/DRLAgents/ResidualDRLgeoPFC.mo b/VDCWorkbenchModels/FMUs/DRLAgents/ResidualDRLgeoPFC.mo index 02e08e2..944ffc2 100644 --- a/VDCWorkbenchModels/FMUs/DRLAgents/ResidualDRLgeoPFC.mo +++ b/VDCWorkbenchModels/FMUs/DRLAgents/ResidualDRLgeoPFC.mo @@ -61,7 +61,7 @@ equation color={175,175,175}, thickness=0.5)); connect(sample1.y, unitDelay.u) annotation (Line(points={{-43.4,0},{-32,0},{-32,-20},{-27.2,-20}}, color={0,0,127})); - connect(evaluateNeuralNetwork.arrayOut[1, :], hold1.u) annotation (Line(points={{40,0},{48.8,0}}, color={0,0,127})); + connect(evaluateNeuralNetwork.y[1, :], hold1.u) annotation (Line(points={{41,0},{48.8,0}}, color={0,0,127})); connect(hold1[1].y, denormalize_steering.u) annotation (Line(points={{62.6,0},{70,0},{70,60},{74.4,60}}, color={0,0,127})); connect(hold1[2].y, denormalize_torque.u) annotation (Line(points={{62.6,0},{70,0},{70,-60},{76.4,-60}}, @@ -73,7 +73,7 @@ equation connect(sample1.y, multiplex2.u1) annotation (Line(points={{-43.4,0},{-32,0},{-32,3.6},{-1.2,3.6}}, color={0,0,127})); connect(unitDelay.y, multiplex2.u2) annotation (Line(points={{-13.4,-20},{-10,-20},{-10,-3.6},{-1.2,-3.6}}, color={0,0,127})); - connect(multiplex2.y, evaluateNeuralNetwork.arrayIn[1, :]) annotation (Line(points={{12.6,0},{20,0}}, color={0,0,127})); + connect(multiplex2.y, evaluateNeuralNetwork.u[1, :]) annotation (Line(points={{12.6,0},{18,0}}, color={0,0,127})); annotation ( Icon(coordinateSystem(preserveAspectRatio=false), graphics={ diff --git a/VDCWorkbenchModels/package.mo b/VDCWorkbenchModels/package.mo index 62343e6..735dce7 100644 --- a/VDCWorkbenchModels/package.mo +++ b/VDCWorkbenchModels/package.mo @@ -14,7 +14,7 @@ package VDCWorkbenchModels ModelicaServices(version="4.0.0"), PlanarMechanics(version="1.6.0"), VehicleInterfaces(version="2.0.1"), - SMArtInt(version="0.5.2"), + SMArtInt(version="1.0.0"), Credibility(version="0.2.0")), Documentation( revisions=" From b2eccc231eecd0bc59f1492d9e5dc4d7fcdb5d55 Mon Sep 17 00:00:00 2001 From: tobolar Date: Tue, 1 Sep 2026 14:03:30 +0200 Subject: [PATCH 2/3] Update dependencies (annotation 'uses') --- VDCWorkbenchModels/package.mo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/VDCWorkbenchModels/package.mo b/VDCWorkbenchModels/package.mo index 735dce7..57b974b 100644 --- a/VDCWorkbenchModels/package.mo +++ b/VDCWorkbenchModels/package.mo @@ -5,17 +5,17 @@ package VDCWorkbenchModels annotation ( preferredView = "info", - version = "0.3.0", + version="0.3.1", versionDate = "2026-08-21", dateModified = "2026-08-18", License="modelica://VDCWorkbenchModels/Resources/Licenses/LICENSE_VDCWorkbenchModels.txt", uses( - Modelica(version="4.0.0"), - ModelicaServices(version="4.0.0"), - PlanarMechanics(version="1.6.0"), - VehicleInterfaces(version="2.0.1"), + Modelica(version="4.1.0"), + ModelicaServices(version="4.1.0"), + PlanarMechanics(version="1.7.0"), + VehicleInterfaces(version="2.0.2"), SMArtInt(version="1.0.0"), - Credibility(version="0.2.0")), + Credibility(version="0.3.0")), Documentation( revisions=" From ecc97e9ffcd56308bef5d6fb3361ddb3b5ffaea2 Mon Sep 17 00:00:00 2001 From: tobolar Date: Tue, 1 Sep 2026 14:05:00 +0200 Subject: [PATCH 3/3] Shorten maxArcLength due to track changes in 6e6240a020b05a5931c88b1be4b103c636056e4c --- VDCWorkbenchModels/FMUs/ExportableModels/VehicleVDCGeoPFC_RL.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDCWorkbenchModels/FMUs/ExportableModels/VehicleVDCGeoPFC_RL.mo b/VDCWorkbenchModels/FMUs/ExportableModels/VehicleVDCGeoPFC_RL.mo index 588d42a..bc2a264 100644 --- a/VDCWorkbenchModels/FMUs/ExportableModels/VehicleVDCGeoPFC_RL.mo +++ b/VDCWorkbenchModels/FMUs/ExportableModels/VehicleVDCGeoPFC_RL.mo @@ -19,7 +19,7 @@ model VehicleVDCGeoPFC_RL import Modelica.Units.Conversions.from_deg; parameter String pathName = "Racetrack.mat" "File name of the path definition #RL"; - parameter Modelica.Units.SI.Distance maxArcLength = 155.0 "Max arc length of the path #RL" annotation(Evaluate=false); + parameter Modelica.Units.SI.Distance maxArcLength = 151.0 "Max arc length of the path #RL" annotation(Evaluate=false); parameter Modelica.Units.SI.Position path_x_init = 0.0 "Initial x position of CoG #RL"; parameter Modelica.Units.SI.Position path_y_init = 0.0 "Initial x position of CoG #RL"; parameter Modelica.Units.SI.Angle path_yaw_init = from_deg(0) "Initial yaw angle of CoG #RL";