ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > Downloads > Models > User Concept
Downloads

Latest Files
Latest Files
Most Popular Files
Most Popular Files
Top Contributors
Top Contributors
Tom David 47
Tyson Nordgren 35
Paul Toone 31
Matt Long 29
Phil BoBo 18
Regan Blackett 16
Cliff King 14
Cameron Pluim 11
Alex Christensen 8
Brandon Peterson 6

Uploaded files must be in one of the following formats: zip rar jpg jpeg jpg2 gif png pdf fsm xls xlsx doc docx ppt pptx

Please no copyrighted material without author's permission!!
  
Navigation
Main | Category Tree | Stats
Downloads [Download Sample_IntervalQueueResults_TD]
File Name: Sample_IntervalQueueResults_TD (41.8 KB) Download
Author: Tom David)
Date Added: 01-25-2008
Downloads: 1521
Grade: Not Rated
Description
This is a small and simple example how to collect results from a queue in a Global Table and display the results in a line graph.

The special thing in this model is that the data for the queue are collected for an interval (600 s User Event UserEventCollectQueueResults) where in this interval every 30 s (User Evnet UserEventCollectIntervalData) the data get collected (Global Table IntervalResults).
After the 600s the average of the collected data are calculated and written to the Global Table QueueResults.

The main code is in the User Events UserEventCollectIntervalData/UserEventCollectQueueResults, the Global Tables IntervalResults/QueueResults and the Global Variables giIntervalDataCounter/giQueueResultsCounter are used.

The line graph is made with three Recorder objets which are just over each other. This graph is also included in the Model Control GUI under Results in an ortho view.


Attention:
Do not delete or rename the object Logo_FlexsimD, because otherwise the model will not work correct. Also do not rename, delete or rerank other objects.

Path:
\userprojects\SampleModels\

Files:
Sample_IntervalQueueResults_TD


Tom David
aka
tom the (A)tom

Flexsim Version: v5.02
Images
Ben Wilson on 10-02-2008
Downloads [Download Sample_IntervalQueueResults_TD]


Comments

DownloadsII 5.1.2 by CyberRanger & Jelle
Based on ecDownloads 4.1 © Ronin

All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.