简体   繁体   English

创建饼图以获取机架系统的利用率

[英]Create a pie chart to get the utilization of the rack system

How can I get the utilization of my rack system.我怎样才能得到我的机架系统的利用率。 I tried the function PRD.capacity() - PRD.size() but it only changes the amount when pallets were stored into my racks but not the percentage of the reserved and the free capacity, also not the colors (don't know how I can create the different colors for reserved and free racks)我尝试了 function PRD.capacity() - PRD.size() 但它只改变托盘存放到我的货架时的数量,而不是保留和空闲容量的百分比,也不是 colors (不知道如何我可以为保留和空闲机架创建不同的 colors)

piechart_simulation饼图模拟

piechart_function饼图函数

welcome to SOF.欢迎来到 SOF。

How can I get the utilization of my rack system.我怎样才能得到我的机架系统的利用率。

Simply use myRackSystem.statsUtilization.xxx where xxx gives you various handles on the statistics collected as below:只需使用myRackSystem.statsUtilization.xxx ,其中 xxx 为您提供收集的统计信息的各种句柄,如下所示: 在此处输入图像描述

For more advanced statistics, you will need to collect those yourself.对于更高级的统计数据,您需要自己收集这些数据。 Lots of example models show you how to use Dataset and Histogram objects to plot stuff in pie charts, check those as well:-)许多示例模型向您展示了如何在饼图中使用数据集和直方图对象来处理 plot 的东西,也请检查它们:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM