|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=2881
`% J8 v) Q/ R: Q4 R# z9 u/ _) A$ o" ~
下载模型可以去原帖上面进行~~~4 y5 z3 w# {) {0 ?
/ I. Q: T: m1 ~) ?7 [% \& j/ G节选里面的模型作用介绍6 E& E/ ?8 X+ \6 v7 F
“Hi community!8 f0 [) ^. A) x$ y. b. b
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.9 c; F! L' _- ~' Y
* w2 a7 A6 B8 m4 |0 ~
5 P6 j- Z2 W5 ?- I Restrictions for this beta:6 [0 O; k$ [8 T
- no gui; z7 p7 N0 l3 Q; c9 d
- only for 64 bit$ S, b1 {2 H+ R0 f; L: V9 `# d
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit
V8 a. ?$ C+ x; D" x# {7 o6 B
) Y( C8 U* H) F
& @& l H' _- N$ Z% p# v- ~ How to install?. w! m. A( Z/ A! H: u# j
Unzip file to modules folder in flexsim.
5 C1 c( p/ _9 o; W
& H4 T1 {+ s* R& F+ s: o7 [) G; y1 S7 P8 S, B; H% ~7 e5 _* V( w& E
How to use?
: P: @' } ^9 ~" C8 |( K Just drag your new HeatmapTicker object into your model. That's it.6 n, {, V2 Z3 g3 S; ^0 q: V! i
' C3 }/ {8 l2 O# n
0 u& Y/ y& N& C- _) _- |* M- w2 p What does this module?
% X# {, W& B: N& F# {( \8 B 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.
7 p4 l+ N$ T [6 h Which settings options are available?4 C- ~5 K4 F( v* b$ ]; d7 v7 w
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:/ k' a4 B/ { l: |$ G4 N
- ticktime -> time interval to add the actual location of your taskexecuters, d a/ _! n+ G8 v/ m
- gridsizeX -> area in x to summarize locations( ~. u- u' z ?" D' S0 y) j9 V- }& D, W
- gridsizeY -> area in y to summarize locations
' U P& V* R$ G - sizeZ -> if greater than 0, your heatmap goes up in the sky / B! G# p5 W2 Y- y+ C2 y3 j- T
- objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)
6 F% J1 Y v, l! h( L( A; e! | - mesh -> heatmap drawing, don't touch
& V Z4 N d3 }( N9 E6 B You can make you heatmap invisible if you use the flexsim command switch_hideshape.& ^# m) d2 k; q3 P/ U
! R; }, z# T: A$ J' j* i! }
) A) E7 @1 u/ r0 U2 ^ Hints:$ O4 V. K8 p3 u7 n/ s$ R' D' R3 ~5 h6 b; V
- very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage; p, e( j8 @4 s9 @6 g. z" g: y
- only taskexecuters in the model tree will be recognized
! o$ n# k) o' `& F8 y# l - only used locations will be stored -> no restrictions for locations
6 \& z* g; g: B, o% u* z - the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible9 V! g. U2 |+ O
7 o$ ?+ i4 \8 |+ g9 n" O+ m
I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free?
$ @( ]) R9 H2 ?. A( m” |
|