Simulating-an-Economy-ABM
Simulating-an-Economy-ABM copied to clipboard
VisualiseEconomy.py might not be instantiating Modular Server right
Had a bit of trouble getting the script to work, but I changed the instantiation to the below and that got it working for me:
server = ModularServer(
WealthModel,
[grid, chart],
name="Wealth Model",
model_params={
"N": economy_scale*economy_scale,
"width": economy_scale,
"height": economy_scale
})
I got the idea to do that from a quick read through the library you used. Perhaps it's been recently updated. I can make a PR if wanted?
Hey @foogunlana, thanks for noticing this! Could you please go ahead and make a PR?
Closed by #2 and #3