[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FADK0Z5A4AAJF3QFEBPDBG":3,"skill-same:01M7FADK0Z5A4AAJF3QFEBPDBG":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7FADK0Z5A4AAJF3QFEBPDBG","ifcos-impl-mep",null,"Use when modeling MEP (Mechanical, Electrical, Plumbing) systems in IFC -- HVAC, piping, electrical circuits, distribution elements, ports, and connections. Prevents the common mistake of not creating ports for flow connections between elements. Covers IfcSystem, IfcDistributionElement, flow segments, fittings, and MEP property sets. Keywords: MEP, HVAC, piping, electrical, IfcSystem, IfcDistributionElement, port, connection, flow segment, fitting, mechanical, plumbing, duct, ventilation, connect pipes.","lagzgabrielmuller-dot\u002Fkit-ingenieria-3d","lagzgabrielmuller-dot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F333339260?v=4","01M7F985KYC0XB2XZ97B5YWH4C","01M7F985MHK8N2NVE4VAR5WBWS",0,"MIT","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ifcos-impl-mep\ndescription: >\n  Use when modeling MEP (Mechanical, Electrical, Plumbing) systems in IFC -- HVAC, piping,\n  electrical circuits, distribution elements, ports, and connections. Prevents the common\n  mistake of not creating ports for flow connections between elements. Covers IfcSystem,\n  IfcDistributionElement, flow segments, fittings, and MEP property sets.\n  Keywords: MEP, HVAC, piping, electrical, IfcSystem, IfcDistributionElement, port, connection, flow segment, fitting, mechanical, plumbing, duct, ventilation, connect pipes.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires IfcOpenShell Python library.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# MEP System Implementation Guide\n\n## Quick Reference\n\n### Critical Warnings\n\n- **ALWAYS** create ports on distribution elements BEFORE attempting to connect them. Elements without ports cannot participate in flow networks.\n- **ALWAYS** create at least two ports per segment element (one inlet, one outlet). Segments are flow-through elements.\n- **NEVER** connect two ports with the same flow direction. A `SOURCE` port MUST connect to a `SINK` port.\n- **NEVER** use `IfcDistributionSystem` in IFC2X3 models. Use `ifc_class=\"IfcSystem\"` for IFC2X3 compatibility.\n- **ALWAYS** use `ifcopenshell.api.run(\"system.add_system\", ...)` to create systems. NEVER use `model.create_entity(\"IfcDistributionSystem\")` directly — it skips required relationship setup.\n- **ALWAYS** assign elements to a system AFTER creating port connections. The system is a logical grouping; ports define the physical topology.\n- **NEVER** assume `system.remove_system` deletes contained elements. It ONLY removes the system grouping; elements and their ports remain in the model.\n- **ALWAYS** use `ifcopenshell.api.run(\"root.create_entity\", ...)` for MEP elements, not `model.create_entity()`. The API sets GlobalId, ownership, and validates predefined types.\n- **ALWAYS** pass `products` as a **list** to `system.assign_system` (v0.8+ convention).\n\n### Decision Tree: MEP Workflow\n\n```\nCreating an MEP system?\n├── Step 1: What IFC schema version?\n│   ├── IFC2X3 → Use ifc_class=\"IfcSystem\" for add_system\n│   └── IFC4 \u002F IFC4X3 → Use ifc_class=\"IfcDistributionSystem\" (default)\n│\n├── Step 2: Create the system\n│   └── system.add_system → system.edit_system (set Name + PredefinedType)\n│\n├── Step 3: Create distribution elements\n│   ├── Duct\u002FPipe\u002FCable? → IfcDuctSegment, IfcPipeSegment, IfcCableSegment\n│   ├── Elbow\u002FTee\u002FJunction? → IfcDuctFitting, IfcPipeFitting, IfcCableFitting\n│   ├── Air terminal\u002FFixture? → IfcAirTerminal, IfcSanitaryTerminal\n│   ├── Valve\u002FDamper\u002FSwitch? → IfcValve, IfcDamper, IfcSwitchingDevice\n│   ├── Pump\u002FFan? → IfcPump, IfcFan\n│   ├── Boiler\u002FChiller? → IfcBoiler, IfcChiller\n│   └── Tank\u002FVessel? → IfcTank\n│\n├── Step 4: Create ports on each element\n│   └── system.add_port (per connection point)\n│\n├── Step 5: Connect ports between elements\n│   └── system.connect_port (port1, port2, direction)\n│\n├── Step 6: Assign elements to system\n│   └── system.assign_system (products=[...], system=system)\n│\n├── Step 7: Assign flow controls (optional)\n│   └── system.assign_flow_control (damper→duct, valve→pipe)\n│\n└── Step 8: Add properties and placement\n    ├── pset.add_pset \u002F pset.edit_pset (MEP property sets)\n    └── geometry (placement, representation)\n```\n\n### Decision Tree: Which Distribution Element Class\n\n```\nWhat type of MEP element?\n├── Carries flow (segments)?\n│   ├── Air\u002Fgas → IfcDuctSegment\n│   ├── Liquid → IfcPipeSegment\n│   ├── Electrical → IfcCableSegment\n│   └── Cable carrier → IfcCableCarrierSegment\n│\n├── Changes direction\u002Fsplits (fittings)?\n│   ├── Air\u002Fgas → IfcDuctFitting\n│   ├── Liquid → IfcPipeFitting\n│   ├── Electrical → IfcCableFitting\n│   └── Cable carrier → IfcCableCarrierFitting\n│\n├── End point (terminals)?\n│   ├── Air supply\u002Freturn → IfcAirTerminal\n│   ├── Plumbing fixture → IfcSanitaryTerminal\n│   ├── Electrical outlet → IfcOutlet\n│   ├── Light fixture → IfcLightFixture\n│   ├── Fire sprinkler → IfcFireSuppressionTerminal\n│   └── Communication jack → IfcCommunicationsAppliance\n│\n├── Controls flow (controllers)?\n│   ├── Airflow → IfcDamper\n│   ├── Liquid flow → IfcValve\n│   ├── Electrical → IfcSwitchingDevice \u002F IfcProtectiveDevice\n│   └── Flow meter → IfcFlowMeter\n│\n├── Moves medium (movers)?\n│   ├── Air → IfcFan\n│   ├── Liquid → IfcPump\n│   └── Gas → IfcCompressor\n│\n├── Converts energy?\n│   ├── Heating → IfcBoiler\n│   ├── Cooling → IfcChiller\n│   ├── Heat exchange → IfcHeatExchanger\n│   ├── Cooling tower → IfcCoolingTower\n│   ├── Air handling → IfcAirToAirHeatRecovery \u002F IfcUnitaryEquipment\n│   └── Electrical → IfcTransformer \u002F IfcElectricGenerator\n│\n├── Stores medium?\n│   ├── Liquid → IfcTank\n│   └── Electrical → IfcElectricFlowStorageDevice\n│\n├── Treats medium?\n│   ├── Air filter → IfcFilter\n│   └── Grease\u002Foil trap → IfcInterceptor\n│\n└── Senses\u002Fmonitors (control elements)?\n    ├── Temperature → IfcSensor (TEMPERATURESENSOR)\n    ├── Pressure → IfcSensor (PRESSURESENSOR)\n    ├── Flow rate → IfcSensor (FLOWSENSOR)\n    ├── Smoke → IfcSensor (SMOKESENSOR)\n    └── Actuator → IfcActuator\n```\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Complete HVAC System (IFC4)\n\n```python\n# IFC4 \u002F IFC4X3\nimport ifcopenshell\nimport ifcopenshell.api\n\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n\n# Bootstrap (project, units, contexts, spatial hierarchy)\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"MEP Project\")\nifcopenshell.api.run(\"unit.assign_unit\", model)\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model, context_type=\"Model\")\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building A\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Level 1\")\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n\n# Step 1: Create distribution system\nhvac = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcDistributionSystem\")\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=hvac,\n    attributes={\"Name\": \"Supply Air System\", \"PredefinedType\": \"VENTILATION\"})\n\n# Step 2: Create elements\nahu = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcUnitaryEquipment\", name=\"AHU-01\")\nduct1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDuctSegment\", name=\"SD-01\")\nduct2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDuctSegment\", name=\"SD-02\")\nterminal = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcAirTerminal\", name=\"AT-01\")\n\n# Step 3: Place in spatial structure\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    products=[ahu, duct1, duct2, terminal], relating_structure=storey)\n\n# Step 4: Create ports (inlet + outlet per segment)\nahu_out = ifcopenshell.api.run(\"system.add_port\", model, element=ahu)\nd1_in = ifcopenshell.api.run(\"system.add_port\", model, element=duct1)\nd1_out = ifcopenshell.api.run(\"system.add_port\", model, element=duct1)\nd2_in = ifcopenshell.api.run(\"system.add_port\", model, element=duct2)\nd2_out = ifcopenshell.api.run(\"system.add_port\", model, element=duct2)\nterm_in = ifcopenshell.api.run(\"system.add_port\", model, element=terminal)\n\n# Step 5: Connect ports (AHU → Duct1 → Duct2 → Terminal)\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=ahu_out, port2=d1_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=d1_out, port2=d2_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=d2_out, port2=term_in, direction=\"SOURCE\")\n\n# Step 6: Assign all elements to the system\nifcopenshell.api.run(\"system.assign_system\", model,\n    products=[ahu, duct1, duct2, terminal], system=hvac)\n```\n\n### Pattern 2: Piping Network with Fittings\n\n```python\n# IFC4 \u002F IFC4X3: requires completed bootstrap\n# Create plumbing system\nplumbing = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcDistributionSystem\")\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=plumbing,\n    attributes={\"Name\": \"Hot Water Supply\", \"PredefinedType\": \"DOMESTICHOTWATER\"})\n\n# Create pipe elements\npipe1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeSegment\", name=\"HWS-P01\")\nelbow = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeFitting\", name=\"HWS-E01\")\npipe2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeSegment\", name=\"HWS-P02\")\nvalve = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcValve\", name=\"HWS-V01\")\n\n# Ports: pipes need 2, fittings need 2+, terminals need 1\np1_in = ifcopenshell.api.run(\"system.add_port\", model, element=pipe1)\np1_out = ifcopenshell.api.run(\"system.add_port\", model, element=pipe1)\nelb_in = ifcopenshell.api.run(\"system.add_port\", model, element=elbow)\nelb_out = ifcopenshell.api.run(\"system.add_port\", model, element=elbow)\np2_in = ifcopenshell.api.run(\"system.add_port\", model, element=pipe2)\np2_out = ifcopenshell.api.run(\"system.add_port\", model, element=pipe2)\n\n# Connect: Pipe1 → Elbow → Pipe2\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=p1_out, port2=elb_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=elb_out, port2=p2_in, direction=\"SOURCE\")\n\n# Assign flow control (valve controls pipe)\nifcopenshell.api.run(\"system.assign_flow_control\", model,\n    relating_flow_element=pipe1, related_flow_control=valve)\n\n# Assign to system\nifcopenshell.api.run(\"system.assign_system\", model,\n    products=[pipe1, elbow, pipe2, valve], system=plumbing)\n```\n\n### Pattern 3: Tee Fitting (3 Ports)\n\n```python\n# IFC4 \u002F IFC4X3\ntee = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeFitting\", name=\"HWS-T01\")\n\n# Tee fittings have 3 ports: inlet, outlet-main, outlet-branch\ntee_in = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\ntee_out1 = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\ntee_out2 = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\n\n# Connect: upstream pipe → tee inlet\n# tee outlet1 → downstream main\n# tee outlet2 → downstream branch\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=upstream_pipe_out, port2=tee_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=tee_out1, port2=main_pipe_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=tee_out2, port2=branch_pipe_in, direction=\"SOURCE\")\n```\n\n### Pattern 4: IFC2X3 System (Backward Compatible)\n\n```python\n# IFC2X3: use IfcSystem instead of IfcDistributionSystem\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC2X3\")\n# ... bootstrap ...\n\nsystem = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcSystem\")  # REQUIRED for IFC2X3\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=system,\n    attributes={\"Name\": \"Heating System\"})\n# NOTE: PredefinedType is NOT available on IfcSystem in IFC2X3.\n# Use ObjectType attribute for classification instead.\nifcopenshell.api.run(\"attribute.edit_attributes\", model,\n    product=system,\n    attributes={\"ObjectType\": \"HEATING\"})\n```\n\n---\n\n## Distribution System Types (IFC4 \u002F IFC4X3)\n\nSet via `PredefinedType` attribute on `IfcDistributionSystem`:\n\n| PredefinedType | Domain | Description |\n|----------------|--------|-------------|\n| `VENTILATION` | HVAC | Supply\u002Freturn\u002Fexhaust air systems |\n| `HEATING` | HVAC | Hot water heating, radiator circuits |\n| `COOLING` | HVAC | Chilled water, refrigerant loops |\n| `AIRCONDITIONING` | HVAC | Combined heating\u002Fcooling air systems |\n| `EXHAUST` | HVAC | Kitchen\u002Ffume exhaust systems |\n| `DOMESTICHOTWATER` | Plumbing | Hot water supply |\n| `DOMESTICCOLDWATER` | Plumbing | Cold water supply |\n| `DRAINAGE` | Plumbing | Gravity drainage, waste water |\n| `WASTEWATER` | Plumbing | Waste water systems |\n| `STORMWATER` | Plumbing | Rainwater drainage |\n| `SEWAGE` | Plumbing | Sewer connections |\n| `RAINWATER` | Plumbing | Rainwater collection |\n| `ELECTRICAL` | Electrical | Power distribution |\n| `LIGHTING` | Electrical | Lighting circuits |\n| `POWERGENERATION` | Electrical | On-site power generation |\n| `LIGHTNINGPROTECTION` | Electrical | Lightning protection systems |\n| `EARTHING` | Electrical | Grounding\u002Fearthing |\n| `FIREPROTECTION` | Fire | Sprinklers, fire suppression |\n| `SECURITY` | Security | Access control, CCTV |\n| `COMMUNICATION` | Comms | Data\u002Ftelephone networks |\n| `DATA` | Comms | Data networks |\n| `TV` | Comms | Television distribution |\n| `SIGNAL` | Controls | Signal\u002Fcontrol systems |\n| `CONTROL` | Controls | Building automation |\n| `GAS` | Fuel | Natural gas distribution |\n| `FUEL` | Fuel | Fuel supply systems |\n| `COMPRESSEDAIR` | Pneumatic | Compressed air distribution |\n| `VACUUM` | Pneumatic | Vacuum systems |\n| `REFRIGERATION` | HVAC | Refrigeration systems |\n| `CHILLEDWATER` | HVAC | Chilled water distribution |\n| `CONDENSERWATER` | HVAC | Condenser water loops |\n| `CHEMICAL` | Process | Chemical distribution |\n| `DISPOSAL` | Waste | Waste disposal systems |\n| `HAZARDOUS` | Safety | Hazardous material systems |\n| `CONVEYING` | Transport | Material conveying |\n| `USERDEFINED` | Custom | Set ObjectType attribute |\n| `NOTDEFINED` | Default | Unspecified |\n\n---\n\n## Port Flow Directions\n\n| Direction | Meaning | When to Use |\n|-----------|---------|-------------|\n| `SOURCE` | Flow exits through this port | Outlet ports, downstream direction |\n| `SINK` | Flow enters through this port | Inlet ports, upstream direction |\n| `SOURCEANDSINK` | Bidirectional flow | Reversible systems, heat exchangers |\n| `NOTDEFINED` | Direction not specified | When flow direction is unknown |\n\n**Rule:** When connecting two ports, `direction` on `connect_port` describes the relationship from `port1`'s perspective. If `port1` is a SOURCE, flow goes from port1 to port2.\n\n---\n\n## System Traversal (ifcopenshell.util.system)\n\n```python\n# IFC4 \u002F IFC4X3\nimport ifcopenshell.util.system\n\n# Get all elements in a system\nelements = ifcopenshell.util.system.get_system_elements(hvac)\n\n# Get all systems an element belongs to\nsystems = ifcopenshell.util.system.get_element_systems(duct1)\n\n# Get ports on an element (optionally filter by direction)\nall_ports = ifcopenshell.util.system.get_ports(duct1)\noutlets = ifcopenshell.util.system.get_ports(duct1, flow_direction=\"SOURCE\")\ninlets = ifcopenshell.util.system.get_ports(duct1, flow_direction=\"SINK\")\n\n# Traverse connections: downstream \u002F upstream\ndownstream = ifcopenshell.util.system.get_connected_to(duct1)\nupstream = ifcopenshell.util.system.get_connected_from(duct1)\n\n# Get element that owns a port\nowner = ifcopenshell.util.system.get_port_element(d1_out)\n\n# Get port connected to a given port\npartner = ifcopenshell.util.system.get_connected_port(d1_out)\n```\n\n---\n\n## MEP Property Sets\n\n### Standard Property Sets for Distribution Elements\n\n```python\n# IFC4 \u002F IFC4X3: Add MEP-specific properties\n# Duct segment properties\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=duct1, name=\"Pset_DuctSegmentTypeCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"NominalDiameter\": 0.315,      # meters\n    \"InnerDiameter\": 0.313,\n    \"OuterDiameter\": 0.315,\n    \"Length\": 3.0,\n})\n\n# Pipe segment properties\npset_pipe = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=pipe1, name=\"Pset_PipeSegmentTypeCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset_pipe, properties={\n    \"NominalDiameter\": 0.025,\n    \"InnerDiameter\": 0.021,\n    \"OuterDiameter\": 0.025,\n    \"WorkingPressure\": 600000.0,    # Pascals\n    \"FlowRateRange\": \"0.1 - 0.5\",  # m3\u002Fs\n})\n\n# Quantity set for a duct\nqto = ifcopenshell.api.run(\"pset.add_qto\", model,\n    product=duct1, name=\"Qto_DuctSegmentBaseQuantities\")\nifcopenshell.api.run(\"pset.edit_qto\", model, qto=qto, properties={\n    \"Length\": 3.0,\n    \"GrossCrossSectionArea\": 0.078,\n    \"OuterSurfaceArea\": 2.97,\n})\n```\n\n### Common MEP Pset Names\n\n| Element Type | Property Set | Key Properties |\n|-------------|-------------|----------------|\n| Duct segments | `Pset_DuctSegmentTypeCommon` | NominalDiameter, Length |\n| Pipe segments | `Pset_PipeSegmentTypeCommon` | NominalDiameter, WorkingPressure |\n| Air terminals | `Pset_AirTerminalTypeCommon` | AirFlowRateRange, NominalAirFlowRate |\n| Valves | `Pset_ValveTypeCommon` | ValvePattern, WorkingPressure |\n| Pumps | `Pset_PumpTypeCommon` | FlowRateRange, NominalRotationSpeed |\n| Fans | `Pset_FanTypeCommon` | NominalAirFlowRate, NominalTotalPressure |\n| Boilers | `Pset_BoilerTypeCommon` | NominalEnergyConsumption, WaterTemperatureRange |\n\n---\n\n## Version Differences\n\n| Feature | IFC2X3 | IFC4 | IFC4X3 |\n|---------|--------|------|--------|\n| System class | `IfcSystem` | `IfcDistributionSystem` | `IfcDistributionSystem` |\n| PredefinedType on system | Not available | Full enum (37 values) | Full enum + additions |\n| Building system | Not available | `IfcBuildingSystem` | `IfcBuildingSystem` |\n| Port nesting | `IfcRelNests` | `IfcRelNests` | `IfcRelNests` |\n| Port connection | `IfcRelConnectsPorts` | `IfcRelConnectsPorts` | `IfcRelConnectsPorts` |\n| Flow direction enum | Same | Same | Same |\n\n### Version-Safe Pattern\n\n```python\n# Detect schema and choose correct system class\nschema = model.schema\nif schema == \"IFC2X3\":\n    system = ifcopenshell.api.run(\"system.add_system\", model,\n        ifc_class=\"IfcSystem\")\nelse:\n    system = ifcopenshell.api.run(\"system.add_system\", model,\n        ifc_class=\"IfcDistributionSystem\")\n```\n\n---\n\n## Dependency\n\nThis skill depends on:\n- **ifcos-syntax-api** for `api.run()` invocation patterns, module table, and parameter conventions\n- **ifcos-syntax-fileio** for file creation, writing, and transaction management\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) -- Complete signatures for all 12 system API functions\n- [Working Code Examples](references\u002Fexamples.md) -- End-to-end MEP system examples\n- [Anti-Patterns](references\u002Fanti-patterns.md) -- Common MEP modeling mistakes and how to avoid them\n\n### Official Sources\n\n- https:\u002F\u002Fdocs.ifcopenshell.org\u002Fautoapi\u002Fifcopenshell\u002Fapi\u002Fsystem\u002F\n- https:\u002F\u002Fstandards.buildingsmart.org\u002FIFC\u002FRELEASE\u002FIFC4\u002FADD2_TC1\u002FHTML\u002Fschema\u002Fifcsharedbldgserviceelements\u002F\n- https:\u002F\u002Fstandards.buildingsmart.org\u002FIFC\u002FRELEASE\u002FIFC4\u002FADD2_TC1\u002FHTML\u002Fschema\u002Fifchvacdomain\u002F\n","# MEP System Implementation Guide\n\n## Quick Reference\n\n### Critical Warnings\n\n- **ALWAYS** create ports on distribution elements BEFORE attempting to connect them. Elements without ports cannot participate in flow networks.\n- **ALWAYS** create at least two ports per segment element (one inlet, one outlet). Segments are flow-through elements.\n- **NEVER** connect two ports with the same flow direction. A `SOURCE` port MUST connect to a `SINK` port.\n- **NEVER** use `IfcDistributionSystem` in IFC2X3 models. Use `ifc_class=\"IfcSystem\"` for IFC2X3 compatibility.\n- **ALWAYS** use `ifcopenshell.api.run(\"system.add_system\", ...)` to create systems. NEVER use `model.create_entity(\"IfcDistributionSystem\")` directly — it skips required relationship setup.\n- **ALWAYS** assign elements to a system AFTER creating port connections. The system is a logical grouping; ports define the physical topology.\n- **NEVER** assume `system.remove_system` deletes contained elements. It ONLY removes the system grouping; elements and their ports remain in the model.\n- **ALWAYS** use `ifcopenshell.api.run(\"root.create_entity\", ...)` for MEP elements, not `model.create_entity()`. The API sets GlobalId, ownership, and validates predefined types.\n- **ALWAYS** pass `products` as a **list** to `system.assign_system` (v0.8+ convention).\n\n### Decision Tree: MEP Workflow\n\n```\nCreating an MEP system?\n├── Step 1: What IFC schema version?\n│   ├── IFC2X3 → Use ifc_class=\"IfcSystem\" for add_system\n│   └── IFC4 \u002F IFC4X3 → Use ifc_class=\"IfcDistributionSystem\" (default)\n│\n├── Step 2: Create the system\n│   └── system.add_system → system.edit_system (set Name + PredefinedType)\n│\n├── Step 3: Create distribution elements\n│   ├── Duct\u002FPipe\u002FCable? → IfcDuctSegment, IfcPipeSegment, IfcCableSegment\n│   ├── Elbow\u002FTee\u002FJunction? → IfcDuctFitting, IfcPipeFitting, IfcCableFitting\n│   ├── Air terminal\u002FFixture? → IfcAirTerminal, IfcSanitaryTerminal\n│   ├── Valve\u002FDamper\u002FSwitch? → IfcValve, IfcDamper, IfcSwitchingDevice\n│   ├── Pump\u002FFan? → IfcPump, IfcFan\n│   ├── Boiler\u002FChiller? → IfcBoiler, IfcChiller\n│   └── Tank\u002FVessel? → IfcTank\n│\n├── Step 4: Create ports on each element\n│   └── system.add_port (per connection point)\n│\n├── Step 5: Connect ports between elements\n│   └── system.connect_port (port1, port2, direction)\n│\n├── Step 6: Assign elements to system\n│   └── system.assign_system (products=[...], system=system)\n│\n├── Step 7: Assign flow controls (optional)\n│   └── system.assign_flow_control (damper→duct, valve→pipe)\n│\n└── Step 8: Add properties and placement\n    ├── pset.add_pset \u002F pset.edit_pset (MEP property sets)\n    └── geometry (placement, representation)\n```\n\n### Decision Tree: Which Distribution Element Class\n\n```\nWhat type of MEP element?\n├── Carries flow (segments)?\n│   ├── Air\u002Fgas → IfcDuctSegment\n│   ├── Liquid → IfcPipeSegment\n│   ├── Electrical → IfcCableSegment\n│   └── Cable carrier → IfcCableCarrierSegment\n│\n├── Changes direction\u002Fsplits (fittings)?\n│   ├── Air\u002Fgas → IfcDuctFitting\n│   ├── Liquid → IfcPipeFitting\n│   ├── Electrical → IfcCableFitting\n│   └── Cable carrier → IfcCableCarrierFitting\n│\n├── End point (terminals)?\n│   ├── Air supply\u002Freturn → IfcAirTerminal\n│   ├── Plumbing fixture → IfcSanitaryTerminal\n│   ├── Electrical outlet → IfcOutlet\n│   ├── Light fixture → IfcLightFixture\n│   ├── Fire sprinkler → IfcFireSuppressionTerminal\n│   └── Communication jack → IfcCommunicationsAppliance\n│\n├── Controls flow (controllers)?\n│   ├── Airflow → IfcDamper\n│   ├── Liquid flow → IfcValve\n│   ├── Electrical → IfcSwitchingDevice \u002F IfcProtectiveDevice\n│   └── Flow meter → IfcFlowMeter\n│\n├── Moves medium (movers)?\n│   ├── Air → IfcFan\n│   ├── Liquid → IfcPump\n│   └── Gas → IfcCompressor\n│\n├── Converts energy?\n│   ├── Heating → IfcBoiler\n│   ├── Cooling → IfcChiller\n│   ├── Heat exchange → IfcHeatExchanger\n│   ├── Cooling tower → IfcCoolingTower\n│   ├── Air handling → IfcAirToAirHeatRecovery \u002F IfcUnitaryEquipment\n│   └── Electrical → IfcTransformer \u002F IfcElectricGenerator\n│\n├── Stores medium?\n│   ├── Liquid → IfcTank\n│   └── Electrical → IfcElectricFlowStorageDevice\n│\n├── Treats medium?\n│   ├── Air filter → IfcFilter\n│   └── Grease\u002Foil trap → IfcInterceptor\n│\n└── Senses\u002Fmonitors (control elements)?\n    ├── Temperature → IfcSensor (TEMPERATURESENSOR)\n    ├── Pressure → IfcSensor (PRESSURESENSOR)\n    ├── Flow rate → IfcSensor (FLOWSENSOR)\n    ├── Smoke → IfcSensor (SMOKESENSOR)\n    └── Actuator → IfcActuator\n```\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Complete HVAC System (IFC4)\n\n```python\n# IFC4 \u002F IFC4X3\nimport ifcopenshell\nimport ifcopenshell.api\n\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n\n# Bootstrap (project, units, contexts, spatial hierarchy)\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"MEP Project\")\nifcopenshell.api.run(\"unit.assign_unit\", model)\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model, context_type=\"Model\")\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building A\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Level 1\")\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n\n# Step 1: Create distribution system\nhvac = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcDistributionSystem\")\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=hvac,\n    attributes={\"Name\": \"Supply Air System\", \"PredefinedType\": \"VENTILATION\"})\n\n# Step 2: Create elements\nahu = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcUnitaryEquipment\", name=\"AHU-01\")\nduct1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDuctSegment\", name=\"SD-01\")\nduct2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDuctSegment\", name=\"SD-02\")\nterminal = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcAirTerminal\", name=\"AT-01\")\n\n# Step 3: Place in spatial structure\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    products=[ahu, duct1, duct2, terminal], relating_structure=storey)\n\n# Step 4: Create ports (inlet + outlet per segment)\nahu_out = ifcopenshell.api.run(\"system.add_port\", model, element=ahu)\nd1_in = ifcopenshell.api.run(\"system.add_port\", model, element=duct1)\nd1_out = ifcopenshell.api.run(\"system.add_port\", model, element=duct1)\nd2_in = ifcopenshell.api.run(\"system.add_port\", model, element=duct2)\nd2_out = ifcopenshell.api.run(\"system.add_port\", model, element=duct2)\nterm_in = ifcopenshell.api.run(\"system.add_port\", model, element=terminal)\n\n# Step 5: Connect ports (AHU → Duct1 → Duct2 → Terminal)\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=ahu_out, port2=d1_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=d1_out, port2=d2_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=d2_out, port2=term_in, direction=\"SOURCE\")\n\n# Step 6: Assign all elements to the system\nifcopenshell.api.run(\"system.assign_system\", model,\n    products=[ahu, duct1, duct2, terminal], system=hvac)\n```\n\n### Pattern 2: Piping Network with Fittings\n\n```python\n# IFC4 \u002F IFC4X3: requires completed bootstrap\n# Create plumbing system\nplumbing = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcDistributionSystem\")\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=plumbing,\n    attributes={\"Name\": \"Hot Water Supply\", \"PredefinedType\": \"DOMESTICHOTWATER\"})\n\n# Create pipe elements\npipe1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeSegment\", name=\"HWS-P01\")\nelbow = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeFitting\", name=\"HWS-E01\")\npipe2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeSegment\", name=\"HWS-P02\")\nvalve = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcValve\", name=\"HWS-V01\")\n\n# Ports: pipes need 2, fittings need 2+, terminals need 1\np1_in = ifcopenshell.api.run(\"system.add_port\", model, element=pipe1)\np1_out = ifcopenshell.api.run(\"system.add_port\", model, element=pipe1)\nelb_in = ifcopenshell.api.run(\"system.add_port\", model, element=elbow)\nelb_out = ifcopenshell.api.run(\"system.add_port\", model, element=elbow)\np2_in = ifcopenshell.api.run(\"system.add_port\", model, element=pipe2)\np2_out = ifcopenshell.api.run(\"system.add_port\", model, element=pipe2)\n\n# Connect: Pipe1 → Elbow → Pipe2\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=p1_out, port2=elb_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=elb_out, port2=p2_in, direction=\"SOURCE\")\n\n# Assign flow control (valve controls pipe)\nifcopenshell.api.run(\"system.assign_flow_control\", model,\n    relating_flow_element=pipe1, related_flow_control=valve)\n\n# Assign to system\nifcopenshell.api.run(\"system.assign_system\", model,\n    products=[pipe1, elbow, pipe2, valve], system=plumbing)\n```\n\n### Pattern 3: Tee Fitting (3 Ports)\n\n```python\n# IFC4 \u002F IFC4X3\ntee = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcPipeFitting\", name=\"HWS-T01\")\n\n# Tee fittings have 3 ports: inlet, outlet-main, outlet-branch\ntee_in = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\ntee_out1 = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\ntee_out2 = ifcopenshell.api.run(\"system.add_port\", model, element=tee)\n\n# Connect: upstream pipe → tee inlet\n# tee outlet1 → downstream main\n# tee outlet2 → downstream branch\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=upstream_pipe_out, port2=tee_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=tee_out1, port2=main_pipe_in, direction=\"SOURCE\")\nifcopenshell.api.run(\"system.connect_port\", model,\n    port1=tee_out2, port2=branch_pipe_in, direction=\"SOURCE\")\n```\n\n### Pattern 4: IFC2X3 System (Backward Compatible)\n\n```python\n# IFC2X3: use IfcSystem instead of IfcDistributionSystem\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC2X3\")\n# ... bootstrap ...\n\nsystem = ifcopenshell.api.run(\"system.add_system\", model,\n    ifc_class=\"IfcSystem\")  # REQUIRED for IFC2X3\nifcopenshell.api.run(\"system.edit_system\", model,\n    system=system,\n    attributes={\"Name\": \"Heating System\"})\n# NOTE: PredefinedType is NOT available on IfcSystem in IFC2X3.\n# Use ObjectType attribute for classification instead.\nifcopenshell.api.run(\"attribute.edit_attributes\", model,\n    product=system,\n    attributes={\"ObjectType\": \"HEATING\"})\n```\n\n---\n\n## Distribution System Types (IFC4 \u002F IFC4X3)\n\nSet via `PredefinedType` attribute on `IfcDistributionSystem`:\n\n| PredefinedType | Domain | Description |\n|----------------|--------|-------------|\n| `VENTILATION` | HVAC | Supply\u002Freturn\u002Fexhaust air systems |\n| `HEATING` | HVAC | Hot water heating, radiator circuits |\n| `COOLING` | HVAC | Chilled water, refrigerant loops |\n| `AIRCONDITIONING` | HVAC | Combined heating\u002Fcooling air systems |\n| `EXHAUST` | HVAC | Kitchen\u002Ffume exhaust systems |\n| `DOMESTICHOTWATER` | Plumbing | Hot water supply |\n| `DOMESTICCOLDWATER` | Plumbing | Cold water supply |\n| `DRAINAGE` | Plumbing | Gravity drainage, waste water |\n| `WASTEWATER` | Plumbing | Waste water systems |\n| `STORMWATER` | Plumbing | Rainwater drainage |\n| `SEWAGE` | Plumbing | Sewer connections |\n| `RAINWATER` | Plumbing | Rainwater collection |\n| `ELECTRICAL` | Electrical | Power distribution |\n| `LIGHTING` | Electrical | Lighting circuits |\n| `POWERGENERATION` | Electrical | On-site power generation |\n| `LIGHTNINGPROTECTION` | Electrical | Lightning protection systems |\n| `EARTHING` | Electrical | Grounding\u002Fearthing |\n| `FIREPROTECTION` | Fire | Sprinklers, fire suppression |\n| `SECURITY` | Security | Access control, CCTV |\n| `COMMUNICATION` | Comms | Data\u002Ftelephone networks |\n| `DATA` | Comms | Data networks |\n| `TV` | Comms | Television distribution |\n| `SIGNAL` | Controls | Signal\u002Fcontrol systems |\n| `CONTROL` | Controls | Building automation |\n| `GAS` | Fuel | Natural gas distribution |\n| `FUEL` | Fuel | Fuel supply systems |\n| `COMPRESSEDAIR` | Pneumatic | Compressed air distribution |\n| `VACUUM` | Pneumatic | Vacuum systems |\n| `REFRIGERATION` | HVAC | Refrigeration systems |\n| `CHILLEDWATER` | HVAC | Chilled water distribution |\n| `CONDENSERWATER` | HVAC | Condenser water loops |\n| `CHEMICAL` | Process | Chemical distribution |\n| `DISPOSAL` | Waste | Waste disposal systems |\n| `HAZARDOUS` | Safety | Hazardous material systems |\n| `CONVEYING` | Transport | Material conveying |\n| `USERDEFINED` | Custom | Set ObjectType attribute |\n| `NOTDEFINED` | Default | Unspecified |\n\n---\n\n## Port Flow Directions\n\n| Direction | Meaning | When to Use |\n|-----------|---------|-------------|\n| `SOURCE` | Flow exits through this port | Outlet ports, downstream direction |\n| `SINK` | Flow enters through this port | Inlet ports, upstream direction |\n| `SOURCEANDSINK` | Bidirectional flow | Reversible systems, heat exchangers |\n| `NOTDEFINED` | Direction not specified | When flow direction is unknown |\n\n**Rule:** When connecting two ports, `direction` on `connect_port` describes the relationship from `port1`'s perspective. If `port1` is a SOURCE, flow goes from port1 to port2.\n\n---\n\n## System Traversal (ifcopenshell.util.system)\n\n```python\n# IFC4 \u002F IFC4X3\nimport ifcopenshell.util.system\n\n# Get all elements in a system\nelements = ifcopenshell.util.system.get_system_elements(hvac)\n\n# Get all systems an element belongs to\nsystems = ifcopenshell.util.system.get_element_systems(duct1)\n\n# Get ports on an element (optionally filter by direction)\nall_ports = ifcopenshell.util.system.get_ports(duct1)\noutlets = ifcopenshell.util.system.get_ports(duct1, flow_direction=\"SOURCE\")\ninlets = ifcopenshell.util.system.get_ports(duct1, flow_direction=\"SINK\")\n\n# Traverse connections: downstream \u002F upstream\ndownstream = ifcopenshell.util.system.get_connected_to(duct1)\nupstream = ifcopenshell.util.system.get_connected_from(duct1)\n\n# Get element that owns a port\nowner = ifcopenshell.util.system.get_port_element(d1_out)\n\n# Get port connected to a given port\npartner = ifcopenshell.util.system.get_connected_port(d1_out)\n```\n\n---\n\n## MEP Property Sets\n\n### Standard Property Sets for Distribution Elements\n\n```python\n# IFC4 \u002F IFC4X3: Add MEP-specific properties\n# Duct segment properties\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=duct1, name=\"Pset_DuctSegmentTypeCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"NominalDiameter\": 0.315,      # meters\n    \"InnerDiameter\": 0.313,\n    \"OuterDiameter\": 0.315,\n    \"Length\": 3.0,\n})\n\n# Pipe segment properties\npset_pipe = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=pipe1, name=\"Pset_PipeSegmentTypeCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset_pipe, properties={\n    \"NominalDiameter\": 0.025,\n    \"InnerDiameter\": 0.021,\n    \"OuterDiameter\": 0.025,\n    \"WorkingPressure\": 600000.0,    # Pascals\n    \"FlowRateRange\": \"0.1 - 0.5\",  # m3\u002Fs\n})\n\n# Quantity set for a duct\nqto = ifcopenshell.api.run(\"pset.add_qto\", model,\n    product=duct1, name=\"Qto_DuctSegmentBaseQuantities\")\nifcopenshell.api.run(\"pset.edit_qto\", model, qto=qto, properties={\n    \"Length\": 3.0,\n    \"GrossCrossSectionArea\": 0.078,\n    \"OuterSurfaceArea\": 2.97,\n})\n```\n\n### Common MEP Pset Names\n\n| Element Type | Property Set | Key Properties |\n|-------------|-------------|----------------|\n| Duct segments | `Pset_DuctSegmentTypeCommon` | NominalDiameter, Length |\n| Pipe segments | `Pset_PipeSegmentTypeCommon` | NominalDiameter, WorkingPressure |\n| Air terminals | `Pset_AirTerminalTypeCommon` | AirFlowRateRange, NominalAirFlowRate |\n| Valves | `Pset_ValveTypeCommon` | ValvePattern, WorkingPressure |\n| Pumps | `Pset_PumpTypeCommon` | FlowRateRange, NominalRotationSpeed |\n| Fans | `Pset_FanTypeCommon` | NominalAirFlowRate, NominalTotalPressure |\n| Boilers | `Pset_BoilerTypeCommon` | NominalEnergyConsumption, WaterTemperatureRange |\n\n---\n\n## Version Differences\n\n| Feature | IFC2X3 | IFC4 | IFC4X3 |\n|---------|--------|------|--------|\n| System class | `IfcSystem` | `IfcDistributionSystem` | `IfcDistributionSystem` |\n| PredefinedType on system | Not available | Full enum (37 values) | Full enum + additions |\n| Building system | Not available | `IfcBuildingSystem` | `IfcBuildingSystem` |\n| Port nesting | `IfcRelNests` | `IfcRelNests` | `IfcRelNests` |\n| Port connection | `IfcRelConnectsPorts` | `IfcRelConnectsPorts` | `IfcRelConnectsPorts` |\n| Flow direction enum | Same | Same | Same |\n\n### Version-Safe Pattern\n\n```python\n# Detect schema and choose correct system class\nschema = model.schema\nif schema == \"IFC2X3\":\n    system = ifcopenshell.api.run(\"system.add_system\", model,\n        ifc_class=\"IfcSystem\")\nelse:\n    system = ifcopenshell.api.run(\"system.add_system\", model,\n        ifc_class=\"IfcDistributionSystem\")\n```\n\n---\n\n## Dependency\n\nThis skill depends on:\n- **ifcos-syntax-api** for `api.run()` invocation patterns, module table, and parameter conventions\n- **ifcos-syntax-fileio** for file creation, writing, and transaction management\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) -- Complete signatures for all 12 system API functions\n- [Working Code Examples](references\u002Fexamples.md) -- End-to-end MEP system examples\n- [Anti-Patterns](references\u002Fanti-patterns.md) -- Common MEP modeling mistakes and how to avoid them\n\n### Official Sources\n\n- https:\u002F\u002Fdocs.ifcopenshell.org\u002Fautoapi\u002Fifcopenshell\u002Fapi\u002Fsystem\u002F\n- https:\u002F\u002Fstandards.buildingsmart.org\u002FIFC\u002FRELEASE\u002FIFC4\u002FADD2_TC1\u002FHTML\u002Fschema\u002Fifcsharedbldgserviceelements\u002F\n- https:\u002F\u002Fstandards.buildingsmart.org\u002FIFC\u002FRELEASE\u002FIFC4\u002FADD2_TC1\u002FHTML\u002Fschema\u002Fifchvacdomain\u002F\n",{"name":5,"license":14,"metadata":23,"description":26,"compatibility":27},{"author":24,"version":25},"OpenAEC-Foundation","1.0","Use when modeling MEP (Mechanical, Electrical, Plumbing) systems in IFC -- HVAC, piping, electrical circuits, distribution elements, ports, and connections. Prevents the common mistake of not creating ports for flow connections between elements. Covers IfcSystem, IfcDistributionElement, flow segments, fittings, and MEP property sets. Keywords: MEP, HVAC, piping, electrical, IfcSystem, IfcDistributionElement, port, connection, flow segment, fitting, mechanical, plumbing, duct, ventilation, connect pipes.\n","Designed for Claude Code. Requires IfcOpenShell Python library.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot","2026-11-09 13:26:47",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-mep",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-mep",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-mep","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",12107,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",18978,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",9886,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-mep\u002Freferences\u002Fmethods.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7FBFSZ93YM463CGS91D0TZG","manimce-best-practices","Trigger when: (1) User mentions \"manim\" or \"Manim Community\" or \"ManimCE\", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes.\n\nBest practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX\u002FMathTex, 3D with ThreeDScene, camera control, styling, and CLI usage.\n\nNOT for ManimGL\u002F3b1b version (which uses `manimlib` imports and `manimgl` CLI).","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7FB2K59HNNXS9WKHAMWHC3C","drawio","Create, edit, replicate, import, and export draw.io diagrams with an offline YAML-first workflow: architecture, network topologies, flowcharts, UML\u002FER, org charts, Mermaid\u002FCSV conversion, existing .drawio bundles, style presets, themes, and non-publication formula diagrams. For publication figures (paper, thesis, IEEE, camera-ready) use drawio-academic-skills instead.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7FB2BWX7GWK9H2X8BGCYDDD","drawio-academic-skills","Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE\u002FACM submission, manuscript, camera-ready, Word\u002FLaTeX figure, or other publication. Applies venue, figure-type, color, caption\u002Flegend, formula, and paper-readability gates for architecture, workflow, roadmap, network-topology, and replicated paper figures.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio-academic-skills\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7FB22JESEAV8T15DJT3D444","uncertainty-and-units","Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on \"is this number physically reasonable\", \"sanity check these units\", \"what regime is this flow in\", or a result that looks off by orders of magnitude.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Funcertainty-and-units\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7FB1ANRSG28R335FDY9SA3R","statistical-analysis","Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers t-tests, ANOVA, chi-square, correlation, regression, non-parametric and Bayesian methods. For low-level model APIs, see the statsmodels and pymc skills.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fstatistical-analysis\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7FB15KRA9D7JCPH4P9T6XJY","simpy","Builds, inspects, tests, and analyzes bounded process-based discrete-event simulations with SimPy. Use for event scheduling, resource queues, interrupts, monitoring, independent replications, warm-up, and reproducible output analysis.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fsimpy\u002FSKILL.md",[],[]]