'Get all units in the registry with the same physical type as
the given unit.
Parameters
unit : UnitBase instance'

def get_units_with_physical_type(self, unit):

    return self._by_physical_type.get(unit._get_physical_type_id(), set())
