将电池管理添加到anylogic模型中

发布于 2025-01-13 00:26:50 字数 342 浏览 2 评论 0原文

我有一个问题,在我的模型中我想向运输车队添加电池信息。想象一下,当电池电量低于 30% 时,AGV 在完成任务后会移动到最近的充电站,并停留在那里,直到电池电量高于特定水平。

所以我正在考虑在运输车队的代理类型中添加一个带有电池电量的参数。

但我不知道如何进一步创建电池管理。

创建一个事件,根据 AGV 代理的状态每秒降低电池电量?

但这给了我4个问题:

  1. 运输车释放后如何检查电池电量?
  2. 如何根据 AGV 充电量动态减少运输车队规模。
  3. 如何让AGV移动到最近的充电站。
  4. 有没有这个问题的示例模型?

谢谢。

I've a question, in my model I want to add battery information to the transporter fleet. Think about when the battery level is below 30% the AGV moves after finishing a task to the closest charging station and stays there until the battery level is above a certain level.

So I was thinking about adding a parameter with the batterylevel to the agent type of the transport fleet.

But I have no clue how to create battery management further.

Creating an event, which decrease the battery level every second based on the state of the AGV agent?

But this gives me 4 questions:

  1. How can you check the battery level after a transporter is released?
  2. How do you dynamically decrease the transporter fleet size based on the amount of charging AGVs.
  3. How do you let the AGV move to the closest charging station.
  4. Is there anywhere an example model for this problem?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柳若烟 2025-01-20 00:26:50

您的答案对于 SOF 来说有点哲学(并且一个问题中有多个问题...),但是这里是...

  1. 是的,AGV 内每秒运行的事件是好的,但它可能会使您的模型变慢...
    或者,使用运输器状态更改来保存行驶的开始和结束时间,然后使用它来计算行驶时间或距离,并使用它来耗尽电池。

输入图片此处描述

  1. 您可以在传输块的发布代码中检查电池电量

在此处输入图像描述

  1. 您需要在传输器内部有一个变量,将其设置为需要充电。然后在捕获运输逻辑中,您可以进行自定义选择,不选择需要充电的 AGV

在此处输入图像描述

  1. 当 AGV 需要充电时 - 您在第 1 项中确定,您将创建一个新任务,该任务将仅尺寸该运输车并使其移动到您计算出的最近充电站的位置。您将使用与第 2 项中相同的自定义夺取操作来控制此任务选择哪个运输车。这将是一个单独的流程图,您可以在其中创建此逻辑以使运输车收费。

  2. 无法找到有关充电的具体示例,因为您知道还有很多有关 AGV 的其他示例

Your answer is a bit philosophical for SOF (and multiple questions in one...) but here goes...

  1. Yes an event that runs every second inside an AGV is good, but it might make your model slow...
    Alternatively use the on transporter state change to save the start and end times of travel and then use that to calculate the travel time, or distance, and use that to deplete the battery.

enter image description here

  1. You can check the battery level in the on release code for the transporter blocks

enter image description here

  1. You need to have a variable inside transporters that set them to need charging. And then in the seize transporter logic you have a custom selection to not choose AGVs that need charging

enter image description here

  1. When an AGV requires charging - that you identified in item 1, you create a new task that will only size that transporter and make it move to what ever location you calculated to be the closest charging station. You will control which transporter gets selected by this task using the custom seize action same as in item 2. This will be a separate flow chart where you create this logic to make transporters go for a charge.

  2. Could not find a specific one about charging bu as you know there are lots of other examples about AGV

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文