EntitiesFromIntersection()
Performs an intersect of multiple entity sets that were built from two to five different entity-creation P# functions.
Returns intersection of two to five entity set expressions.
Syntax
EntitiesFromIntersection(entitiesExpression1, entitiesExpression2, ..., entitiesExpression5)
Example
EntitiesFromIntersection(
EntitiesByHierarchy("Hierarchy 51"),
EntitiesByType("Well")
)
EntitiesFromIntersection(
EntitiesByHierarchy("Hierarchy 51"),
EntitiesByType("Well"),
EntitiesByAlias("Alias_*")
)
EntitiesFromIntersection(
EntitiesByTag("Sand problem"),
EntitiesByType("Well")
)
Example
Entity Set "Wells With Production"
EntitiesFromIntersection(
EntitiesByType("Well"),
EntitiesByTag("Active", "Ever", False)
)
End Set
Example
Entity Set "Active HZ Cotton Valley Gas Wells"
EntitiesFromIntersection(
EntitiesByType("Well"),
EntitiesByCondition("primary phase" in " " = "Gas" and
"primary formation" in " " = "COTTON VALLEY"),
EntitiesByTag("Active", "Ever", False),
EntitiesFromEntitySet("Active HZ Wells")
)
End Set