Cancel
Showing results for 
Search instead for 
Did you mean: 

Vehicle Distance Control Issue

Experimenter
Experimenter

Hi All,

I was experimenting with the distance control for vehicles and it looks really realistic. The only problem is that in some situations vehicles won't be released again when the front vehicle moves ahead and block the system for all times.

 

This seem to happen often after the front vehicle has changed the path segment while below distance. Maybe the distance sensor is not able to "watch" over to the next segment and forget to release the vehicle again? My method is as follows:

 

(UnderLimit:Boolean)
is
do
	if UnderLimit then
		?.Stopped := true;
	else
		?.Stopped := false;
	end;
end;

 

Does anybody know a working solution for this?

Vehicle to release.jpg

Vehicle still stopped.jpg

Thanks and best regards

Florian

11 REPLIES 11

Re: Vehicle Distance Control Issue

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Florian,

 

Can you post your model. Without model it is difficult to see what goes wrong.

The distance control looks to the next segment.

Many parameters are relevant, e.g. have the vehicles acceleration on, are there branches or junctions at the critical segments, what speed have the vehicles?

 

But I think your method is not correct. When the distance will be reached and you stop the second vehicle at the same time the distance will be exceeded. So a further distance event will be inserted which starts the second vehicle again.

 

Kind regards

Karola

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Vehicle Distance Control Issue

Experimenter
Experimenter

Unfortunately I can not publish this model but I have tested the required functionality in a small demo model and it works there as expected. I will continue investigating and let you know here as soon as I know the answer.

 

Thanks for your quick response.

Re: Vehicle Distance Control Issue

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

I would make it work with an observer.

So every time the condition distance condition is met the method triggers.

Question? Vehicle reaches a slower one. Stops,  car in-front moves, method triggers as soon as distance is again "safe". car behind moves, immidately reaches again.

 

Same loop over and over again.

 

Is this not the problem?

 

 

cortega@interlatin.com.mx
+52 (81) 10801310
InterLatin S de RL de CV

Re: Vehicle Distance Control Issue

Experimenter
Experimenter

Hi,

This problem was fixed in the meantime by the Siemens Support Team and should work now for Plant 11.x and 12.x.

 

Best Regards

Florian

 

Highlighted

Re: Vehicle Distance Control Issue

Hi

 

I have the same problem and I am currently using Plant Sim. v12.1

 

Are there a patch the I have forgot to install?

 

 

Re: Vehicle Distance Control Issue

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

 

we have released the patch 12.1.1 end of october.

 

Kind regards

Karola

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Vehicle Distance Control Issue

Hi Karola

 

Hmm. It still do not solves my problem. I have attached three screen shots, one of the code and two of the case.

 

The Case:

The Transporter (3), have just arrived at the track and has a destination.

 

The formost tugger (1), have a destination, and have just been waiting that transporter (3)  was moved in to the track that it currently are located on.

 

When the Tugger (1), have space to follow Transporter (3). The rear most tugger train (2) starts to shifts between pause / Not Pause. And this will jam the rest of the simulation.

 

 

Re: Vehicle Distance Control Issue

Experimenter
Experimenter
I have tested this in the meantime and have experienced the same behavior.

Seems to be a never ending loop.

Von meinem iPhone gesendet

Re: Vehicle Distance Control Issue

Siemens Phenom Siemens Phenom
Siemens Phenom

In my attached model the distance control with setting "pause" works. Can you please modify my model or post your model that I can see the endless loop.

 

Kind regards

Karola

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.