Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial drafts for PowerSystem schemas. #411

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================================
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
| * See LICENSE.md in the project root for license terms and full copyright notice.
======================================================================================= -->
<ECSchema schemaName="PowerSystemResourcesPhysical" alias="pwrsysresphys" version="01.00.00" description="Base schema for the Earthwork domain." xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA"/>
<ECSchemaReference name="BisCustomAttributes" version="01.00.00" alias="bisCA"/>
<ECSchemaReference name="BisCore" version="01.00.14" alias="bis"/>
<ECSchemaReference name="DistributionSystems" version="01.00.02" alias="dsys"/>
<ECSchemaReference name="StructuralPhysicalInterop" version="01.00.00" alias="spi"/>

<ECCustomAttributes>
<ProductionStatus xmlns="CoreCustomAttributes.01.00.03">
<SupportedUse>NotForProduction</SupportedUse>
</ProductionStatus>
<SchemaLayerInfo xmlns="BisCustomAttributes.01.00.00">
<Value>DisciplinePhysical</Value>
</SchemaLayerInfo>
</ECCustomAttributes>

<ECEntityClass typeName="ElectricalPort" modifier="None" displayLabel="Electrical Port" description="">
<BaseClass>dsys:DistributionPort</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="PortConnectsToPorts" strength="referencing" modifier="None" description="">
<BaseClass>dsys:PortConnectsToPorts</BaseClass>
<Source multiplicity="(0..1)" roleLabel="connects to" polymorphic="true">
<Class class="ElectricalPort"/>
</Source>
<Target multiplicity="(1..1)" roleLabel="is connected by" polymorphic="true">
<Class class="ElectricalPort"/>
</Target>
</ECRelationshipClass>

<ECEntityClass typeName="CableAssembly" modifier="None" displayLabel="Cable Assembly" description="">
<BaseClass>bis:PhysicalElement</BaseClass>
<BaseClass>dsys:IDistributionFlowElement</BaseClass>
<BaseClass>spi:IStructuralAssembly</BaseClass>
<BaseClass>bis:IParentElement</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="CableAssemblyOwnsPorts" strength="embedding" modifier="None" description="">
<BaseClass>dsys:DistributionElementOwnsDistributionPorts</BaseClass>
<Source multiplicity="(1..1)" roleLabel="owns" polymorphic="true">
<Class class="CableAssembly"/>
</Source>
<Target multiplicity="(1..*)" roleLabel="is owned by" polymorphic="true">
<Class class="ElectricalPort"/>
</Target>
</ECRelationshipClass>
<ECRelationshipClass typeName="CableAssemblyOwnsConnectors" modifier="None" strength="embedding">
<BaseClass>spi:StructuralAssemblyOwnsStructuralComponents</BaseClass>
<Source multiplicity="(0..1)" roleLabel="owns" polymorphic="true">
<Class class="CableAssembly"/>
</Source>
<Target multiplicity="(0..*)" roleLabel="is owned by" polymorphic="true">
<Class class="CableConnector"/>
</Target>
</ECRelationshipClass>
<ECEntityClass typeName="CableAssemblyType" modifier="None" displayLabel="Cable Assembly Type" description="">
<BaseClass>bis:PhysicalType</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="CableAssemblyIsOfType" strength="referencing" modifier="None" description="">
<BaseClass>bis:PhysicalElementIsOfType</BaseClass>
<Source multiplicity="(0..*)" roleLabel="is of" polymorphic="true">
<Class class="CableAssembly" />
</Source>
<Target multiplicity="(0..1)" roleLabel="classifies" polymorphic="true">
<Class class="CableAssemblyType"/>
</Target>
</ECRelationshipClass>

<ECEntityClass typeName="CableConnector" modifier="None" displayLabel="Cable Connector" description="">
<BaseClass>bis:PhysicalElement</BaseClass>
<BaseClass>spi:IStructuralComponent</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="CableConnectorType" modifier="None" displayLabel="Cable Connector Type" description="">
<BaseClass>bis:PhysicalType</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="CableConnectorIsOfType" strength="referencing" modifier="None" description="">
<BaseClass>bis:PhysicalElementIsOfType</BaseClass>
<Source multiplicity="(0..*)" roleLabel="is of" polymorphic="true">
<Class class="CableConnector" />
</Source>
<Target multiplicity="(0..1)" roleLabel="classifies" polymorphic="true">
<Class class="CableConnectorType"/>
</Target>
</ECRelationshipClass>

<ECEntityClass typeName="Transformer" modifier="None" displayLabel="Transformer" description="">
<BaseClass>bis:PhysicalElement</BaseClass>
<BaseClass>dsys:IDistributionFlowElement</BaseClass>
<BaseClass>spi:IStructuralAssembly</BaseClass>
<BaseClass>bis:IParentElement</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="TransformerOwnsPorts" strength="embedding" modifier="None" description="">
<BaseClass>dsys:DistributionElementOwnsDistributionPorts</BaseClass>
<Source multiplicity="(1..1)" roleLabel="owns" polymorphic="true">
<Class class="Transformer"/>
</Source>
<Target multiplicity="(1..*)" roleLabel="is owned by" polymorphic="true">
<Class class="ElectricalPort"/>
</Target>
</ECRelationshipClass>
<ECEntityClass typeName="TransformerType" modifier="None" displayLabel="Transformer Type" description="">
<BaseClass>bis:PhysicalType</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="TransformerIsOfType" strength="referencing" modifier="None" description="">
<BaseClass>bis:PhysicalElementIsOfType</BaseClass>
<Source multiplicity="(0..*)" roleLabel="is of" polymorphic="true">
<Class class="Transformer" />
</Source>
<Target multiplicity="(0..1)" roleLabel="classifies" polymorphic="true">
<Class class="TransformerType"/>
</Target>
</ECRelationshipClass>
<ECRelationshipClass typeName="TransformerOwnsInsulators" modifier="None" strength="embedding">
<BaseClass>spi:StructuralAssemblyOwnsStructuralComponents</BaseClass>
<Source multiplicity="(0..1)" roleLabel="owns" polymorphic="true">
<Class class="Transformer"/>
</Source>
<Target multiplicity="(0..*)" roleLabel="is owned by" polymorphic="true">
<Class class="Insulator"/>
</Target>
</ECRelationshipClass>

<ECEntityClass typeName="Insulator" modifier="None" displayLabel="Insulator" description="">
<BaseClass>bis:PhysicalElement</BaseClass>
<BaseClass>spi:IStructuralComponent</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="InsulatorType" modifier="None" displayLabel="Insulator Type" description="">
<BaseClass>bis:PhysicalType</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="InsulatorIsOfType" strength="referencing" modifier="None" description="">
<BaseClass>bis:PhysicalElementIsOfType</BaseClass>
<Source multiplicity="(0..*)" roleLabel="is of" polymorphic="true">
<Class class="Insulator" />
</Source>
<Target multiplicity="(0..1)" roleLabel="classifies" polymorphic="true">
<Class class="InsulatorType"/>
</Target>
</ECRelationshipClass>

<ECEntityClass typeName="Structure" modifier="None" displayLabel="Structure" description="">
<BaseClass>bis:PhysicalElement</BaseClass>
<BaseClass>spi:IStructuralAssembly</BaseClass>
<BaseClass>bis:IParentElement</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="StructureType" modifier="None" displayLabel="Structure Type" description="">
<BaseClass>bis:PhysicalType</BaseClass>
</ECEntityClass>
<ECRelationshipClass typeName="StructureIsOfType" strength="referencing" modifier="None" description="">
<BaseClass>bis:PhysicalElementIsOfType</BaseClass>
<Source multiplicity="(0..*)" roleLabel="is of" polymorphic="true">
<Class class="Structure" />
</Source>
<Target multiplicity="(0..1)" roleLabel="classifies" polymorphic="true">
<Class class="StructureType"/>
</Target>
</ECRelationshipClass>
</ECSchema>
14 changes: 14 additions & 0 deletions SchemaInventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -5427,5 +5427,19 @@
"date": "Unknown",
"dynamic": "No"
}
],
"PowerSystemResourcesPhysical": [
{
"name": "PowerSystemResourcesPhysical",
"path": "Domains\\2-DisciplinePhysical\\PowerSystemResourcesPhysical\\PowerSystemResourcesPhysical.ecschema.xml",
"released": false,
"version": "01.00.00",
"comment": "Working Copy",
"sha1": "",
"author": "Alfredo.Contreras",
"approved": "No",
"date": "Unknown",
"dynamic": "No"
}
]
}
Loading