How to read one agent data to another agent? #1059
Unanswered
JaslinRikkaz123
asked this question in
Q&A
Replies: 2 comments
-
@JaslinRikkaz123 It looks like you fixed this issues is that correct? Regarding your other question: Unfortunately, it doesn't look like there is an easy fix. That capability in on the TODO I am looking for some quick work around but so far no luck. (Sorry for the delay; new job at work) Nice model by the way |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your email
…On Sat, 23 Oct 2021, 5:33 pm Tom Pike, ***@***.***> wrote:
@JaslinRikkaz123 <https://github.com/JaslinRikkaz123> It looks like you
fixed this issues is that correct?
Regarding your other question:
" I need to update model.py time(self.minute) parameter instead of steps
in x-axis. How can I add it to my model? I am stuck at this moment. "
Unfortunately, it doesn't look like there is an easy fix. That capability
in on the TODO
<https://github.com/projectmesa/mesa/blob/72efecaacbc612927ff640f699f2cce4c01bc34e/mesa/visualization/modules/ChartVisualization.py#L36>
I am looking for some quick work around but so far no luck.
(Sorry for the delay; new job at work)
Nice model by the way
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1059 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUDFCWBNZIF4IFFBWZZJ243UIKP77ANCNFSM5ECJ7T4Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Mesa community...
I'm new to mesa software. I'm developing Electric Cars ABM. I need to use one agent function's return value to another agent. how to do that?
I have tried this, but it doesn't work:
for agent in self.model.schedule.agents_dict:
print(WeatherAgent.getOutdoorLight(self))
it gives :
File "C:\Users\Jaslin Shaleemkhan\car2\solar\model.py", line 68, in init
solarPanelAgent = SolarPanelAgent('Solar',self)
File "C:\Users\Jaslin Shaleemkhan\car2\solar\agent.py", line 79, in init
value.append(weatherlist)
NameError: name 'weatherlist' is not defined
Note: What i want is, temperature and irradiance data returned from weather agent it should be used in solar panel agent.
https://github.com/JaslinRikkaz123/EV_Model_inABM
Beta Was this translation helpful? Give feedback.
All reactions