|
原帖地址:http://www.flexsim.com/community/forum/showthread.php?t=2881
! {& T" P* i/ n
* \! Y7 W) W6 M3 G/ K下载模型可以去原帖上面进行~~~. C+ e! S0 n3 J% l; r9 j$ Q# Y
3 f) }3 i' A# l' J$ l# S
节选里面的模型作用介绍4 Q1 `. C7 P m, E
“Hi community!
4 p4 ]3 z8 v9 ?4 e 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.
/ Z# p& V9 b! ^$ [8 d
# T9 j/ q9 N1 s/ c1 P G2 U; b; a
& e; J2 O/ {% [$ w+ i: I6 h: i Restrictions for this beta:
/ d- f2 U7 ]& ~6 ]( ]% B+ h1 v - no gui
$ P, w7 s# G- z% \2 ^. X - only for 64 bit' s w$ X- [, y4 y: k! P J9 P* k6 C
- tested only with FlexSim GP 7.1.4 64bit on a Windows 7 64bit9 @1 j# `0 F) u. ?( l
) J9 D% x2 w& e2 M9 \2 b* g
; t- h- h0 l% z M
How to install?
: I/ D. a; j4 n: X( z Unzip file to modules folder in flexsim.
2 v4 ?) Y: F; j+ d2 z2 R) |3 B: Y! o) |4 W; r) a
$ d; E8 g) T/ Z
How to use?7 C& i1 w! V# n8 g
Just drag your new HeatmapTicker object into your model. That's it.' k4 ^3 c. R. Y' V9 C# W
# l7 }$ \# V$ a3 c: _3 P9 S1 P$ q" @( D. r4 w2 z9 ~
What does this module?
' v% T) P" ]! Y/ a# } 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.+ a) K5 o* U0 m/ Y S" b9 O# X
Which settings options are available?
! l& A% W6 Y" V1 C 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:; Q% G$ E# f, k. r5 g
- ticktime -> time interval to add the actual location of your taskexecuters% P( U" R( T0 ?) B; F& ?2 H
- gridsizeX -> area in x to summarize locations. U; P2 I s& V& A+ a
- gridsizeY -> area in y to summarize locations
0 Y E w# E v' E - sizeZ -> if greater than 0, your heatmap goes up in the sky
9 H( b! {( f% r+ I9 y2 Y9 U# a, X - objectList -> only for your information, which taskexecuters are registered for the heatmap (robot and elevators aren't added)7 q" l" f, f, Y! L
- mesh -> heatmap drawing, don't touch4 K# B' F. \6 S8 Q# r
You can make you heatmap invisible if you use the flexsim command switch_hideshape.- k- S8 {8 |: v3 H: e1 L; p
3 D1 i3 o% l: ^) O( J6 k; J# c6 U' e9 o W: s3 E
Hints:5 [3 H% g2 B) x5 A- N7 [
- very small ticktime, gridsizeX and/or gridsizeY boost your cpu usage
. D$ i& J2 W! Y c! n/ Q; G - only taskexecuters in the model tree will be recognized
* X5 r& @8 w* s# F. Y. C8 q- c1 X - only used locations will be stored -> no restrictions for locations3 B, K& H/ G5 |4 C8 {
- the colors and optional heights aren't linear -> a natural logarithm will be used with the measured data to make the heatmap more visible% s$ Y+ r, y m7 a( U1 ~/ F6 h/ S
* ?) f" O' T! ` I'm curious about your thoughts and hints. Of course you'll get the final version also. Did I mentioned that it's free? & }+ J; t& q# F$ u- Z3 m
” |
|