|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=2881* G6 g: X* {/ N `
9 Q6 x4 J( J1 c' W$ V
下载模型可以去原帖上面进行~~~
d' S; A( m" ~+ u2 z; a3 k
Y J: T8 D! G& J% m' n( k' \节选里面的模型作用介绍7 ]3 r; c; o& ^
“Hi community!9 G8 A k* u. \
I've a little something for you ;-) I've developed a little module to show a heatmap in our models. It's brandnew and still beta but I'm interested in our opinion.! t( K0 z! @1 i# m0 {( j r" M5 r
! p2 n; d" ^ r6 S1 E$ p$ H- W$ {, D, Z: K1 z+ L V
Restrictions for this beta:
( F- ?3 l" w3 X# u! N - no gui( X8 J9 {) F S
- only for 64 bit% H3 D8 B, a3 N/ y5 H7 v
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit! s# | k) D; `1 V0 Q- z3 C6 ?) e5 o
2 T$ V& O* p2 G! G4 u6 B) h1 T
1 T$ B% `0 d! U$ M How to install?- e, w! f5 \6 q" B2 C% N2 Q
Unzip file to modules folder in flexsim.
9 l, y [2 @- A% U) V& m. B# P
) ?+ K# S! n! O" I+ r! O, |8 e9 g2 y
How to use?5 x& q z$ r' I1 Q% ?
Just drag your new HeatmapTicker object into your model. That's it." j- s9 o5 C% r' z
% k, |* G* m, m7 S+ K
& a( x# K- P1 |* W4 ~6 v What does this module?
4 t$ c* K6 R5 m; k: Q+ f1 a# T @* ?; {' _ This module draw a heatmap in your model. It collects the location of your taskexecuters for each tick of the heatmapticker. This shows you how often a location was used. Red means a hot area and blue a cold area." Q& f2 y7 R' w+ ?8 P9 d3 e2 }3 X
Which settings options are available?
n# v8 l5 b/ d) F! | Even without a gui you have several options to configure your heatmap. You have to access your heatmapticker with the tree view. The settings are in the variables node:. B% x( b/ v, X; M% f
- ticktime -> time interval to add the actual location of your taskexecuters
1 ~$ z" D$ [; i- u' W; u - gridsizeX -> area in x to summarize locations
5 L+ n" `( C5 X X& `2 B& v! N - gridsizeY -> area in y to summarize locations
6 X9 y# l+ a2 I) A - sizeZ -> if greater than 0, your heatmap goes up in the sky
; \3 x/ x4 E1 W9 |- I - objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)
8 y. S1 h: F( M+ E2 O/ {5 Y9 \, F* ^ O - mesh -> heatmap drawing, don't touch" R. O) [- J. ]& o
You can make you heatmap invisible if you use the flexsim command switch_hideshape.$ @* H- q! E* Q. e/ d
' V5 F7 Y* `& `, N. d5 t/ r, q! J& W( S% ^
Hints:1 B- T1 H# p( G1 t0 J0 z* I* v( h
- very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage
! V; G9 V6 i+ P8 x# i# ]1 g - only taskexecuters in the model tree will be recognized" i. u7 N$ G0 W3 @ Q W a
- only used locations will be stored -> no restrictions for locations5 {( _) Q l6 {% X+ l2 y. i
- the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible V' n9 j- \' S* z4 H' @3 Y, }! f/ q9 C5 O
9 J# \. v1 ~/ u/ U3 \0 v I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free?
- v S B T. a8 m” |
|