|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=28814 s% F. B, E1 R& I
6 w7 a* n5 K: d- N7 g4 N! w
下载模型可以去原帖上面进行~~~
$ {" p% ~5 P' b/ y, S7 J
* K& E/ V9 G+ d- z节选里面的模型作用介绍1 \# ]4 ?# [, }1 ]( A' h* H6 k/ Q; Z
“Hi community!% n& K, d+ V! \$ S. I0 f% P
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.0 e" @1 r' h4 y S/ a$ ?8 ^- h
# c7 B8 t/ S/ M4 e
! l- h/ t5 P2 [ @, D+ y# ? Restrictions for this beta:# W* z) _- W9 A* }& k7 A: G3 [
- no gui: f9 C# e. D2 V# E
- only for 64 bit
$ Z& c! e7 n5 I+ ] @; t# W - tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit/ q. @: j4 r n$ e
; {& K3 |& T. D/ p4 `: H4 \- O4 N/ M( U' C8 m
How to install?
# s7 |1 k) H2 U8 s8 T/ | Unzip file to modules folder in flexsim.
' e L+ ~! J* F
, I# e$ O: v8 p$ ~# }1 @2 ]
$ `- i& [% Z5 r1 Z7 G% j# W2 h How to use? B3 F2 W0 w* ]: L9 P
Just drag your new HeatmapTicker object into your model. That's it.& _! Q% `2 z/ h+ d% c4 l8 t
) p2 ~& L: i* b: w2 E4 H, q! i/ C: q9 m* p( @8 [+ [
What does this module?- l& R3 a- P6 [/ \* C0 Z8 s g
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.! r& Z' ?. ?. E, G
Which settings options are available?
* w4 W2 {7 w, u. K$ q( [2 H) 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:
; ~/ g7 @: G+ D: {$ o - ticktime -> time interval to add the actual location of your taskexecuters/ a8 @. H% B }" H! ]/ Z- h
- gridsizeX -> area in x to summarize locations f+ h5 E4 W# {; L! B; \. |. g
- gridsizeY -> area in y to summarize locations; Q0 i& I* P# n% F4 ?
- sizeZ -> if greater than 0, your heatmap goes up in the sky ( Q; e; t; W4 B4 \+ i3 H
- objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)
E: A$ ^( ]- u: K - mesh -> heatmap drawing, don't touch
" t, N4 B; E( N* B You can make you heatmap invisible if you use the flexsim command switch_hideshape.
S7 o! u/ M( j' u2 y9 @% p8 [9 P$ K! W( g: C) v7 B2 x$ o
; L T$ @/ f! [3 j, s7 z9 K
Hints:
% ~1 N4 C2 e' j) T9 i* t - very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage' J5 \1 L) A$ C2 Z
- only taskexecuters in the model tree will be recognized& ]% |. ^ K Q* @" Z/ z; E
- only used locations will be stored -> no restrictions for locations
3 U- W$ C6 H. L _* u& B i0 } - the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible
! [3 A& z5 I3 M7 |" W! V, _
" y8 B5 b( L* s0 B. a1 { I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free? ; Y6 O- l1 m# [
” |
|