|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=2881
! G4 `# O- J( X0 J: J9 i
: `* @6 C0 i& p. C/ K7 k: ]下载模型可以去原帖上面进行~~~% f, ~* q% f' a0 D" q4 E- ?
( V3 ^. `+ [; X4 o# j节选里面的模型作用介绍
% F/ Z. x) n4 ?; X+ D2 }“Hi community!
8 @( Z5 E4 U" y0 ^ 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.& o, ]# a# Q" g8 M* L( Y
" I8 o' g. k) f4 s6 ^: f
$ v* v0 V2 E- n+ y& l: x6 F! K5 W
Restrictions for this beta:: l9 Z4 V, \: J& c5 L; l- x1 A* {
- no gui
" G% V( r+ y5 P y! _ - only for 64 bit+ R0 i2 h2 `4 W; e6 N. d4 G# y, u6 _
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit' j1 }8 c: a# M
. P: T5 d% T r4 y
1 H( a8 ]$ s0 O; t _7 ?1 g6 X) @
How to install?. O( Q: T5 ^' t: l( C( ?& p
Unzip file to modules folder in flexsim.4 I& @1 b' K4 s+ ]$ x+ m
# N7 d: i# e5 ^: j8 }2 u& x
0 o9 ^. ]/ w8 f How to use?
7 v: i' o. z" W2 y; f9 k# I) L6 a Z Just drag your new HeatmapTicker object into your model. That's it.5 N; k( ]- W, Y, v# O
4 c, e) X* {+ X$ w0 x
1 v1 z6 ]$ L. A What does this module?
/ Z( g3 N( \( G- I/ c 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.# p+ o; P# y7 v; u( @' w
Which settings options are available?
) F# d3 w$ J* a 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:
2 l) r+ e& k# d5 U* f8 D/ l - ticktime -> time interval to add the actual location of your taskexecuters
2 k1 V2 R7 Z9 ?$ C - gridsizeX -> area in x to summarize locations
3 E) s! O3 r4 _ c0 Q - gridsizeY -> area in y to summarize locations
$ T U4 M" g9 { M - sizeZ -> if greater than 0, your heatmap goes up in the sky , v4 R% F* o1 U! ]1 {. H+ x" P
- objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)
( [8 H5 x+ u) r9 ]( Y* \! t - mesh -> heatmap drawing, don't touch& q7 f; e: \- l, U9 i4 `$ J9 w4 c& S
You can make you heatmap invisible if you use the flexsim command switch_hideshape./ Q' Z( q( `- T! j/ R
1 ~ z+ i6 i" F/ w/ k' B
$ i! o' m/ n# F4 I
Hints:; u! M+ W3 x' K
- very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage
6 i/ |, R. @" N - only taskexecuters in the model tree will be recognized
# u9 H5 V6 k- |/ ?) s - only used locations will be stored -> no restrictions for locations5 G8 j o4 q( x$ S
- the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible
/ d$ r5 ?: W1 _
7 R8 @& y/ e4 I I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free? H# J$ Q1 U7 h# o/ A2 R
” |
|