Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Navigation
- Tecnomatix
- Forums
- Blogs
- Knowledge Bases
- Groups

- Siemens PLM Community
- Tecnomatix
- Plant Simulation
- Keep track of daily statistics over four weeks

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-17-2016 08:23 AM

Hello everyone,

I would like to observe and keep track of a buffer's daily statistics over four weeks.The problem is that I only get the final statistic at the end of the simulation (after four weeks).

I know that I can just set the Eventcontroller to one day at a time and extract the results from the table.

However, I hoped that there is also the possibility to do this automatically.

My first idea was to do the following (or use the logic of "while" instead):

*Simulationszeit:=eventController.simTime;**t := str_to_time("1:00:00:00.000");**Puffer.statistics(Auswertung);**if Simulationszeit > t then**Auswertung.yDim+1;**Puffer.statistics(Auswertung);**end;*

Thank you for your help,

David

Solved! Go to Solution.

5 REPLIES

Re: Keep track of daily statistics over four weeks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-17-2016 11:00 AM

you could try the timeSequence, no programming needed, set the distance to one day and specify the value you want to record

Steffen Bangsowfreelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net |

Re: Keep track of daily statistics over four weeks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-18-2016 09:59 AM

Thank you for your advice regarding using timeSequence. I read about it in other posts in this forum as well. However, I do not know how to use it. Unfortunately, I do not find a good explanation.

I would like to write the oberved statistics in a table to work with them in Excel.

Could give me an example if I wanted to keep track of my buffer2's statistic for several days?

Thank you,

David

Re: Keep track of daily statistics over four weeks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-18-2016 10:07 AM

Steffen Bangsowfreelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net |

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-18-2016 10:25 AM

look in the example, in your case would help a generator. The generator calls the method aufzeichnung with an interval of one hour, the statistics command writes the statistcs into the table auswertung (row by row).

Steffen Bangsowfreelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net |

Re: Keep track of daily statistics over four weeks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-18-2016 05:06 PM

Thank you so much. That's exactly what I needed. It makes my life way easier.

Follow Siemens PLM Software

© 2019 Siemens Product Lifecycle Management Software Inc