From 3675c4d15a6a7092db57c5fa7dd02f8524b0422c Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Tue, 10 Sep 2024 16:21:30 +0200 Subject: [PATCH] Change to NoInit in ClockedWithDiscretizedContinuousController Fixes #4458. --- .../ClockedWithDiscretizedContinuousController.mo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController.mo b/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController.mo index 5e04140d94..85716a0ec2 100644 --- a/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController.mo +++ b/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController.mo @@ -28,8 +28,7 @@ model ClockedWithDiscretizedContinuousController Clocked.RealSignals.Sampler.Sample sample1 annotation (Placement(transformation(extent={{30,-26},{18,-14}}))); Modelica.Blocks.Continuous.PI PI( - initType=Modelica.Blocks.Types.Init.InitialOutput, - y_start=0, + initType=Modelica.Blocks.Types.Init.NoInit, T=0.1, k=110) annotation (Placement(transformation(extent={{-20,0},{0,20}})));