- Weatherford Knowledge Base
- P#
- Entities Function
-
Getting Started
-
Customer Training
-
Customer Success
-
Updates
-
Production Optimization
-
Artificial Lift Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- DCA Functions
- Neighborhood Functions
-
Packages
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