|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=2881
% w6 P- H! _* w; j1 G8 k8 h- y6 j* N8 C8 H( C' e* I" s
下载模型可以去原帖上面进行~~~
" W! ]' W, _; P- ^: A J& L! o) W& r- ^8 ]! B
节选里面的模型作用介绍! ?: K- ? a: p
“Hi community!
3 n: i( L6 R( Q 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.
4 G/ Q8 x+ d# c. U8 J
( n8 f `0 h, q& k7 D
, `. [6 T2 u. r# y# ]& _! f Restrictions for this beta:' q& Z5 ~& [8 _7 ~% X% P4 m* W& U' i
- no gui! F; ?9 T' C/ H( C+ y
- only for 64 bit/ C4 Z) D. [: e7 I
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit
$ g. T: K! V. y8 o4 a
7 i0 H2 `+ W0 x5 k
2 |; h6 x- j& y( ?) H( m' G How to install?
/ [3 V, ~/ r7 O) Q/ \ Unzip file to modules folder in flexsim.
( J( Y6 P8 m8 o O- X5 l
y0 Y# h& G# }) Y L% s# e, {" h0 w' R8 R. z- C2 i5 D
How to use?
+ Y" \+ E; m* l. z: a0 e. h4 J Just drag your new HeatmapTicker object into your model. That's it.! d: }/ K4 s/ k
. F/ y( j- t; }- [/ ^
8 Q9 _( V, j0 Z- g+ s7 C4 F What does this module?# G) ?% B8 C' o' |& 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. u5 D6 d+ I* i" F: @5 A
Which settings options are available?* y! [, {& {! `1 u/ g T! {( i
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:
! `6 i! P( C4 N - ticktime -> time interval to add the actual location of your taskexecuters3 D1 e0 K1 ]9 w6 r% b
- gridsizeX -> area in x to summarize locations3 j g" H, k$ C) { B. c- g8 B! S$ |. N
- gridsizeY -> area in y to summarize locations; w! [3 k* E7 r. g
- sizeZ -> if greater than 0, your heatmap goes up in the sky
0 ?: R5 {# ?5 g1 g - objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added); m" f( y7 d1 x0 C* S7 R/ x
- mesh -> heatmap drawing, don't touch
& V. Z) ~. a1 i) \, G: Q0 O! R You can make you heatmap invisible if you use the flexsim command switch_hideshape.7 Z- `- R3 I, A+ H' n
# u6 o* Y" O! I2 g: i; V: d$ n1 r
7 Z, a! ]) W& {8 \& e$ C: q
Hints:
( r5 v' c0 d# b. @+ ^ y - very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage
* k0 n1 l7 f# E6 N - only taskexecuters in the model tree will be recognized
! u) N5 \ c% j* } - only used locations will be stored -> no restrictions for locations: r- b# }" G& {
- the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible7 q) n" i, b s P3 d. m; r
2 J5 I2 |( ?" X( u: S7 n8 [! z
I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free? 8 g' |! S8 l2 ~/ o# |1 q" L
” |
|