Hello,How can i set different charging rate for different parking locations?
Hello,How can i set different charging rate for different parking locations?
Can you send us your model or a sample model of the problem? That would be much easier to "see" what is going on in your model and the best way to solve your problem(s).
Thanks.
Without seeing your model, it's hard to know the limitations. If there's only one AGV in your model, when the AGV arrives at its destination, you can use either of these lines of code to set the recharge rate:
getvarnode(Model.find("AGVNetwork"), "agvTypes").as(Table)[1][7] = newRechargeRate
OR
Model.find("AGVNetwork>variables/agvTypes/DefaultAGV/rechargeAmps").value = newRechargeRate
If you have more than one AGV, however, this becomes a bit trickier because the recharge rate is for the entire network based on AGV type. What you could do, though, is basically the same thing, but conditionalize the rate based on the AGV type and ensure you're setting the recharge rate for that specific type.
Hopefully this helps!
Yes. This helps, I do have multiple AGVs, and have different types for each one. So basically i just give those AGVs a different type which has that charge rate.
So in order to start the recharge I just use this command?
AGV.startRecharge();
16 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