|
|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=28813 F6 k1 ]4 K/ @4 t( P
; Q) K+ ?# d/ U! T1 }! n下载模型可以去原帖上面进行~~~
6 I+ k) n0 w* w! _
: g2 j- y7 W" R) _: U节选里面的模型作用介绍- M: f" g" \# i* `1 F
“Hi community!) i' F) \9 c" p& B. e: T. A- c
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 k5 v! z, l: Q5 Q6 u
4 {% }& b4 \7 M
) a2 d. n$ z. N/ T; n6 A) H* e
Restrictions for this beta:
& A" H# u% O3 D. O8 Q0 I: Q - no gui0 Y% w* D# t/ j; ~4 k3 i' U/ e
- only for 64 bit0 f/ C; d( T- |
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit
. P/ r7 ]; ~( Y" Q
+ I. Y2 a+ {- V0 G6 P: \- N
4 v- o9 q; y. K( \8 o9 n1 A4 l; J How to install?
2 v6 G9 _3 n. K8 e! X Unzip file to modules folder in flexsim.) D' r8 g8 x- \- o$ Q! I. M9 e
4 X- q& x1 w9 b, s P
+ S& E8 L; _; a: y How to use?
9 ?$ F$ ]8 o( q' o6 i9 P Just drag your new HeatmapTicker object into your model. That's it.
z) U" V! {( Q; d H) {7 Z2 e* n- n5 | E7 N
8 E3 M/ w. u/ F% K What does this module?
; p! l3 Z% i% d% u1 j( 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.$ T& H, r8 ]0 w; z9 o
Which settings options are available?
+ S' _, p( C/ w3 m# W6 g( 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 R+ I& c" G, J: Y# _
- ticktime -> time interval to add the actual location of your taskexecuters
8 M% O! p [% _6 V& Y - gridsizeX -> area in x to summarize locations
3 ?, l) ]6 q2 S) Q# E: S - gridsizeY -> area in y to summarize locations
" |; u$ J* s2 c6 w) z - sizeZ -> if greater than 0, your heatmap goes up in the sky
; G% ?* O7 ^& h. P, |$ e& W; ~$ n: S* h; N - objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)
# N0 Z8 r* K7 J7 O/ b/ b- {+ P - mesh -> heatmap drawing, don't touch4 }- B+ s9 O9 }8 _6 t" B" e4 V# B
You can make you heatmap invisible if you use the flexsim command switch_hideshape.
) v8 y$ s" m& s5 D$ u/ s9 {1 Y7 l" }! V7 [
8 q0 W- z9 K1 _3 ~9 ]) G
Hints:
! }% u q9 \# \# k4 {; f B - very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage
, Z: m$ A0 `8 v# a* d, g' i - only taskexecuters in the model tree will be recognized' l& Y& ?3 R/ T0 o
- only used locations will be stored -> no restrictions for locations; A+ x6 h1 I |" ]# }" h
- the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible2 x' s6 ~( L* f+ Z9 Q. i- Q7 ]
% B+ {# H4 z7 w! F0 J7 K7 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? 8 u1 _# B2 u7 X% i8 E$ D+ D
” |
|