Open rht opened 4 years ago
This issue still exists.
More specifically in example with one firm and one household, when we create household in main()
function it calls simulation.build_agents()
, which, according to declaration of class Simulation
(link) declared as following:
def build_agents(self, AgentClass, group_name, number=None, agent_parameters=None, **parameters):
In example, it's called as:
households = simulation.build_agents( Household, 'household', number=1, parameters=parameters)
.
I think I will re-implement the examples with Mesa's StagedActivation
. abcEconomics' scheduler is too complex.
This still have a remaining error
@DavoudTaghawiNejad ?