| <?xml version="1.0" encoding="UTF-8"?> |
| <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="omsimulatorprofile" nsURI="http://www.eclipse.org/papyrus/OMSimulatorProfile/1.0.0" |
| nsPrefix="omsim"> |
| <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <details key="originalName" value="OMSimulatorProfile"/> |
| </eAnnotations> |
| <eClassifiers xsi:type="ecore:EClass" name="TLMInterfaceDefinition"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="TLMInterface will be used to defined all the predefined TLM physical types supported by OMSimulator.
More particularly, each TLM interface will have to list all the corresponding signals an FMU must own.
Each signal will be defined with a SysML flowport.
"/> |
| </eAnnotations> |
| <eOperations name="getSignalDefinitions" ordered="false" upperBound="-1" eType="#//TLMSignalDefinition"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="interpolation" ordered="false" |
| lowerBound="1" eType="#//Interpolation"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Interface" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Interface"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="signalDefinitions" ordered="false" |
| lowerBound="1" upperBound="-1" eType="#//TLMSignalDefinition" volatile="true" |
| transient="true" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="dimensions" ordered="false" |
| lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Integer"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EEnum" name="Interpolation"> |
| <eLiterals name="none"/> |
| <eLiterals name="coarsegrained" value="1"/> |
| <eLiterals name="finegrained" value="2"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TLMSignalDefinition"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TLMSignal"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="A TLMSignal will be an additional annotation put on each FMU ports implementing TLM predefined signal, which will be referenced with its "definition" attribute."/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="definition" ordered="false" |
| lowerBound="1" eType="#//TLMSignalDefinition"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="OMSimulatorBus"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="OMSimulatorBus is a new kind of Port which can be added to FMU Blocks. Those ports can reference other Flowports belonging to the owning FMU."/> |
| </eAnnotations> |
| <eOperations name="getDirection" ordered="false" lowerBound="1" eType="ecore:EEnum ../../org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore#//portsandflows/FlowDirection"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="signals" upperBound="-1" |
| eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="domain" ordered="false" |
| upperBound="-1" eType="#//TLMDomain"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false" |
| lowerBound="1" eType="ecore:EEnum ../../org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore#//portsandflows/FlowDirection" |
| volatile="true" transient="true" derived="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EEnum" name="TLMDomain"> |
| <eLiterals name="Hydraulic"/> |
| <eLiterals name="Mechanical" value="1"/> |
| <eLiterals name="Rotational" value="2"/> |
| <eLiterals name="Electric" value="3"/> |
| <eLiterals name="input" value="4"/> |
| <eLiterals name="output" value="5"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="BusConnectionEnd"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="BusConnectionEnd is a stereotype that has to be applied on the corresponding connectorEnd of an UML connector, when connected to an OMSimulatorBus port.
The "referencedSignals" attribute shoud be a subset of the OMSimulatorBus::signals attribute.
"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_ConnectorEnd" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="referencedSignal" ordered="false" |
| upperBound="-1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TLMConnection"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="timedelay" ordered="false" |
| lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Real"> |
| <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <details key="originalName" value="time delay"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="impedance" ordered="false" |
| eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Real"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="rotationalimpedance" ordered="false" |
| eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Real"> |
| <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <details key="originalName" value="rotational impedance"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="alpha" ordered="false" |
| eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Real"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Connector" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="BusConnector"> |
| <eOperations name="getEnd1Component" ordered="false" lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eOperations name="getEnd2Component" ordered="false" lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eOperations name="getEnd1Signals" ordered="false" upperBound="-1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eOperations name="getEnd2Signals" ordered="false" upperBound="-1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="suppressedVisibility" value="true"/> |
| </eAnnotations> |
| </eOperations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="base_Connector" ordered="false" |
| eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="end1Component" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Property" |
| volatile="true" transient="true" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="end1Signals" upperBound="-1" |
| eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port" volatile="true" |
| transient="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="end2Signals" upperBound="-1" |
| eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port" volatile="true" |
| transient="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="end2Component" ordered="false" |
| lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Property" |
| volatile="true" transient="true" derived="true"/> |
| </eClassifiers> |
| </ecore:EPackage> |