democatalog.ecore 4.34 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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="democatalog" nsURI="http://example.org/democatalog" nsPrefix="democat">
  <eClassifiers xsi:type="ecore:EClass" name="EnergyComponentCatalog">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="author" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="boilers" upperBound="-1"
        eType="#//Boiler" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="chps" upperBound="-1" eType="#//CombinedHeatPower"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="solarPanels" upperBound="-1"
        eType="#//SolarPanel" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="inverters" upperBound="-1"
        eType="#//Inverter" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="manufacturers" upperBound="-1"
        eType="#//Manufacturer" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="BoilerType">
    <eLiterals name="LowTemperature"/>
    <eLiterals name="Condensing" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Boiler" eSuperTypes="#//ChemicalDevice">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="boilerType" lowerBound="1"
        eType="#//BoilerType"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="CombinedHeatPower" eSuperTypes="#//ChemicalDevice">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="thermalEfficiency" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="SolarPanel" eSuperTypes="#//ElectricalDevice">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="mppVoltage" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="mppCurrent" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Inverter" eSuperTypes="#//ElectricalDevice">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxDCVoltage" lowerBound="1"
38
39
        eType="ecore:EDataType ../../de.hftstuttgart.cityunits.model/model/Quantities.ecore#//QuantityDouble"
        defaultValueLiteral="0.0 V"/>
40
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="macDCCurrent" lowerBound="1"
41
42
        eType="ecore:EDataType ../../de.hftstuttgart.cityunits.model/model/Quantities.ecore#//QuantityDouble"
        defaultValueLiteral="100.0 mV"/>
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Manufacturer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral=""/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ChemicalDevice" abstract="true" eSuperTypes="#//EnergyComponent">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="installedThermalPower"
        lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
        defaultValueLiteral="0.0"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="EnergyComponent" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="modelName" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="revisionYear" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="producedBy" lowerBound="1"
        eType="#//Manufacturer"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ElectricalDevice" abstract="true" eSuperTypes="#//EnergyComponent">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="nominalPower" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/>
  </eClassifiers>
</ecore:EPackage>