before graph firm prod

This commit is contained in:
2023-06-05 10:47:37 +08:00
parent af0d1dd2c3
commit 907d6cb179
8 changed files with 108 additions and 4 deletions

View File

@@ -196,3 +196,6 @@ class FirmAgent(ap.Agent):
def clean_before_time_step(self):
self.dct_n_trial_up_prod_removed = {}
self.a_lst_up_product_removed = ap.AgentList(self.model, [])
def get_firm_network_node(self):
return self.firm_network.positions[self]