add_workplace#

add_workplace(pop, workplace)[source]#

Add a workplace to the list of workplaces.

Parameters:
  • pop (sp.Pop) – population

  • workplace (sp.Workplace) – workplace with at minimum the wpid and member_uids.