如何显示代理参数'主(任何logic模拟)中的值

发布于 2025-02-13 12:04:45 字数 1089 浏览 1 评论 0原文

我正在研究一个任何插曲模型,在该模型中,我创建了一个具有某些参数的代理。 但是,当我使用代理商在MAIN中调用代理的参数时。参数我获得的值为0,而不是实际参数的值。 请注意,我已经将代理类型拖到MAIN中,因此Main可以访问所有代理的参数和对象,但是它以零为零显示所有参数值。 我的经纪人是fondoir_ss,如

”在此处输入图像描述”

以下是定义的参数的示例fondoir_ss

我感兴趣的参数是由于其他参数而定义的(内部代理Fondoir_ss)

“在此处输入图像描述”

现在,当我将参数添加到MAIN中时,问题出现了:i创建一个包含来自Agent Fondoir_ss参数值的参数。

但是,当我启动仿真时,“参数”的值为0,而'par_demande_fusion_jour'的值等于Agent Fondoir_SS中的600。

我该如何解决?

提前致谢。

I am working on an Anylogic model in which I have created an agent with some parameters in the agent window.
However, when I call an agent's parameter in Main using agent.parameter I get a value of 0 instead of the actual parameter's value.
Please note that I have already dragged the agent type into Main so Main has access to all agent's parameters and objects however it displays all parameters values as zeroes.
My agent is fondoir_ss as displayed below

enter image description here

Below is an example of a parameter defined in fondoir_ss

enter image description here

The parameter I am interested in is defined as a result of other parameters (inside agent fondoir_ss)

enter image description here

Now the problem emerges when I add my parameter to main : I create a parameter that contains the value of the parameter from agent fondoir_ss.

However, when I launch the simulation "parameter" has a value of 0 whereas the value of 'PAR_demande_fusion_jour' is equal to 600 in agent fondoir_ss.

enter image description here
How can I solve this ?

Thanks in advance.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文