我想知道如何設置AGV的原始電池容量不是從100%,而是自定義AGV電池容量,或者以隨機方式。
希望能提供一個好的建議,有一個簡單的模型
我想知道如何設置AGV的原始電池容量不是從100%,而是自定義AGV電池容量,或者以隨機方式。
希望能提供一個好的建議,有一個簡單的模型
The method "batteryLevel" of the AGV class can both get and set the current charge level of an AGV.
The code in the script window of the attached model will set the charge level to a random value between 10 and 100%.
The uniform distribution was only chosen as an example.
You can assign any numerial value you want. The battery level will automatically limit it to fall into the range from 0 to 100. So yes, you can of course use a different distribution, a fixed value or read the number from some other place in the model (for example a global table or label)Just for completeness of the answer the "Capacity" is set in the AGV Network Properties by AGV type. The above answer is talking about the intial percentage of that capacity.
18 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved