Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NeqModPlus
Energy Components Catalog
Commits
7ad4aed5
Commit
7ad4aed5
authored
Mar 17, 2021
by
Kai-Holger Brassel
Browse files
Replaced custom unit projects by external cityunits and indriya plugins
parent
01673354
Changes
115
Hide whitespace changes
Inline
Side-by-side
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/ElectricalStorageImpl.java
View file @
7ad4aed5
...
@@ -2,13 +2,15 @@
...
@@ -2,13 +2,15 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.ElectricalStorage
;
import
de.hftstuttgart.energycomponents.ElectricalStorage
;
import
de.hftstuttgart.energycomponents.ElectricalStorageTypes
;
import
de.hftstuttgart.energycomponents.ElectricalStorageTypes
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -64,8 +66,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
...
@@ -64,8 +66,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
BATTERY_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
BATTERY_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"A*h"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"A*h"
);
/**
/**
* The cached value of the '{@link #getBatteryCapacity() <em>Battery Capacity</em>}' attribute.
* The cached value of the '{@link #getBatteryCapacity() <em>Battery Capacity</em>}' attribute.
...
@@ -85,8 +87,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
...
@@ -85,8 +87,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
BATTERY_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
BATTERY_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"V"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"V"
);
/**
/**
* The cached value of the '{@link #getBatteryVoltage() <em>Battery Voltage</em>}' attribute.
* The cached value of the '{@link #getBatteryVoltage() <em>Battery Voltage</em>}' attribute.
...
@@ -186,8 +188,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
...
@@ -186,8 +188,8 @@ public class ElectricalStorageImpl extends EnergyComponentImpl implements Electr
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
ENERGY_CONTENT_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
ENERGY_CONTENT_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"5 kW*h"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"5 kW*h"
);
/**
/**
* The cached value of the '{@link #getEnergyContent() <em>Energy Content</em>}' attribute.
* The cached value of the '{@link #getEnergyContent() <em>Energy Content</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/ElectricityImpl.java
View file @
7ad4aed5
...
@@ -6,7 +6,9 @@ import de.hftstuttgart.energycomponents.Electricity;
...
@@ -6,7 +6,9 @@ import de.hftstuttgart.energycomponents.Electricity;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
/**
/**
...
@@ -32,6 +34,7 @@ public abstract class ElectricityImpl extends EnergyCarrierImpl implements Elect
...
@@ -32,6 +34,7 @@ public abstract class ElectricityImpl extends EnergyCarrierImpl implements Elect
* @ordered
* @ordered
*/
*/
protected
static
final
double
RENEWABLE_SHARE_EDEFAULT
=
0.0
;
protected
static
final
double
RENEWABLE_SHARE_EDEFAULT
=
0.0
;
/**
/**
* The cached value of the '{@link #getRenewableShare() <em>Renewable Share</em>}' attribute.
* The cached value of the '{@link #getRenewableShare() <em>Renewable Share</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/ElectrolyzerImpl.java
View file @
7ad4aed5
...
@@ -2,13 +2,15 @@
...
@@ -2,13 +2,15 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.Electrolyzer
;
import
de.hftstuttgart.energycomponents.Electrolyzer
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.cellTypesElectrolyzer
;
import
de.hftstuttgart.energycomponents.cellTypesElectrolyzer
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -63,8 +65,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
...
@@ -63,8 +65,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
CELL_AREA_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
CELL_AREA_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"50 cm\u00b2"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"50 cm\u00b2"
);
/**
/**
* The cached value of the '{@link #getCellArea() <em>Cell Area</em>}' attribute.
* The cached value of the '{@link #getCellArea() <em>Cell Area</em>}' attribute.
...
@@ -104,8 +106,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
...
@@ -104,8 +106,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MAX_OPERATING_CURRENT_DENSITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MAX_OPERATING_CURRENT_DENSITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"3 A/cm\u00b2"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"3 A/cm\u00b2"
);
/**
/**
* The cached value of the '{@link #getMaxOperatingCurrentDensity() <em>Max Operating Current Density</em>}' attribute.
* The cached value of the '{@link #getMaxOperatingCurrentDensity() <em>Max Operating Current Density</em>}' attribute.
...
@@ -125,8 +127,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
...
@@ -125,8 +127,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MIN_OPERATING_CURRENT_DENSITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MIN_OPERATING_CURRENT_DENSITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"0.3 A/cm\u00b2"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"0.3 A/cm\u00b2"
);
/**
/**
* The cached value of the '{@link #getMinOperatingCurrentDensity() <em>Min Operating Current Density</em>}' attribute.
* The cached value of the '{@link #getMinOperatingCurrentDensity() <em>Min Operating Current Density</em>}' attribute.
...
@@ -146,8 +148,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
...
@@ -146,8 +148,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
OVERLOAD_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
OVERLOAD_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"120 %"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"120 %"
);
/**
/**
* The cached value of the '{@link #getOverloadCapacity() <em>Overload Capacity</em>}' attribute.
* The cached value of the '{@link #getOverloadCapacity() <em>Overload Capacity</em>}' attribute.
...
@@ -167,8 +169,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
...
@@ -167,8 +169,8 @@ public class ElectrolyzerImpl extends EnergyComponentImpl implements Electrolyze
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
NOMINAL_CELL_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
NOMINAL_CELL_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1.94 V"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1.94 V"
);
/**
/**
* The cached value of the '{@link #getNominalCellVoltage() <em>Nominal Cell Voltage</em>}' attribute.
* The cached value of the '{@link #getNominalCellVoltage() <em>Nominal Cell Voltage</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/EnCompFactoryImpl.java
View file @
7ad4aed5
...
@@ -4,8 +4,6 @@ package de.hftstuttgart.energycomponents.impl;
...
@@ -4,8 +4,6 @@ package de.hftstuttgart.energycomponents.impl;
import
de.hftstuttgart.energycomponents.*
;
import
de.hftstuttgart.energycomponents.*
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EDataType
;
import
org.eclipse.emf.ecore.EDataType
;
import
org.eclipse.emf.ecore.EObject
;
import
org.eclipse.emf.ecore.EObject
;
...
@@ -158,10 +156,6 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -158,10 +156,6 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
return
createFuelTypesFromString
(
eDataType
,
initialValue
);
return
createFuelTypesFromString
(
eDataType
,
initialValue
);
case
EnCompPackage
.
TYPE_OF_HEAT_SOURCE
:
case
EnCompPackage
.
TYPE_OF_HEAT_SOURCE
:
return
createTypeOfHeatSourceFromString
(
eDataType
,
initialValue
);
return
createTypeOfHeatSourceFromString
(
eDataType
,
initialValue
);
case
EnCompPackage
.
QUANTITY_DOUBLE
:
return
createQuantityDoubleFromString
(
eDataType
,
initialValue
);
case
EnCompPackage
.
QUANTITY_LONG
:
return
createQuantityLongFromString
(
eDataType
,
initialValue
);
default
:
default
:
throw
new
IllegalArgumentException
(
"The datatype '"
+
eDataType
.
getName
()
+
"' is not a valid classifier"
);
throw
new
IllegalArgumentException
(
"The datatype '"
+
eDataType
.
getName
()
+
"' is not a valid classifier"
);
}
}
...
@@ -191,10 +185,6 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -191,10 +185,6 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
return
convertFuelTypesToString
(
eDataType
,
instanceValue
);
return
convertFuelTypesToString
(
eDataType
,
instanceValue
);
case
EnCompPackage
.
TYPE_OF_HEAT_SOURCE
:
case
EnCompPackage
.
TYPE_OF_HEAT_SOURCE
:
return
convertTypeOfHeatSourceToString
(
eDataType
,
instanceValue
);
return
convertTypeOfHeatSourceToString
(
eDataType
,
instanceValue
);
case
EnCompPackage
.
QUANTITY_DOUBLE
:
return
convertQuantityDoubleToString
(
eDataType
,
instanceValue
);
case
EnCompPackage
.
QUANTITY_LONG
:
return
convertQuantityLongToString
(
eDataType
,
instanceValue
);
default
:
default
:
throw
new
IllegalArgumentException
(
"The datatype '"
+
eDataType
.
getName
()
+
"' is not a valid classifier"
);
throw
new
IllegalArgumentException
(
"The datatype '"
+
eDataType
.
getName
()
+
"' is not a valid classifier"
);
}
}
...
@@ -700,8 +690,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -700,8 +690,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
Fue
lTypes
create
Fue
lTypesFromString
(
EDataType
eDataType
,
String
initialValue
)
{
public
cel
lTypes
Electrolyzer
create
cel
lTypes
Electrolyzer
FromString
(
EDataType
eDataType
,
String
initialValue
)
{
Fue
lTypes
result
=
Fue
lTypes
.
get
(
initialValue
);
cel
lTypes
Electrolyzer
result
=
cel
lTypes
Electrolyzer
.
get
(
initialValue
);
if
(
result
==
null
)
if
(
result
==
null
)
throw
new
IllegalArgumentException
(
throw
new
IllegalArgumentException
(
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
...
@@ -713,7 +703,7 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -713,7 +703,7 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
String
convert
Fue
lTypesToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
public
String
convert
cel
lTypes
Electrolyzer
ToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
}
}
...
@@ -722,8 +712,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -722,8 +712,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
TypeOfHeatSource
createTypeOfHeatSource
FromString
(
EDataType
eDataType
,
String
initialValue
)
{
public
FuelTypes
createFuelTypes
FromString
(
EDataType
eDataType
,
String
initialValue
)
{
TypeOfHeatSource
result
=
TypeOfHeatSource
.
get
(
initialValue
);
FuelTypes
result
=
FuelTypes
.
get
(
initialValue
);
if
(
result
==
null
)
if
(
result
==
null
)
throw
new
IllegalArgumentException
(
throw
new
IllegalArgumentException
(
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
...
@@ -735,7 +725,7 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -735,7 +725,7 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
String
convert
TypeOfHeatSource
ToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
public
String
convert
FuelTypes
ToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
}
}
...
@@ -744,8 +734,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -744,8 +734,8 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
cellTypesElectrolyzer
createcellTypesElectrolyzer
FromString
(
EDataType
eDataType
,
String
initialValue
)
{
public
TypeOfHeatSource
createTypeOfHeatSource
FromString
(
EDataType
eDataType
,
String
initialValue
)
{
cellTypesElectrolyzer
result
=
cellTypesElectrolyzer
.
get
(
initialValue
);
TypeOfHeatSource
result
=
TypeOfHeatSource
.
get
(
initialValue
);
if
(
result
==
null
)
if
(
result
==
null
)
throw
new
IllegalArgumentException
(
throw
new
IllegalArgumentException
(
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
"The value '"
+
initialValue
+
"' is not a valid enumerator of '"
+
eDataType
.
getName
()
+
"'"
);
...
@@ -757,82 +747,10 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
...
@@ -757,82 +747,10 @@ public class EnCompFactoryImpl extends EFactoryImpl implements EnCompFactory {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
String
convert
cellTypesElectrolyzer
ToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
public
String
convert
TypeOfHeatSource
ToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
return
instanceValue
==
null
?
null
:
instanceValue
.
toString
();
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
NullableQuantity
createQuantityDouble
(
final
String
it
)
{
return
de
.
hftstuttgart
.
units
.
NullableQuantity
.
create
(
it
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
NullableQuantity
createQuantityDoubleFromString
(
EDataType
eDataType
,
String
initialValue
)
{
return
createQuantityDouble
(
initialValue
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
String
convertQuantityDouble
(
final
NullableQuantity
it
)
{
return
it
==
null
?
null
:
it
.
toString
();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
String
convertQuantityDoubleToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
return
convertQuantityDouble
((
NullableQuantity
)
instanceValue
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
NullableQuantity
createQuantityLong
(
final
String
it
)
{
return
de
.
hftstuttgart
.
units
.
NullableQuantity
.
create
(
it
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
NullableQuantity
createQuantityLongFromString
(
EDataType
eDataType
,
String
initialValue
)
{
return
createQuantityLong
(
initialValue
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
String
convertQuantityLong
(
final
NullableQuantity
it
)
{
return
it
==
null
?
null
:
it
.
toString
();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
String
convertQuantityLongToString
(
EDataType
eDataType
,
Object
instanceValue
)
{
return
convertQuantityLong
((
NullableQuantity
)
instanceValue
);
}
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/EnCompPackageImpl.java
View file @
7ad4aed5
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.BioFuel
;
import
de.hftstuttgart.energycomponents.BioFuel
;
import
de.hftstuttgart.energycomponents.Boiler
;
import
de.hftstuttgart.energycomponents.Boiler
;
import
de.hftstuttgart.energycomponents.BoilerTypes
;
import
de.hftstuttgart.energycomponents.BoilerTypes
;
...
@@ -53,11 +55,9 @@ import de.hftstuttgart.energycomponents.ThermalStorageTypes;
...
@@ -53,11 +55,9 @@ import de.hftstuttgart.energycomponents.ThermalStorageTypes;
import
de.hftstuttgart.energycomponents.TypeOfHeatSource
;
import
de.hftstuttgart.energycomponents.TypeOfHeatSource
;
import
de.hftstuttgart.energycomponents.WindTurbine
;
import
de.hftstuttgart.energycomponents.WindTurbine
;
import
de.hftstuttgart.energycomponents.cellTypesElectrolyzer
;
import
de.hftstuttgart.energycomponents.cellTypesElectrolyzer
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.ecore.EAttribute
;
import
org.eclipse.emf.ecore.EAttribute
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EDataType
;
import
org.eclipse.emf.ecore.EEnum
;
import
org.eclipse.emf.ecore.EEnum
;
import
org.eclipse.emf.ecore.EOperation
;
import
org.eclipse.emf.ecore.EOperation
;
import
org.eclipse.emf.ecore.EPackage
;
import
org.eclipse.emf.ecore.EPackage
;
...
@@ -396,20 +396,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -396,20 +396,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
*/
*/
private
EEnum
thermalStorageTypesEEnum
=
null
;
private
EEnum
thermalStorageTypesEEnum
=
null
;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private
EEnum
fuelTypesEEnum
=
null
;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private
EEnum
typeOfHeatSourceEEnum
=
null
;
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
...
@@ -422,14 +408,14 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -422,14 +408,14 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
private
E
DataType
quantityDoubleEDataType
=
null
;
private
E
Enum
fuelTypesEEnum
=
null
;
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
private
E
DataType
quantityLongEDataType
=
null
;
private
E
Enum
typeOfHeatSourceEEnum
=
null
;
/**
/**
* Creates an instance of the model <b>Package</b>, registered with
* Creates an instance of the model <b>Package</b>, registered with
...
@@ -482,6 +468,7 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -482,6 +468,7 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
isInited
=
true
;
isInited
=
true
;
// Initialize simple dependencies
// Initialize simple dependencies
QuantitiesPackage
.
eINSTANCE
.
eClass
();
XMLTypePackage
.
eINSTANCE
.
eClass
();
XMLTypePackage
.
eINSTANCE
.
eClass
();
// Create package meta-data objects
// Create package meta-data objects
...
@@ -1074,8 +1061,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -1074,8 +1061,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* @generated
* @generated
*/
*/
@Override
@Override
public
EReference
getHeatPump_
PowerInput
()
{
public
EReference
getHeatPump_
CoefficientOfPerformance
()
{
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
2
);
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
1
);
}
}
/**
/**
...
@@ -1084,8 +1071,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -1084,8 +1071,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* @generated
* @generated
*/
*/
@Override
@Override
public
EReference
getHeatPump_
HeatOut
put
()
{
public
EReference
getHeatPump_
PowerIn
put
()
{
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
3
);
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
2
);
}
}
/**
/**
...
@@ -1094,8 +1081,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -1094,8 +1081,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* @generated
* @generated
*/
*/
@Override
@Override
public
EReference
getHeatPump_
CoefficientOfPerformance
()
{
public
EReference
getHeatPump_
HeatOutput
()
{
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
1
);
return
(
EReference
)
heatPumpEClass
.
getEStructuralFeatures
().
get
(
3
);
}
}
/**
/**
...
@@ -2248,6 +2235,36 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2248,6 +2235,36 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
return
costEClass
;
return
costEClass
;
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_ComponentName
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
0
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_Description
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
1
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_HeatSource
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
2
);
}
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
...
@@ -2388,36 +2405,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2388,36 +2405,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
return
powerFunctionEClass
.
getEOperations
().
get
(
0
);
return
powerFunctionEClass
.
getEOperations
().
get
(
0
);
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_ComponentName
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
0
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_Description
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
1
);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EAttribute
getCost_HeatSource
()
{
return
(
EAttribute
)
costEClass
.
getEStructuralFeatures
().
get
(
2
);
}
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
...
@@ -2468,26 +2455,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2468,26 +2455,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
return
thermalStorageTypesEEnum
;
return
thermalStorageTypesEEnum
;
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EEnum
getFuelTypes
()
{
return
fuelTypesEEnum
;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public
EEnum
getTypeOfHeatSource
()
{
return
typeOfHeatSourceEEnum
;
}
/**
/**
* <!-- begin-user-doc -->
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- end-user-doc -->
...
@@ -2504,8 +2471,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2504,8 +2471,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* @generated
* @generated
*/
*/
@Override
@Override
public
E
DataType
getQuantityDouble
()
{
public
E
Enum
getFuelTypes
()
{
return
quantityDoubleEDataType
;
return
fuelTypesEEnum
;
}
}
/**
/**
...
@@ -2514,8 +2481,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2514,8 +2481,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
* @generated
* @generated
*/
*/
@Override
@Override
public
E
DataType
getQuantityLong
()
{
public
E
Enum
getTypeOfHeatSource
()
{
return
quantityLongEDataType
;
return
typeOfHeatSourceEEnum
;
}
}
/**
/**
...
@@ -2790,10 +2757,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2790,10 +2757,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
cellTypesElectrolyzerEEnum
=
createEEnum
(
CELL_TYPES_ELECTROLYZER
);
cellTypesElectrolyzerEEnum
=
createEEnum
(
CELL_TYPES_ELECTROLYZER
);
fuelTypesEEnum
=
createEEnum
(
FUEL_TYPES
);
fuelTypesEEnum
=
createEEnum
(
FUEL_TYPES
);
typeOfHeatSourceEEnum
=
createEEnum
(
TYPE_OF_HEAT_SOURCE
);
typeOfHeatSourceEEnum
=
createEEnum
(
TYPE_OF_HEAT_SOURCE
);
// Create data types
quantityDoubleEDataType
=
createEDataType
(
QUANTITY_DOUBLE
);
quantityLongEDataType
=
createEDataType
(
QUANTITY_LONG
);
}
}
/**
/**
...
@@ -2821,6 +2784,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2821,6 +2784,8 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
setNsURI
(
eNS_URI
);
setNsURI
(
eNS_URI
);
// Obtain other dependent packages
// Obtain other dependent packages
QuantitiesPackage
theQuantitiesPackage
=
(
QuantitiesPackage
)
EPackage
.
Registry
.
INSTANCE
.
getEPackage
(
QuantitiesPackage
.
eNS_URI
);
XMLTypePackage
theXMLTypePackage
=
(
XMLTypePackage
)
EPackage
.
Registry
.
INSTANCE
XMLTypePackage
theXMLTypePackage
=
(
XMLTypePackage
)
EPackage
.
Registry
.
INSTANCE
.
getEPackage
(
XMLTypePackage
.
eNS_URI
);
.
getEPackage
(
XMLTypePackage
.
eNS_URI
);
...
@@ -2950,28 +2915,28 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2950,28 +2915,28 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEClass
(
thermalStorageEClass
,
ThermalStorage
.
class
,
"ThermalStorage"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
thermalStorageEClass
,
ThermalStorage
.
class
,
"ThermalStorage"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getThermalStorage_Volume
(),
th
is
.
getQuantityDouble
(),
"volume"
,
"5 m\u00b3"
,
0
,
1
,
initEAttribute
(
getThermalStorage_Volume
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"volume"
,
"5 m\u00b3"
,
0
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_ThermalStorageType
(),
this
.
getThermalStorageTypes
(),
"thermalStorageType"
,
initEAttribute
(
getThermalStorage_ThermalStorageType
(),
this
.
getThermalStorageTypes
(),
"thermalStorageType"
,
null
,
0
,
1
,
ThermalStorage
.
class
,
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
null
,
0
,
1
,
ThermalStorage
.
class
,
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_MaxTemp
(),
this
.
getQuantityDouble
(),
"maxTemp"
,
"80 \u00b0C"
,
0
,
1
,
initEAttribute
(
getThermalStorage_MaxTemp
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"maxTemp"
,
"80 \u00b0C"
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_TankThickness
(),
this
.
getQuantityDouble
(),
"tankThickness"
,
"10 mm "
,
0
,
1
,
initEAttribute
(
getThermalStorage_TankThickness
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"tankThickness"
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"10 mm "
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_InsulationThickness
(),
this
.
getQuantityDouble
(),
"insulationThickness"
,
"100 mm"
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_InsulationThickness
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"insulationThickness"
,
"100 mm"
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEReference
(
getThermalStorage_UsesMedium
(),
this
.
getMedium
(),
null
,
"usesMedium"
,
null
,
1
,
1
,
initEReference
(
getThermalStorage_UsesMedium
(),
this
.
getMedium
(),
null
,
"usesMedium"
,
null
,
1
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_COMPOSITE
,
IS_RESOLVE_PROXIES
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_COMPOSITE
,
IS_RESOLVE_PROXIES
,
!
IS_UNSETTABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEReference
(
getThermalStorage_InsulationMaterial
(),
this
.
getMaterial
(),
null
,
"insulationMaterial"
,
null
,
0
,
initEReference
(
getThermalStorage_InsulationMaterial
(),
this
.
getMaterial
(),
null
,
"insulationMaterial"
,
null
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_COMPOSITE
,
IS_RESOLVE_PROXIES
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_COMPOSITE
,
IS_RESOLVE_PROXIES
,
!
IS_UNSETTABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalStorage_Height
(),
th
is
.
getQuantityDouble
(),
"height"
,
"2 m"
,
0
,
1
,
initEAttribute
(
getThermalStorage_Height
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"height"
,
"2 m"
,
0
,
1
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
ThermalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEReference
(
getThermalStorage_TankMaterial
(),
this
.
getMaterial
(),
null
,
"tankMaterial"
,
null
,
0
,
1
,
initEReference
(
getThermalStorage_TankMaterial
(),
this
.
getMaterial
(),
null
,
"tankMaterial"
,
null
,
0
,
1
,
...
@@ -2983,12 +2948,12 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -2983,12 +2948,12 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getElectricalStorage_ElectricalStorageType
(),
this
.
getElectricalStorageTypes
(),
initEAttribute
(
getElectricalStorage_ElectricalStorageType
(),
this
.
getElectricalStorageTypes
(),
"electricalStorageType"
,
null
,
1
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"electricalStorageType"
,
null
,
1
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectricalStorage_BatteryCapacity
(),
th
is
.
getQuantityDouble
(),
"batteryCapacity"
,
"A*h"
,
1
,
1
,
initEAttribute
(
getElectricalStorage_BatteryCapacity
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"batteryCapacity"
,
"A*h"
,
1
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectricalStorage_BatteryVoltage
(),
th
is
.
getQuantityDouble
(),
"batteryVoltage"
,
"V"
,
0
,
1
,
initEAttribute
(
getElectricalStorage_BatteryVoltage
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"batteryVoltage"
,
"V"
,
0
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectricalStorage_BatteryLifeCycle
(),
ecorePackage
.
getEDouble
(),
"batteryLifeCycle"
,
"7000"
,
initEAttribute
(
getElectricalStorage_BatteryLifeCycle
(),
ecorePackage
.
getEDouble
(),
"batteryLifeCycle"
,
"7000"
,
0
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
0
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3001,9 +2966,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3001,9 +2966,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getElectricalStorage_BatteryEffiency
(),
ecorePackage
.
getEDouble
(),
"batteryEffiency"
,
"0.8"
,
0
,
initEAttribute
(
getElectricalStorage_BatteryEffiency
(),
ecorePackage
.
getEDouble
(),
"batteryEffiency"
,
"0.8"
,
0
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectricalStorage_EnergyContent
(),
th
is
.
getQuantityDouble
(),
"energyContent"
,
"5 kW*h"
,
1
,
1
,
initEAttribute
(
getElectricalStorage_EnergyContent
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"energyContent"
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"5 kW*h"
,
1
,
1
,
ElectricalStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
combinedHeatPowerEClass
,
CombinedHeatPower
.
class
,
"CombinedHeatPower"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
combinedHeatPowerEClass
,
CombinedHeatPower
.
class
,
"CombinedHeatPower"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
...
@@ -3013,7 +2978,7 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3013,7 +2978,7 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getCombinedHeatPower_ElectricalEfficiency
(),
ecorePackage
.
getEDouble
(),
"electricalEfficiency"
,
initEAttribute
(
getCombinedHeatPower_ElectricalEfficiency
(),
ecorePackage
.
getEDouble
(),
"electricalEfficiency"
,
"0.4"
,
1
,
1
,
CombinedHeatPower
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
"0.4"
,
1
,
1
,
CombinedHeatPower
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getCombinedHeatPower_InstalledElectricalPower
(),
th
is
.
getQuantityDouble
(),
initEAttribute
(
getCombinedHeatPower_InstalledElectricalPower
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"installedElectricalPower"
,
"kW"
,
1
,
1
,
CombinedHeatPower
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"installedElectricalPower"
,
"kW"
,
1
,
1
,
CombinedHeatPower
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEReference
(
getCombinedHeatPower_ElectricalEfficiencyPartLoad
(),
this
.
getCharacteristic
(),
null
,
initEReference
(
getCombinedHeatPower_ElectricalEfficiencyPartLoad
(),
this
.
getCharacteristic
(),
null
,
...
@@ -3049,9 +3014,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3049,9 +3014,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getSolarThermalCollector_CollectorType
(),
this
.
getCollectorTypes
(),
"collectorType"
,
null
,
1
,
1
,
initEAttribute
(
getSolarThermalCollector_CollectorType
(),
this
.
getCollectorTypes
(),
"collectorType"
,
null
,
1
,
1
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getSolarThermalCollector_ApertureArea
(),
th
is
.
getQuantityDouble
(),
"apertureArea"
,
"m\u00b2"
,
1
,
initEAttribute
(
getSolarThermalCollector_ApertureArea
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
1
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"apertureArea"
,
"m\u00b2"
,
1
,
1
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getSolarThermalCollector_OpticalEfficiency
(),
ecorePackage
.
getEDouble
(),
"opticalEfficiency"
,
initEAttribute
(
getSolarThermalCollector_OpticalEfficiency
(),
ecorePackage
.
getEDouble
(),
"opticalEfficiency"
,
"0.77"
,
0
,
1
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
"0.77"
,
0
,
1
,
SolarThermalCollector
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3067,28 +3032,28 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3067,28 +3032,28 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getElectrolyzer_CellType
(),
this
.
getcellTypesElectrolyzer
(),
"cellType"
,
null
,
0
,
1
,
initEAttribute
(
getElectrolyzer_CellType
(),
this
.
getcellTypesElectrolyzer
(),
"cellType"
,
null
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_CellArea
(),
th
is
.
getQuantityDouble
(),
"cellArea"
,
"50 cm\u00b2"
,
1
,
1
,
initEAttribute
(
getElectrolyzer_CellArea
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"cellArea"
,
"50 cm\u00b2"
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
1
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_NumberOfCells
(),
ecorePackage
.
getEDouble
(),
"numberOfCells"
,
"5"
,
1
,
1
,
initEAttribute
(
getElectrolyzer_NumberOfCells
(),
ecorePackage
.
getEDouble
(),
"numberOfCells"
,
"5"
,
1
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_MaxOperatingCurrentDensity
(),
th
is
.
getQuantityDouble
(),
initEAttribute
(
getElectrolyzer_MaxOperatingCurrentDensity
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"maxOperatingCurrentDensity"
,
"3 A/cm\u00b2"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"maxOperatingCurrentDensity"
,
"3 A/cm\u00b2"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_MinOperatingCurrentDensity
(),
th
is
.
getQuantityDouble
(),
initEAttribute
(
getElectrolyzer_MinOperatingCurrentDensity
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"minOperatingCurrentDensity"
,
"0.3 A/cm\u00b2"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"minOperatingCurrentDensity"
,
"0.3 A/cm\u00b2"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_OverloadCapacity
(),
th
is
.
getQuantityDouble
(),
"overloadCapacity"
,
"120 %"
,
0
,
1
,
initEAttribute
(
getElectrolyzer_OverloadCapacity
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"overloadCapacity"
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"120 %"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getElectrolyzer_NominalCellVoltage
(),
th
is
.
getQuantityDouble
(),
"nominalCellVoltage"
,
"1.94 V"
,
initEAttribute
(
getElectrolyzer_NominalCellVoltage
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"nominalCellVoltage"
,
"1.94 V"
,
0
,
1
,
Electrolyzer
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
thermalEnergyDeviceEClass
,
ThermalEnergyDevice
.
class
,
"ThermalEnergyDevice"
,
IS_ABSTRACT
,
initEClass
(
thermalEnergyDeviceEClass
,
ThermalEnergyDevice
.
class
,
"ThermalEnergyDevice"
,
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getThermalEnergyDevice_InstalledThermalPower
(),
th
is
.
getQuantityDouble
(),
initEAttribute
(
getThermalEnergyDevice_InstalledThermalPower
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"installedThermalPower"
,
"kW"
,
1
,
1
,
ThermalEnergyDevice
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"installedThermalPower"
,
"kW"
,
1
,
1
,
ThermalEnergyDevice
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getThermalEnergyDevice_ModulationRange
(),
ecorePackage
.
getEDouble
(),
"modulationRange"
,
"0.5"
,
0
,
initEAttribute
(
getThermalEnergyDevice_ModulationRange
(),
ecorePackage
.
getEDouble
(),
"modulationRange"
,
"0.5"
,
0
,
...
@@ -3106,33 +3071,33 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3106,33 +3071,33 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getHydrogenCompressor_ThermodynamicMode
(),
ecorePackage
.
getEInt
(),
"thermodynamicMode"
,
"0"
,
0
,
initEAttribute
(
getHydrogenCompressor_ThermodynamicMode
(),
ecorePackage
.
getEInt
(),
"thermodynamicMode"
,
"0"
,
0
,
1
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
1
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getHydrogenCompressor_MaxPressure
(),
th
is
.
getQuantityDouble
(),
"maxPressure"
,
"50 MPa"
,
0
,
1
,
initEAttribute
(
getHydrogenCompressor_MaxPressure
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"maxPressure"
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"50 MPa"
,
0
,
1
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getHydrogenCompressor_MaxDeliveryRate
(),
th
is
.
getQuantityDouble
(),
"maxDeliveryRate"
,
"9 kg/h"
,
initEAttribute
(
getHydrogenCompressor_MaxDeliveryRate
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
0
,
1
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"maxDeliveryRate"
,
"9 kg/h"
,
0
,
1
,
HydrogenCompressor
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
hydrogenStorageEClass
,
HydrogenStorage
.
class
,
"HydrogenStorage"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
hydrogenStorageEClass
,
HydrogenStorage
.
class
,
"HydrogenStorage"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getHydrogenStorage_NumberOfCylinders
(),
ecorePackage
.
getEInt
(),
"numberOfCylinders"
,
"1"
,
1
,
1
,
initEAttribute
(
getHydrogenStorage_NumberOfCylinders
(),
ecorePackage
.
getEInt
(),
"numberOfCylinders"
,
"1"
,
1
,
1
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getHydrogenStorage_CylinderVolume
(),
th
is
.
getQuantityDouble
(),
"cylinderVolume"
,
"1.5 m\u00b3"
,
initEAttribute
(
getHydrogenStorage_CylinderVolume
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"cylinderVolume"
,
1
,
1
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"1.5 m\u00b3"
,
1
,
1
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getHydrogenStorage_NominalPressure
(),
th
is
.
getQuantityDouble
(),
"nominalPressure"
,
"25 MPa"
,
0
,
initEAttribute
(
getHydrogenStorage_NominalPressure
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
1
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"nominalPressure"
,
"25 MPa"
,
0
,
1
,
HydrogenStorage
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
fuelCellEClass
,
FuelCell
.
class
,
"FuelCell"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
fuelCellEClass
,
FuelCell
.
class
,
"FuelCell"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
initEClass
(
energyCarrierEClass
,
EnergyCarrier
.
class
,
"EnergyCarrier"
,
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
energyCarrierEClass
,
EnergyCarrier
.
class
,
"EnergyCarrier"
,
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getEnergyCarrier_Co2EmissionsFactor
(),
th
is
.
getQuantityDouble
(),
"co2EmissionsFactor"
,
"t/MW*h"
,
initEAttribute
(
getEnergyCarrier_Co2EmissionsFactor
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
1
,
1
,
EnergyCarrier
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"co2EmissionsFactor"
,
"t/MW*h"
,
1
,
1
,
EnergyCarrier
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getEnergyCarrier_PrimaryEnergyFactor
(),
ecorePackage
.
getEDouble
(),
"primaryEnergyFactor"
,
null
,
initEAttribute
(
getEnergyCarrier_PrimaryEnergyFactor
(),
ecorePackage
.
getEDouble
(),
"primaryEnergyFactor"
,
null
,
1
,
1
,
EnergyCarrier
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
1
,
1
,
EnergyCarrier
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3169,14 +3134,15 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3169,14 +3134,15 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
fuelEClass
,
Fuel
.
class
,
"Fuel"
,
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEClass
(
fuelEClass
,
Fuel
.
class
,
"Fuel"
,
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getFuel_NetCalorificValue
(),
this
.
getQuantityDouble
(),
"netCalorificValue"
,
"(kW*h)/m\u00b3"
,
1
,
initEAttribute
(
getFuel_NetCalorificValue
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"netCalorificValue"
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"(kW*h)/m\u00b3"
,
1
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getFuel_GrossCalorificValue
(),
this
.
getQuantityDouble
(),
"grossCalorificValue"
,
"(kW*h)/m\u00b3"
,
initEAttribute
(
getFuel_GrossCalorificValue
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"grossCalorificValue"
,
1
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"(kW*h)/m\u00b3"
,
1
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getFuel_Density
(),
this
.
getQuantityDouble
(),
"density"
,
"kg/m\u00b3"
,
1
,
1
,
Fuel
.
class
,
initEAttribute
(
getFuel_Density
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"density"
,
"kg/m\u00b3"
,
1
,
1
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getFuel_FuelType
(),
this
.
getFuelTypes
(),
"fuelType"
,
null
,
1
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
initEAttribute
(
getFuel_FuelType
(),
this
.
getFuelTypes
(),
"fuelType"
,
null
,
1
,
1
,
Fuel
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3188,21 +3154,21 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3188,21 +3154,21 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getPhotovoltaicModule_CellType
(),
ecorePackage
.
getEEnumerator
(),
"cellType"
,
null
,
1
,
1
,
initEAttribute
(
getPhotovoltaicModule_CellType
(),
ecorePackage
.
getEEnumerator
(),
"cellType"
,
null
,
1
,
1
,
PhotovoltaicModule
.
class
,
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
PhotovoltaicModule
.
class
,
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getPhotovoltaicModule_NominalPower
(),
th
is
.
getQuantityDouble
(),
"nominalPower"
,
"W"
,
1
,
1
,
initEAttribute
(
getPhotovoltaicModule_NominalPower
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"nominalPower"
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"W"
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getPhotovoltaicModule_MppVoltage
(),
th
is
.
getQuantityDouble
(),
"mppVoltage"
,
"V"
,
1
,
1
,
initEAttribute
(
getPhotovoltaicModule_MppVoltage
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"mppVoltage"
,
"V"
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getPhotovoltaicModule_MppCurrent
(),
th
is
.
getQuantityDouble
(),
"mppCurrent"
,
"A"
,
1
,
1
,
initEAttribute
(
getPhotovoltaicModule_MppCurrent
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"mppCurrent"
,
"A"
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getPhotovoltaicModule_NominalEfficiency
(),
ecorePackage
.
getEDouble
(),
"nominalEfficiency"
,
initEAttribute
(
getPhotovoltaicModule_NominalEfficiency
(),
ecorePackage
.
getEDouble
(),
"nominalEfficiency"
,
"0.18"
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
"0.18"
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getPhotovoltaicModule_ModuleArea
(),
th
is
.
getQuantityDouble
(),
"moduleArea"
,
"m\u00b2"
,
1
,
1
,
initEAttribute
(
getPhotovoltaicModule_ModuleArea
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"moduleArea"
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"m\u00b2"
,
1
,
1
,
PhotovoltaicModule
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
inverterEClass
,
Inverter
.
class
,
"Inverter"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
inverterEClass
,
Inverter
.
class
,
"Inverter"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
...
@@ -3212,28 +3178,29 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3212,28 +3178,29 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getHeatExchanger_HeatRecoveryEfficiency
(),
ecorePackage
.
getEDouble
(),
"heatRecoveryEfficiency"
,
initEAttribute
(
getHeatExchanger_HeatRecoveryEfficiency
(),
ecorePackage
.
getEDouble
(),
"heatRecoveryEfficiency"
,
"0.8"
,
0
,
1
,
HeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"0.8"
,
0
,
1
,
HeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getHeatExchanger_NominalElectricityConsumption
(),
th
is
.
getQuantityDouble
(),
initEAttribute
(
getHeatExchanger_NominalElectricityConsumption
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
"nominalElectricityConsumption"
,
"W"
,
1
,
1
,
HeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
"nominalElectricityConsumption"
,
"W"
,
1
,
1
,
HeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
geothermalHeatExchangerEClass
,
GeothermalHeatExchanger
.
class
,
"GeothermalHeatExchanger"
,
initEClass
(
geothermalHeatExchangerEClass
,
GeothermalHeatExchanger
.
class
,
"GeothermalHeatExchanger"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getGeothermalHeatExchanger_PipeDiameter
(),
th
is
.
getQuantityDouble
(),
"pipeDiameter"
,
"1 cm"
,
0
,
initEAttribute
(
getGeothermalHeatExchanger_PipeDiameter
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
1
,
GeothermalHeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"pipeDiameter"
,
"1 cm"
,
0
,
1
,
GeothermalHeatExchanger
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEClass
(
mediumEClass
,
Medium
.
class
,
"Medium"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEClass
(
mediumEClass
,
Medium
.
class
,
"Medium"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getMedium_Density
(),
this
.
getQuantityDouble
(),
"density"
,
"g/cm\u00b3"
,
1
,
1
,
Medium
.
class
,
initEAttribute
(
getMedium_Density
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"density"
,
"g/cm\u00b3"
,
1
,
1
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_HeatCapacity
(),
this
.
getQuantityDouble
(),
"heatCapacity"
,
"kJ/(kg*K)"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_EvaporationTemperature
(),
this
.
getQuantityDouble
(),
"evaporationTemperature"
,
initEAttribute
(
getMedium_HeatCapacity
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"heatCapacity"
,
"kJ/(kg*K)"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_EvaporationTemperature
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"evaporationTemperature"
,
"\u00b0C"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_MeltingTemperature
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"meltingTemperature"
,
"\u00b0C"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
"\u00b0C"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_MeltingTemperature
(),
this
.
getQuantityDouble
(),
"meltingTemperature"
,
"\u00b0C"
,
0
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMedium_Name
(),
ecorePackage
.
getEString
(),
"name"
,
null
,
1
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
initEAttribute
(
getMedium_Name
(),
ecorePackage
.
getEString
(),
"name"
,
null
,
1
,
1
,
Medium
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3342,9 +3309,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3342,9 +3309,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEClass
(
materialEClass
,
Material
.
class
,
"Material"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
initEClass
(
materialEClass
,
Material
.
class
,
"Material"
,
!
IS_ABSTRACT
,
!
IS_INTERFACE
,
IS_GENERATED_INSTANCE_CLASS
);
IS_GENERATED_INSTANCE_CLASS
);
initEAttribute
(
getMaterial_ThermalConductivity
(),
th
is
.
getQuantityDouble
(),
"thermalConductivity"
,
" W/(m*K)"
,
initEAttribute
(
getMaterial_ThermalConductivity
(),
th
eQuantitiesPackage
.
getQuantityDouble
(),
0
,
1
,
Material
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
"thermalConductivity"
,
" W/(m*K)"
,
0
,
1
,
Material
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getMaterial_Name
(),
ecorePackage
.
getEString
(),
"name"
,
null
,
1
,
1
,
Material
.
class
,
!
IS_TRANSIENT
,
initEAttribute
(
getMaterial_Name
(),
ecorePackage
.
getEString
(),
"name"
,
null
,
1
,
1
,
Material
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
...
@@ -3378,8 +3345,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3378,8 +3345,9 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
initEAttribute
(
getCost_OtherInvestmentCost
(),
ecorePackage
.
getEDouble
(),
"otherInvestmentCost"
,
"0"
,
0
,
1
,
initEAttribute
(
getCost_OtherInvestmentCost
(),
ecorePackage
.
getEDouble
(),
"otherInvestmentCost"
,
"0"
,
0
,
1
,
Cost
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
Cost
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_ORDERED
);
initEAttribute
(
getCost_PersonnelHours
(),
this
.
getQuantityDouble
(),
"personnelHours"
,
"10 h"
,
0
,
1
,
Cost
.
class
,
initEAttribute
(
getCost_PersonnelHours
(),
theQuantitiesPackage
.
getQuantityDouble
(),
"personnelHours"
,
"10 h"
,
0
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
1
,
Cost
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
initEAttribute
(
getCost_PersonnelCostShare
(),
ecorePackage
.
getEDouble
(),
"personnelCostShare"
,
null
,
0
,
1
,
initEAttribute
(
getCost_PersonnelCostShare
(),
ecorePackage
.
getEDouble
(),
"personnelCostShare"
,
null
,
0
,
1
,
Cost
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
Cost
.
class
,
!
IS_TRANSIENT
,
!
IS_VOLATILE
,
IS_CHANGEABLE
,
!
IS_UNSETTABLE
,
!
IS_ID
,
IS_UNIQUE
,
!
IS_DERIVED
,
IS_ORDERED
);
IS_ORDERED
);
...
@@ -3465,12 +3433,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
...
@@ -3465,12 +3433,6 @@ public class EnCompPackageImpl extends EPackageImpl implements EnCompPackage {
addEEnumLiteral
(
typeOfHeatSourceEEnum
,
TypeOfHeatSource
.
SOIL
);
addEEnumLiteral
(
typeOfHeatSourceEEnum
,
TypeOfHeatSource
.
SOIL
);
addEEnumLiteral
(
typeOfHeatSourceEEnum
,
TypeOfHeatSource
.
NONE
);
addEEnumLiteral
(
typeOfHeatSourceEEnum
,
TypeOfHeatSource
.
NONE
);
// Initialize data types
initEDataType
(
quantityDoubleEDataType
,
NullableQuantity
.
class
,
"QuantityDouble"
,
IS_SERIALIZABLE
,
!
IS_GENERATED_INSTANCE_CLASS
);
initEDataType
(
quantityLongEDataType
,
NullableQuantity
.
class
,
"QuantityLong"
,
IS_SERIALIZABLE
,
!
IS_GENERATED_INSTANCE_CLASS
);
// Create resource
// Create resource
createResource
(
eNS_URI
);
createResource
(
eNS_URI
);
}
}
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/EnergyCarrierImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnergyCarrier
;
import
de.hftstuttgart.energycomponents.EnergyCarrier
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -40,8 +42,8 @@ public abstract class EnergyCarrierImpl extends MinimalEObjectImpl.Container imp
...
@@ -40,8 +42,8 @@ public abstract class EnergyCarrierImpl extends MinimalEObjectImpl.Container imp
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
CO2_EMISSIONS_FACTOR_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
CO2_EMISSIONS_FACTOR_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"t/MW*h"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"t/MW*h"
);
/**
/**
* The cached value of the '{@link #getCo2EmissionsFactor() <em>Co2 Emissions Factor</em>}' attribute.
* The cached value of the '{@link #getCo2EmissionsFactor() <em>Co2 Emissions Factor</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/EnergyComponentImpl.java
View file @
7ad4aed5
...
@@ -4,13 +4,13 @@ package de.hftstuttgart.energycomponents.impl;
...
@@ -4,13 +4,13 @@ package de.hftstuttgart.energycomponents.impl;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnergyComponent
;
import
de.hftstuttgart.energycomponents.EnergyComponent
;
import
de.hftstuttgart.energycomponents.Manufacturer
;
import
de.hftstuttgart.energycomponents.Manufacturer
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.InternalEObject
;
import
org.eclipse.emf.ecore.InternalEObject
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/EnergyComponentsCostCatalogImpl.java
View file @
7ad4aed5
...
@@ -5,6 +5,7 @@ package de.hftstuttgart.energycomponents.impl;
...
@@ -5,6 +5,7 @@ package de.hftstuttgart.energycomponents.impl;
import
de.hftstuttgart.energycomponents.Cost
;
import
de.hftstuttgart.energycomponents.Cost
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog
;
import
de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog
;
import
java.util.Collection
;
import
java.util.Collection
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
...
@@ -17,6 +18,7 @@ import org.eclipse.emf.ecore.InternalEObject;
...
@@ -17,6 +18,7 @@ import org.eclipse.emf.ecore.InternalEObject;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
import
org.eclipse.emf.ecore.util.EObjectContainmentEList
;
import
org.eclipse.emf.ecore.util.EObjectContainmentEList
;
import
org.eclipse.emf.ecore.util.InternalEList
;
import
org.eclipse.emf.ecore.util.InternalEList
;
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/FossilFuelImpl.java
View file @
7ad4aed5
...
@@ -4,6 +4,7 @@ package de.hftstuttgart.energycomponents.impl;
...
@@ -4,6 +4,7 @@ package de.hftstuttgart.energycomponents.impl;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.FossilFuel
;
import
de.hftstuttgart.energycomponents.FossilFuel
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/FuelImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.Fuel
;
import
de.hftstuttgart.energycomponents.Fuel
;
import
de.hftstuttgart.energycomponents.FuelTypes
;
import
de.hftstuttgart.energycomponents.FuelTypes
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
...
@@ -40,8 +42,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
...
@@ -40,8 +42,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
NET_CALORIFIC_VALUE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
NET_CALORIFIC_VALUE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"(kW*h)/m\u00b3"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"(kW*h)/m\u00b3"
);
/**
/**
* The cached value of the '{@link #getNetCalorificValue() <em>Net Calorific Value</em>}' attribute.
* The cached value of the '{@link #getNetCalorificValue() <em>Net Calorific Value</em>}' attribute.
...
@@ -61,8 +63,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
...
@@ -61,8 +63,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
GROSS_CALORIFIC_VALUE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
GROSS_CALORIFIC_VALUE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"(kW*h)/m\u00b3"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"(kW*h)/m\u00b3"
);
/**
/**
* The cached value of the '{@link #getGrossCalorificValue() <em>Gross Calorific Value</em>}' attribute.
* The cached value of the '{@link #getGrossCalorificValue() <em>Gross Calorific Value</em>}' attribute.
...
@@ -82,8 +84,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
...
@@ -82,8 +84,8 @@ public abstract class FuelImpl extends EnergyCarrierImpl implements Fuel {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
DENSITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
DENSITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kg/m\u00b3"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kg/m\u00b3"
);
/**
/**
* The cached value of the '{@link #getDensity() <em>Density</em>}' attribute.
* The cached value of the '{@link #getDensity() <em>Density</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/GeothermalHeatExchangerImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.GeothermalHeatExchanger
;
import
de.hftstuttgart.energycomponents.GeothermalHeatExchanger
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -36,8 +38,8 @@ public class GeothermalHeatExchangerImpl extends EnergyComponentImpl implements
...
@@ -36,8 +38,8 @@ public class GeothermalHeatExchangerImpl extends EnergyComponentImpl implements
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
PIPE_DIAMETER_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
PIPE_DIAMETER_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1 cm"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1 cm"
);
/**
/**
* The cached value of the '{@link #getPipeDiameter() <em>Pipe Diameter</em>}' attribute.
* The cached value of the '{@link #getPipeDiameter() <em>Pipe Diameter</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/HeatExchangerImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.HeatExchanger
;
import
de.hftstuttgart.energycomponents.HeatExchanger
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -57,8 +59,8 @@ public class HeatExchangerImpl extends EnergyComponentImpl implements HeatExchan
...
@@ -57,8 +59,8 @@ public class HeatExchangerImpl extends EnergyComponentImpl implements HeatExchan
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
NOMINAL_ELECTRICITY_CONSUMPTION_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
NOMINAL_ELECTRICITY_CONSUMPTION_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"W"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"W"
);
/**
/**
* The cached value of the '{@link #getNominalElectricityConsumption() <em>Nominal Electricity Consumption</em>}' attribute.
* The cached value of the '{@link #getNominalElectricityConsumption() <em>Nominal Electricity Consumption</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/HeatPumpImpl.java
View file @
7ad4aed5
...
@@ -6,8 +6,10 @@ import de.hftstuttgart.energycomponents.Characteristic;
...
@@ -6,8 +6,10 @@ import de.hftstuttgart.energycomponents.Characteristic;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.HeatPump
;
import
de.hftstuttgart.energycomponents.HeatPump
;
import
de.hftstuttgart.energycomponents.HeatSources
;
import
de.hftstuttgart.energycomponents.HeatSources
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.NotificationChain
;
import
org.eclipse.emf.common.notify.NotificationChain
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.InternalEObject
;
import
org.eclipse.emf.ecore.InternalEObject
;
...
@@ -129,8 +131,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -129,8 +131,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
Characteristic
get
PowerInput
()
{
public
Characteristic
get
CoefficientOfPerformance
()
{
return
powerInput
;
return
coefficientOfPerformance
;
}
}
/**
/**
...
@@ -138,12 +140,14 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -138,12 +140,14 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
NotificationChain
basicSetPowerInput
(
Characteristic
newPowerInput
,
NotificationChain
msgs
)
{
public
NotificationChain
basicSetCoefficientOfPerformance
(
Characteristic
newCoefficientOfPerformance
,
Characteristic
oldPowerInput
=
powerInput
;
NotificationChain
msgs
)
{
powerInput
=
newPowerInput
;
Characteristic
oldCoefficientOfPerformance
=
coefficientOfPerformance
;
coefficientOfPerformance
=
newCoefficientOfPerformance
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__POWER_INPUT
,
oldPowerInput
,
newPowerInput
);
EnCompPackage
.
HEAT_PUMP__COEFFICIENT_OF_PERFORMANCE
,
oldCoefficientOfPerformance
,
newCoefficientOfPerformance
);
if
(
msgs
==
null
)
if
(
msgs
==
null
)
msgs
=
notification
;
msgs
=
notification
;
else
else
...
@@ -158,21 +162,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -158,21 +162,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
void
set
PowerInput
(
Characteristic
newPowerInput
)
{
public
void
set
CoefficientOfPerformance
(
Characteristic
newCoefficientOfPerformance
)
{
if
(
new
PowerInput
!=
powerInput
)
{
if
(
new
CoefficientOfPerformance
!=
coefficientOfPerformance
)
{
NotificationChain
msgs
=
null
;
NotificationChain
msgs
=
null
;
if
(
powerInput
!=
null
)
if
(
coefficientOfPerformance
!=
null
)
msgs
=
((
InternalEObject
)
powerInput
).
eInverseRemove
(
this
,
msgs
=
((
InternalEObject
)
coefficientOfPerformance
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
POWER_INPUT
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
null
,
msgs
);
if
(
new
PowerInput
!=
null
)
if
(
new
CoefficientOfPerformance
!=
null
)
msgs
=
((
InternalEObject
)
new
PowerInput
).
eInverseAdd
(
this
,
msgs
=
((
InternalEObject
)
new
CoefficientOfPerformance
).
eInverseAdd
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
POWER_INPUT
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
null
,
msgs
);
msgs
=
basicSet
PowerInput
(
newPowerInput
,
msgs
);
msgs
=
basicSet
CoefficientOfPerformance
(
newCoefficientOfPerformance
,
msgs
);
if
(
msgs
!=
null
)
if
(
msgs
!=
null
)
msgs
.
dispatch
();
msgs
.
dispatch
();
}
else
if
(
eNotificationRequired
())
}
else
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
POWER_INPUT
,
newPowerInput
,
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
new
PowerInput
));
new
CoefficientOfPerformance
,
newCoefficientOfPerformance
));
}
}
/**
/**
...
@@ -181,8 +185,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -181,8 +185,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
Characteristic
get
HeatOut
put
()
{
public
Characteristic
get
PowerIn
put
()
{
return
heatOut
put
;
return
powerIn
put
;
}
}
/**
/**
...
@@ -190,12 +194,12 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -190,12 +194,12 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
NotificationChain
basicSet
HeatOut
put
(
Characteristic
new
HeatOut
put
,
NotificationChain
msgs
)
{
public
NotificationChain
basicSet
PowerIn
put
(
Characteristic
new
PowerIn
put
,
NotificationChain
msgs
)
{
Characteristic
old
HeatOutput
=
heatOut
put
;
Characteristic
old
PowerInput
=
powerIn
put
;
heatOut
put
=
new
HeatOut
put
;
powerIn
put
=
new
PowerIn
put
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
HEAT_OUT
PUT
,
old
HeatOut
put
,
new
HeatOut
put
);
EnCompPackage
.
HEAT_PUMP__
POWER_IN
PUT
,
old
PowerIn
put
,
new
PowerIn
put
);
if
(
msgs
==
null
)
if
(
msgs
==
null
)
msgs
=
notification
;
msgs
=
notification
;
else
else
...
@@ -210,21 +214,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -210,21 +214,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
void
set
HeatOut
put
(
Characteristic
new
HeatOut
put
)
{
public
void
set
PowerIn
put
(
Characteristic
new
PowerIn
put
)
{
if
(
new
HeatOutput
!=
heatOut
put
)
{
if
(
new
PowerInput
!=
powerIn
put
)
{
NotificationChain
msgs
=
null
;
NotificationChain
msgs
=
null
;
if
(
heatOut
put
!=
null
)
if
(
powerIn
put
!=
null
)
msgs
=
((
InternalEObject
)
heatOut
put
).
eInverseRemove
(
this
,
msgs
=
((
InternalEObject
)
powerIn
put
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
HEAT_OUT
PUT
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
POWER_IN
PUT
,
null
,
msgs
);
if
(
new
HeatOut
put
!=
null
)
if
(
new
PowerIn
put
!=
null
)
msgs
=
((
InternalEObject
)
new
HeatOut
put
).
eInverseAdd
(
this
,
msgs
=
((
InternalEObject
)
new
PowerIn
put
).
eInverseAdd
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
HEAT_OUT
PUT
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
POWER_IN
PUT
,
null
,
msgs
);
msgs
=
basicSet
HeatOutput
(
newHeatOut
put
,
msgs
);
msgs
=
basicSet
PowerInput
(
newPowerIn
put
,
msgs
);
if
(
msgs
!=
null
)
if
(
msgs
!=
null
)
msgs
.
dispatch
();
msgs
.
dispatch
();
}
else
if
(
eNotificationRequired
())
}
else
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
HEAT_OUT
PUT
,
new
HeatOut
put
,
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
POWER_IN
PUT
,
new
PowerIn
put
,
new
HeatOut
put
));
new
PowerIn
put
));
}
}
/**
/**
...
@@ -233,8 +237,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -233,8 +237,8 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
Characteristic
get
CoefficientOfPerformance
()
{
public
Characteristic
get
HeatOutput
()
{
return
coefficientOfPerformance
;
return
heatOutput
;
}
}
/**
/**
...
@@ -242,14 +246,12 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -242,14 +246,12 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
public
NotificationChain
basicSetCoefficientOfPerformance
(
Characteristic
newCoefficientOfPerformance
,
public
NotificationChain
basicSetHeatOutput
(
Characteristic
newHeatOutput
,
NotificationChain
msgs
)
{
NotificationChain
msgs
)
{
Characteristic
oldHeatOutput
=
heatOutput
;
Characteristic
oldCoefficientOfPerformance
=
coefficientOfPerformance
;
heatOutput
=
newHeatOutput
;
coefficientOfPerformance
=
newCoefficientOfPerformance
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__COEFFICIENT_OF_PERFORMANCE
,
oldCoefficientOfPerformance
,
EnCompPackage
.
HEAT_PUMP__HEAT_OUTPUT
,
oldHeatOutput
,
newHeatOutput
);
newCoefficientOfPerformance
);
if
(
msgs
==
null
)
if
(
msgs
==
null
)
msgs
=
notification
;
msgs
=
notification
;
else
else
...
@@ -264,21 +266,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -264,21 +266,21 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* @generated
* @generated
*/
*/
@Override
@Override
public
void
set
CoefficientOfPerformance
(
Characteristic
newCoefficientOfPerformance
)
{
public
void
set
HeatOutput
(
Characteristic
newHeatOutput
)
{
if
(
new
CoefficientOfPerformance
!=
coefficientOfPerformance
)
{
if
(
new
HeatOutput
!=
heatOutput
)
{
NotificationChain
msgs
=
null
;
NotificationChain
msgs
=
null
;
if
(
coefficientOfPerformance
!=
null
)
if
(
heatOutput
!=
null
)
msgs
=
((
InternalEObject
)
coefficientOfPerformance
).
eInverseRemove
(
this
,
msgs
=
((
InternalEObject
)
heatOutput
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
HEAT_OUTPUT
,
null
,
msgs
);
if
(
new
CoefficientOfPerformance
!=
null
)
if
(
new
HeatOutput
!=
null
)
msgs
=
((
InternalEObject
)
new
CoefficientOfPerformance
).
eInverseAdd
(
this
,
msgs
=
((
InternalEObject
)
new
HeatOutput
).
eInverseAdd
(
this
,
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
null
,
msgs
);
EOPPOSITE_FEATURE_BASE
-
EnCompPackage
.
HEAT_PUMP__
HEAT_OUTPUT
,
null
,
msgs
);
msgs
=
basicSet
CoefficientOfPerformance
(
newCoefficientOfPerformance
,
msgs
);
msgs
=
basicSet
HeatOutput
(
newHeatOutput
,
msgs
);
if
(
msgs
!=
null
)
if
(
msgs
!=
null
)
msgs
.
dispatch
();
msgs
.
dispatch
();
}
else
if
(
eNotificationRequired
())
}
else
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
COEFFICIENT_OF_PERFORMANCE
,
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
SET
,
EnCompPackage
.
HEAT_PUMP__
HEAT_OUTPUT
,
newHeatOutput
,
new
CoefficientOfPerformance
,
newCoefficientOfPerformance
));
new
HeatOutput
));
}
}
/**
/**
...
@@ -324,7 +326,6 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
...
@@ -324,7 +326,6 @@ public class HeatPumpImpl extends ThermalEnergyDeviceImpl implements HeatPump {
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
@SuppressWarnings
(
"unchecked"
)
@Override
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/HydrogenCompressorImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.HydrogenCompressor
;
import
de.hftstuttgart.energycomponents.HydrogenCompressor
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -79,8 +81,8 @@ public class HydrogenCompressorImpl extends EnergyComponentImpl implements Hydro
...
@@ -79,8 +81,8 @@ public class HydrogenCompressorImpl extends EnergyComponentImpl implements Hydro
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MAX_PRESSURE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MAX_PRESSURE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"50 MPa"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"50 MPa"
);
/**
/**
* The cached value of the '{@link #getMaxPressure() <em>Max Pressure</em>}' attribute.
* The cached value of the '{@link #getMaxPressure() <em>Max Pressure</em>}' attribute.
...
@@ -100,8 +102,8 @@ public class HydrogenCompressorImpl extends EnergyComponentImpl implements Hydro
...
@@ -100,8 +102,8 @@ public class HydrogenCompressorImpl extends EnergyComponentImpl implements Hydro
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MAX_DELIVERY_RATE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MAX_DELIVERY_RATE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"9 kg/h"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"9 kg/h"
);
/**
/**
* The cached value of the '{@link #getMaxDeliveryRate() <em>Max Delivery Rate</em>}' attribute.
* The cached value of the '{@link #getMaxDeliveryRate() <em>Max Delivery Rate</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/HydrogenStorageImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.HydrogenStorage
;
import
de.hftstuttgart.energycomponents.HydrogenStorage
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -58,8 +60,8 @@ public class HydrogenStorageImpl extends EnergyComponentImpl implements Hydrogen
...
@@ -58,8 +60,8 @@ public class HydrogenStorageImpl extends EnergyComponentImpl implements Hydrogen
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
CYLINDER_VOLUME_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
CYLINDER_VOLUME_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1.5 m\u00b3"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"1.5 m\u00b3"
);
/**
/**
* The cached value of the '{@link #getCylinderVolume() <em>Cylinder Volume</em>}' attribute.
* The cached value of the '{@link #getCylinderVolume() <em>Cylinder Volume</em>}' attribute.
...
@@ -79,8 +81,8 @@ public class HydrogenStorageImpl extends EnergyComponentImpl implements Hydrogen
...
@@ -79,8 +81,8 @@ public class HydrogenStorageImpl extends EnergyComponentImpl implements Hydrogen
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
NOMINAL_PRESSURE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
NOMINAL_PRESSURE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"25 MPa"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"25 MPa"
);
/**
/**
* The cached value of the '{@link #getNominalPressure() <em>Nominal Pressure</em>}' attribute.
* The cached value of the '{@link #getNominalPressure() <em>Nominal Pressure</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/MaterialImpl.java
View file @
7ad4aed5
...
@@ -2,11 +2,16 @@
...
@@ -2,11 +2,16 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.Material
;
import
de.hftstuttgart.energycomponents.Material
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
...
@@ -35,8 +40,8 @@ public class MaterialImpl extends MinimalEObjectImpl.Container implements Materi
...
@@ -35,8 +40,8 @@ public class MaterialImpl extends MinimalEObjectImpl.Container implements Materi
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
THERMAL_CONDUCTIVITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
THERMAL_CONDUCTIVITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
" W/(m*K)"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
" W/(m*K)"
);
/**
/**
* The cached value of the '{@link #getThermalConductivity() <em>Thermal Conductivity</em>}' attribute.
* The cached value of the '{@link #getThermalConductivity() <em>Thermal Conductivity</em>}' attribute.
...
@@ -155,7 +160,6 @@ public class MaterialImpl extends MinimalEObjectImpl.Container implements Materi
...
@@ -155,7 +160,6 @@ public class MaterialImpl extends MinimalEObjectImpl.Container implements Materi
* <!-- end-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated
*/
*/
@SuppressWarnings
(
"unchecked"
)
@Override
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/MediumImpl.java
View file @
7ad4aed5
...
@@ -2,14 +2,18 @@
...
@@ -2,14 +2,18 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.Medium
;
import
de.hftstuttgart.energycomponents.Medium
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
import
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
;
...
@@ -39,8 +43,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
...
@@ -39,8 +43,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
DENSITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
DENSITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"g/cm\u00b3"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"g/cm\u00b3"
);
/**
/**
* The cached value of the '{@link #getDensity() <em>Density</em>}' attribute.
* The cached value of the '{@link #getDensity() <em>Density</em>}' attribute.
...
@@ -60,8 +64,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
...
@@ -60,8 +64,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
HEAT_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
HEAT_CAPACITY_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kJ/(kg*K)"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kJ/(kg*K)"
);
/**
/**
* The cached value of the '{@link #getHeatCapacity() <em>Heat Capacity</em>}' attribute.
* The cached value of the '{@link #getHeatCapacity() <em>Heat Capacity</em>}' attribute.
...
@@ -81,8 +85,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
...
@@ -81,8 +85,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
EVAPORATION_TEMPERATURE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
EVAPORATION_TEMPERATURE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"\u00b0C"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"\u00b0C"
);
/**
/**
* The cached value of the '{@link #getEvaporationTemperature() <em>Evaporation Temperature</em>}' attribute.
* The cached value of the '{@link #getEvaporationTemperature() <em>Evaporation Temperature</em>}' attribute.
...
@@ -102,8 +106,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
...
@@ -102,8 +106,8 @@ public class MediumImpl extends MinimalEObjectImpl.Container implements Medium {
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MELTING_TEMPERATURE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MELTING_TEMPERATURE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"\u00b0C"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"\u00b0C"
);
/**
/**
* The cached value of the '{@link #getMeltingTemperature() <em>Melting Temperature</em>}' attribute.
* The cached value of the '{@link #getMeltingTemperature() <em>Melting Temperature</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/PhotovoltaicModuleImpl.java
View file @
7ad4aed5
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.PhotovoltaicModule
;
import
de.hftstuttgart.energycomponents.PhotovoltaicModule
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.util.Enumerator
;
import
org.eclipse.emf.common.util.Enumerator
;
...
@@ -63,8 +65,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
...
@@ -63,8 +65,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
NOMINAL_POWER_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
NOMINAL_POWER_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"W"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"W"
);
/**
/**
* The cached value of the '{@link #getNominalPower() <em>Nominal Power</em>}' attribute.
* The cached value of the '{@link #getNominalPower() <em>Nominal Power</em>}' attribute.
...
@@ -84,8 +86,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
...
@@ -84,8 +86,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MPP_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MPP_VOLTAGE_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"V"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"V"
);
/**
/**
* The cached value of the '{@link #getMppVoltage() <em>Mpp Voltage</em>}' attribute.
* The cached value of the '{@link #getMppVoltage() <em>Mpp Voltage</em>}' attribute.
...
@@ -105,8 +107,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
...
@@ -105,8 +107,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MPP_CURRENT_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MPP_CURRENT_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"A"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"A"
);
/**
/**
* The cached value of the '{@link #getMppCurrent() <em>Mpp Current</em>}' attribute.
* The cached value of the '{@link #getMppCurrent() <em>Mpp Current</em>}' attribute.
...
@@ -146,8 +148,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
...
@@ -146,8 +148,8 @@ public class PhotovoltaicModuleImpl extends EnergyComponentImpl implements Photo
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
MODULE_AREA_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
MODULE_AREA_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"m\u00b2"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"m\u00b2"
);
/**
/**
* The cached value of the '{@link #getModuleArea() <em>Module Area</em>}' attribute.
* The cached value of the '{@link #getModuleArea() <em>Module Area</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/SolarThermalCollectorImpl.java
View file @
7ad4aed5
...
@@ -2,13 +2,15 @@
...
@@ -2,13 +2,15 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.CollectorTypes
;
import
de.hftstuttgart.energycomponents.CollectorTypes
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.SolarThermalCollector
;
import
de.hftstuttgart.energycomponents.SolarThermalCollector
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
...
@@ -61,8 +63,8 @@ public class SolarThermalCollectorImpl extends EnergyComponentImpl implements So
...
@@ -61,8 +63,8 @@ public class SolarThermalCollectorImpl extends EnergyComponentImpl implements So
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
APERTURE_AREA_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
APERTURE_AREA_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"m\u00b2"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"m\u00b2"
);
/**
/**
* The cached value of the '{@link #getApertureArea() <em>Aperture Area</em>}' attribute.
* The cached value of the '{@link #getApertureArea() <em>Aperture Area</em>}' attribute.
...
...
de.hftstuttgart.energycomponents.model/src-gen/de/hftstuttgart/energycomponents/impl/ThermalEnergyDeviceImpl.java
View file @
7ad4aed5
...
@@ -2,16 +2,19 @@
...
@@ -2,16 +2,19 @@
*/
*/
package
de.hftstuttgart.energycomponents.impl
;
package
de.hftstuttgart.energycomponents.impl
;
import
de.hftstuttgart.energycomponents.EnCompFactory
;
import
de.hftstuttgart.cityunits.model.NullableQuantity
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesFactory
;
import
de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.EnCompPackage
;
import
de.hftstuttgart.energycomponents.FuelTypes
;
import
de.hftstuttgart.energycomponents.FuelTypes
;
import
de.hftstuttgart.energycomponents.ThermalEnergyDevice
;
import
de.hftstuttgart.energycomponents.ThermalEnergyDevice
;
import
de.hftstuttgart.units.NullableQuantity
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.common.notify.Notification
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.EClass
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
import
org.eclipse.emf.ecore.impl.ENotificationImpl
;
/**
/**
...
@@ -38,8 +41,8 @@ public abstract class ThermalEnergyDeviceImpl extends EnergyComponentImpl implem
...
@@ -38,8 +41,8 @@ public abstract class ThermalEnergyDeviceImpl extends EnergyComponentImpl implem
* @generated
* @generated
* @ordered
* @ordered
*/
*/
protected
static
final
NullableQuantity
INSTALLED_THERMAL_POWER_EDEFAULT
=
(
NullableQuantity
)
EnComp
Factory
.
eINSTANCE
protected
static
final
NullableQuantity
INSTALLED_THERMAL_POWER_EDEFAULT
=
(
NullableQuantity
)
Quantities
Factory
.
eINSTANCE
.
createFromString
(
EnComp
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kW"
);
.
createFromString
(
Quantities
Package
.
eINSTANCE
.
getQuantityDouble
(),
"kW"
);
/**
/**
* The cached value of the '{@link #getInstalledThermalPower() <em>Installed Thermal Power</em>}' attribute.
* The cached value of the '{@link #getInstalledThermalPower() <em>Installed Thermal Power</em>}' attribute.
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment