Commit b2abc6df authored by Kai-Holger Brassel's avatar Kai-Holger Brassel
Browse files

First public version as of Verena Weilers Dissertation

parent 2c40014f
No related merge requests found
Showing with 11000 additions and 0 deletions
+11000 -0
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Data Point</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.DataPoint#getX <em>X</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.DataPoint#getY <em>Y</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getDataPoint()
* @model
* @generated
*/
public interface DataPoint extends EObject {
/**
* Returns the value of the '<em><b>X</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>X</em>' attribute.
* @see #setX(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getDataPoint_X()
* @model dataType="org.eclipse.emf.ecore.xml.type.Double"
* @generated
*/
double getX();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.DataPoint#getX <em>X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>X</em>' attribute.
* @see #getX()
* @generated
*/
void setX(double value);
/**
* Returns the value of the '<em><b>Y</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Y</em>' attribute.
* @see #setY(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getDataPoint_Y()
* @model dataType="org.eclipse.emf.ecore.xml.type.Double"
* @generated
*/
double getY();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.DataPoint#getY <em>Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Y</em>' attribute.
* @see #getY()
* @generated
*/
void setY(double value);
} // DataPoint
/**
*/
package de.hftstuttgart.energycomponents;
import de.hftstuttgart.units.NullableQuantity;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Electrical Storage</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getElectricalStorageType <em>Electrical Storage Type</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryCapacity <em>Battery Capacity</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryVoltage <em>Battery Voltage</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryLifeCycle <em>Battery Life Cycle</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getSelfDischarge <em>Self Discharge</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getInverterIncluded <em>Inverter Included</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryEffiency <em>Battery Effiency</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ElectricalStorage#getEnergyContent <em>Energy Content</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage()
* @model
* @generated
*/
public interface ElectricalStorage extends EnergyComponent {
/**
* Returns the value of the '<em><b>Electrical Storage Type</b></em>' attribute.
* The literals are from the enumeration {@link de.hftstuttgart.energycomponents.ElectricalStorageTypes}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Electrical Storage Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.ElectricalStorageTypes
* @see #setElectricalStorageType(ElectricalStorageTypes)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_ElectricalStorageType()
* @model required="true"
* @generated
*/
ElectricalStorageTypes getElectricalStorageType();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getElectricalStorageType <em>Electrical Storage Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Electrical Storage Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.ElectricalStorageTypes
* @see #getElectricalStorageType()
* @generated
*/
void setElectricalStorageType(ElectricalStorageTypes value);
/**
* Returns the value of the '<em><b>Battery Capacity</b></em>' attribute.
* The default value is <code>"A*h"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Ah
*
* The storage capacity of the battery is represented in Ampere
* hour or Ah. If V is the battery voltage then the energy storage
* capacity of the battery can be Ah x V = Watt-hour. Usually
* battery capacity will be specified for a given discharge/charge
* rating or C rating. The actual capacity depends on operating
* conditions such as load, temperature, etc.
* <!-- end-model-doc -->
* @return the value of the '<em>Battery Capacity</em>' attribute.
* @see #setBatteryCapacity(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_BatteryCapacity()
* @model default="A*h" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getBatteryCapacity();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryCapacity <em>Battery Capacity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Battery Capacity</em>' attribute.
* @see #getBatteryCapacity()
* @generated
*/
void setBatteryCapacity(NullableQuantity value);
/**
* Returns the value of the '<em><b>Battery Voltage</b></em>' attribute.
* The default value is <code>"V"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* V
*
* The terminal voltage during operating condition is known as
* nominal voltage or working voltage. This voltage will be
* specified by manufactures. It may be 3V, 6V, 12V, 24Vetc
* <!-- end-model-doc -->
* @return the value of the '<em>Battery Voltage</em>' attribute.
* @see #setBatteryVoltage(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_BatteryVoltage()
* @model default="V" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getBatteryVoltage();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryVoltage <em>Battery Voltage</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Battery Voltage</em>' attribute.
* @see #getBatteryVoltage()
* @generated
*/
void setBatteryVoltage(NullableQuantity value);
/**
* Returns the value of the '<em><b>Battery Life Cycle</b></em>' attribute.
* The default value is <code>"7000"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* It is the number of complete charge – discharge cycles a
* battery can work before the nominal capacity decreases less
* than 80% of its rated initial capacity. After the specified life
* cycle, the battery will work with reduced capacity. It can be
* used but the capacity will be lower.
* <!-- end-model-doc -->
* @return the value of the '<em>Battery Life Cycle</em>' attribute.
* @see #setBatteryLifeCycle(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_BatteryLifeCycle()
* @model default="7000"
* @generated
*/
double getBatteryLifeCycle();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryLifeCycle <em>Battery Life Cycle</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Battery Life Cycle</em>' attribute.
* @see #getBatteryLifeCycle()
* @generated
*/
void setBatteryLifeCycle(double value);
/**
* Returns the value of the '<em><b>Self Discharge</b></em>' attribute.
* The default value is <code>"0.2"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* rate
*
* It is the electrical capacity lost when a battery is not being
* used due to internal electrochemical process with the battery.
* The self discharge increases with increase of temperature. The
* batteries can be stored at lower temperatures to reduce self
* discharge.
* <!-- end-model-doc -->
* @return the value of the '<em>Self Discharge</em>' attribute.
* @see #setSelfDischarge(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_SelfDischarge()
* @model default="0.2"
* @generated
*/
double getSelfDischarge();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getSelfDischarge <em>Self Discharge</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Self Discharge</em>' attribute.
* @see #getSelfDischarge()
* @generated
*/
void setSelfDischarge(double value);
/**
* Returns the value of the '<em><b>Inverter Included</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Inverter Included</em>' attribute.
* @see #setInverterIncluded(Boolean)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_InverterIncluded()
* @model default="false"
* @generated
*/
Boolean getInverterIncluded();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getInverterIncluded <em>Inverter Included</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Inverter Included</em>' attribute.
* @see #getInverterIncluded()
* @generated
*/
void setInverterIncluded(Boolean value);
/**
* Returns the value of the '<em><b>Battery Effiency</b></em>' attribute.
* The default value is <code>"0.8"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Battery Effiency</em>' attribute.
* @see #setBatteryEffiency(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_BatteryEffiency()
* @model default="0.8"
* @generated
*/
double getBatteryEffiency();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getBatteryEffiency <em>Battery Effiency</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Battery Effiency</em>' attribute.
* @see #getBatteryEffiency()
* @generated
*/
void setBatteryEffiency(double value);
/**
* Returns the value of the '<em><b>Energy Content</b></em>' attribute.
* The default value is <code>"5 kW*h"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Energy Content</em>' attribute.
* @see #setEnergyContent(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorage_EnergyContent()
* @model default="5 kW*h" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getEnergyContent();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ElectricalStorage#getEnergyContent <em>Energy Content</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Energy Content</em>' attribute.
* @see #getEnergyContent()
* @generated
*/
void setEnergyContent(NullableQuantity value);
} // ElectricalStorage
/**
*/
package de.hftstuttgart.energycomponents;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Electrical Storage Types</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricalStorageTypes()
* @model
* @generated
*/
public enum ElectricalStorageTypes implements Enumerator {
/**
* The '<em><b>Lithium Ion</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Lithium ion
* <!-- end-model-doc -->
* @see #LITHIUM_ION_VALUE
* @generated
* @ordered
*/
LITHIUM_ION(0, "lithiumIon", "lithiumIon"),
/**
* The '<em><b>Lead Acid</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #LEAD_ACID_VALUE
* @generated
* @ordered
*/
LEAD_ACID(1, "leadAcid", "leadAcid"),
/**
* The '<em><b>Ni MH</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Nickel – Metal hydride
* <!-- end-model-doc -->
* @see #NI_MH_VALUE
* @generated
* @ordered
*/
NI_MH(2, "niMH", "niMH"),
/**
* The '<em><b>Lithium Polymer</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @see #LITHIUM_POLYMER_VALUE
* @generated
* @ordered
*/
LITHIUM_POLYMER(3, "lithiumPolymer", "lithiumPolymer");
/**
* The '<em><b>Lithium Ion</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Lithium ion
* <!-- end-model-doc -->
* @see #LITHIUM_ION
* @model name="lithiumIon"
* @generated
* @ordered
*/
public static final int LITHIUM_ION_VALUE = 0;
/**
* The '<em><b>Lead Acid</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #LEAD_ACID
* @model name="leadAcid"
* @generated
* @ordered
*/
public static final int LEAD_ACID_VALUE = 1;
/**
* The '<em><b>Ni MH</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Nickel – Metal hydride
* <!-- end-model-doc -->
* @see #NI_MH
* @model name="niMH"
* @generated
* @ordered
*/
public static final int NI_MH_VALUE = 2;
/**
* The '<em><b>Lithium Polymer</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @see #LITHIUM_POLYMER
* @model name="lithiumPolymer"
* @generated
* @ordered
*/
public static final int LITHIUM_POLYMER_VALUE = 3;
/**
* An array of all the '<em><b>Electrical Storage Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static final ElectricalStorageTypes[] VALUES_ARRAY = new ElectricalStorageTypes[] { LITHIUM_ION, LEAD_ACID,
NI_MH, LITHIUM_POLYMER, };
/**
* A public read-only list of all the '<em><b>Electrical Storage Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final List<ElectricalStorageTypes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Electrical Storage Types</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ElectricalStorageTypes get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
ElectricalStorageTypes result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Electrical Storage Types</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ElectricalStorageTypes getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
ElectricalStorageTypes result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Electrical Storage Types</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the integer value.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ElectricalStorageTypes get(int value) {
switch (value) {
case LITHIUM_ION_VALUE:
return LITHIUM_ION;
case LEAD_ACID_VALUE:
return LEAD_ACID;
case NI_MH_VALUE:
return NI_MH;
case LITHIUM_POLYMER_VALUE:
return LITHIUM_POLYMER;
}
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String literal;
/**
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private ElectricalStorageTypes(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
return literal;
}
} //ElectricalStorageTypes
/**
*/
package de.hftstuttgart.energycomponents;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Electricity</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.Electricity#getRenewableShare <em>Renewable Share</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricity()
* @model abstract="true"
* @generated
*/
public interface Electricity extends EnergyCarrier {
/**
* Returns the value of the '<em><b>Renewable Share</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Renewable Share</em>' attribute.
* @see #setRenewableShare(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectricity_RenewableShare()
* @model
* @generated
*/
double getRenewableShare();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electricity#getRenewableShare <em>Renewable Share</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Renewable Share</em>' attribute.
* @see #getRenewableShare()
* @generated
*/
void setRenewableShare(double value);
} // Electricity
/**
*/
package de.hftstuttgart.energycomponents;
import de.hftstuttgart.units.NullableQuantity;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Electrolyzer</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getCellType <em>Cell Type</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getCellArea <em>Cell Area</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getNumberOfCells <em>Number Of Cells</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getMaxOperatingCurrentDensity <em>Max Operating Current Density</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getMinOperatingCurrentDensity <em>Min Operating Current Density</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getOverloadCapacity <em>Overload Capacity</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Electrolyzer#getNominalCellVoltage <em>Nominal Cell Voltage</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer()
* @model
* @generated
*/
public interface Electrolyzer extends EnergyComponent {
/**
* Returns the value of the '<em><b>Cell Type</b></em>' attribute.
* The literals are from the enumeration {@link de.hftstuttgart.energycomponents.cellTypesElectrolyzer}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Cell Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.cellTypesElectrolyzer
* @see #setCellType(cellTypesElectrolyzer)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_CellType()
* @model
* @generated
*/
cellTypesElectrolyzer getCellType();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getCellType <em>Cell Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Cell Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.cellTypesElectrolyzer
* @see #getCellType()
* @generated
*/
void setCellType(cellTypesElectrolyzer value);
/**
* Returns the value of the '<em><b>Cell Area</b></em>' attribute.
* The default value is <code>"50 cm\u00b2"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* cm²
* <!-- end-model-doc -->
* @return the value of the '<em>Cell Area</em>' attribute.
* @see #setCellArea(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_CellArea()
* @model default="50 cm\u00b2" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getCellArea();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getCellArea <em>Cell Area</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Cell Area</em>' attribute.
* @see #getCellArea()
* @generated
*/
void setCellArea(NullableQuantity value);
/**
* Returns the value of the '<em><b>Number Of Cells</b></em>' attribute.
* The default value is <code>"5"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Number Of Cells</em>' attribute.
* @see #setNumberOfCells(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_NumberOfCells()
* @model default="5" required="true"
* @generated
*/
double getNumberOfCells();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getNumberOfCells <em>Number Of Cells</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Number Of Cells</em>' attribute.
* @see #getNumberOfCells()
* @generated
*/
void setNumberOfCells(double value);
/**
* Returns the value of the '<em><b>Max Operating Current Density</b></em>' attribute.
* The default value is <code>"3 A/cm\u00b2"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A/cm²
* <!-- end-model-doc -->
* @return the value of the '<em>Max Operating Current Density</em>' attribute.
* @see #setMaxOperatingCurrentDensity(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_MaxOperatingCurrentDensity()
* @model default="3 A/cm\u00b2" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getMaxOperatingCurrentDensity();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getMaxOperatingCurrentDensity <em>Max Operating Current Density</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Max Operating Current Density</em>' attribute.
* @see #getMaxOperatingCurrentDensity()
* @generated
*/
void setMaxOperatingCurrentDensity(NullableQuantity value);
/**
* Returns the value of the '<em><b>Min Operating Current Density</b></em>' attribute.
* The default value is <code>"0.3 A/cm\u00b2"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A/cm²
* <!-- end-model-doc -->
* @return the value of the '<em>Min Operating Current Density</em>' attribute.
* @see #setMinOperatingCurrentDensity(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_MinOperatingCurrentDensity()
* @model default="0.3 A/cm\u00b2" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getMinOperatingCurrentDensity();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getMinOperatingCurrentDensity <em>Min Operating Current Density</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Min Operating Current Density</em>' attribute.
* @see #getMinOperatingCurrentDensity()
* @generated
*/
void setMinOperatingCurrentDensity(NullableQuantity value);
/**
* Returns the value of the '<em><b>Overload Capacity</b></em>' attribute.
* The default value is <code>"120 %"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* percent
* <!-- end-model-doc -->
* @return the value of the '<em>Overload Capacity</em>' attribute.
* @see #setOverloadCapacity(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_OverloadCapacity()
* @model default="120 %" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getOverloadCapacity();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getOverloadCapacity <em>Overload Capacity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Overload Capacity</em>' attribute.
* @see #getOverloadCapacity()
* @generated
*/
void setOverloadCapacity(NullableQuantity value);
/**
* Returns the value of the '<em><b>Nominal Cell Voltage</b></em>' attribute.
* The default value is <code>"1.94 V"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* V
* <!-- end-model-doc -->
* @return the value of the '<em>Nominal Cell Voltage</em>' attribute.
* @see #setNominalCellVoltage(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getElectrolyzer_NominalCellVoltage()
* @model default="1.94 V" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getNominalCellVoltage();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Electrolyzer#getNominalCellVoltage <em>Nominal Cell Voltage</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Nominal Cell Voltage</em>' attribute.
* @see #getNominalCellVoltage()
* @generated
*/
void setNominalCellVoltage(NullableQuantity value);
} // Electrolyzer
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see de.hftstuttgart.energycomponents.EnCompPackage
* @generated
*/
public interface EnCompFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EnCompFactory eINSTANCE = de.hftstuttgart.energycomponents.impl.EnCompFactoryImpl.init();
/**
* Returns a new object of class '<em>Energy Components Catalog</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Energy Components Catalog</em>'.
* @generated
*/
EnergyComponentsCatalog createEnergyComponentsCatalog();
/**
* Returns a new object of class '<em>Thermal Storage</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Thermal Storage</em>'.
* @generated
*/
ThermalStorage createThermalStorage();
/**
* Returns a new object of class '<em>Electrical Storage</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Electrical Storage</em>'.
* @generated
*/
ElectricalStorage createElectricalStorage();
/**
* Returns a new object of class '<em>Combined Heat Power</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Combined Heat Power</em>'.
* @generated
*/
CombinedHeatPower createCombinedHeatPower();
/**
* Returns a new object of class '<em>Heat Pump</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Heat Pump</em>'.
* @generated
*/
HeatPump createHeatPump();
/**
* Returns a new object of class '<em>Boiler</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Boiler</em>'.
* @generated
*/
Boiler createBoiler();
/**
* Returns a new object of class '<em>Solar Thermal Collector</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Solar Thermal Collector</em>'.
* @generated
*/
SolarThermalCollector createSolarThermalCollector();
/**
* Returns a new object of class '<em>Electrolyzer</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Electrolyzer</em>'.
* @generated
*/
Electrolyzer createElectrolyzer();
/**
* Returns a new object of class '<em>Hydrogen Compressor</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Hydrogen Compressor</em>'.
* @generated
*/
HydrogenCompressor createHydrogenCompressor();
/**
* Returns a new object of class '<em>Hydrogen Storage</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Hydrogen Storage</em>'.
* @generated
*/
HydrogenStorage createHydrogenStorage();
/**
* Returns a new object of class '<em>Fuel Cell</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Fuel Cell</em>'.
* @generated
*/
FuelCell createFuelCell();
/**
* Returns a new object of class '<em>Fossil Fuel</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Fossil Fuel</em>'.
* @generated
*/
FossilFuel createFossilFuel();
/**
* Returns a new object of class '<em>Hydrogen</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Hydrogen</em>'.
* @generated
*/
Hydrogen createHydrogen();
/**
* Returns a new object of class '<em>Bio Fuel</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Bio Fuel</em>'.
* @generated
*/
BioFuel createBioFuel();
/**
* Returns a new object of class '<em>Wind Turbine</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Wind Turbine</em>'.
* @generated
*/
WindTurbine createWindTurbine();
/**
* Returns a new object of class '<em>Photovoltaic Module</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Photovoltaic Module</em>'.
* @generated
*/
PhotovoltaicModule createPhotovoltaicModule();
/**
* Returns a new object of class '<em>Inverter</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Inverter</em>'.
* @generated
*/
Inverter createInverter();
/**
* Returns a new object of class '<em>Heat Exchanger</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Heat Exchanger</em>'.
* @generated
*/
HeatExchanger createHeatExchanger();
/**
* Returns a new object of class '<em>Geothermal Heat Exchanger</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Geothermal Heat Exchanger</em>'.
* @generated
*/
GeothermalHeatExchanger createGeothermalHeatExchanger();
/**
* Returns a new object of class '<em>Medium</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Medium</em>'.
* @generated
*/
Medium createMedium();
/**
* Returns a new object of class '<em>Linear Function</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Linear Function</em>'.
* @generated
*/
LinearFunction createLinearFunction();
/**
* Returns a new object of class '<em>Data Point</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Data Point</em>'.
* @generated
*/
DataPoint createDataPoint();
/**
* Returns a new object of class '<em>Table Function</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Table Function</em>'.
* @generated
*/
TableFunction createTableFunction();
/**
* Returns a new object of class '<em>Exponential Function</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Exponential Function</em>'.
* @generated
*/
ExponentialFunction createExponentialFunction();
/**
* Returns a new object of class '<em>Table Characteristic</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Table Characteristic</em>'.
* @generated
*/
TableCharacteristic createTableCharacteristic();
/**
* Returns a new object of class '<em>Linear Characteristic</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Linear Characteristic</em>'.
* @generated
*/
LinearCharacteristic createLinearCharacteristic();
/**
* Returns a new object of class '<em>Exponentional Characteristic</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Exponentional Characteristic</em>'.
* @generated
*/
ExponentionalCharacteristic createExponentionalCharacteristic();
/**
* Returns a new object of class '<em>Manufacturer</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Manufacturer</em>'.
* @generated
*/
Manufacturer createManufacturer();
/**
* Returns a new object of class '<em>Polynomial Characteristic</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Polynomial Characteristic</em>'.
* @generated
*/
PolynomialCharacteristic createPolynomialCharacteristic();
/**
* Returns a new object of class '<em>Polynomial Function</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Polynomial Function</em>'.
* @generated
*/
PolynomialFunction createPolynomialFunction();
/**
* Returns a new object of class '<em>Material</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Material</em>'.
* @generated
*/
Material createMaterial();
/**
* Returns a new object of class '<em>Energy Components Cost Catalog</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Energy Components Cost Catalog</em>'.
* @generated
*/
EnergyComponentsCostCatalog createEnergyComponentsCostCatalog();
/**
* Returns a new object of class '<em>Cost</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Cost</em>'.
* @generated
*/
Cost createCost();
/**
* Returns a new object of class '<em>Power Characteristic</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Power Characteristic</em>'.
* @generated
*/
PowerCharacteristic createPowerCharacteristic();
/**
* Returns a new object of class '<em>Power Function</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Power Function</em>'.
* @generated
*/
PowerFunction createPowerFunction();
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
EnCompPackage getEnCompPackage();
} //EnCompFactory
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
*/
package de.hftstuttgart.energycomponents;
import de.hftstuttgart.units.NullableQuantity;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Energy Carrier</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.EnergyCarrier#getCo2EmissionsFactor <em>Co2 Emissions Factor</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyCarrier#getPrimaryEnergyFactor <em>Primary Energy Factor</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyCarrier#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyCarrier#getCost <em>Cost</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarrier()
* @model abstract="true"
* @generated
*/
public interface EnergyCarrier extends EObject {
/**
* Returns the value of the '<em><b>Co2 Emissions Factor</b></em>' attribute.
* The default value is <code>"t/MW*h"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Co2 Emissions Factor</em>' attribute.
* @see #setCo2EmissionsFactor(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarrier_Co2EmissionsFactor()
* @model default="t/MW*h" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getCo2EmissionsFactor();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyCarrier#getCo2EmissionsFactor <em>Co2 Emissions Factor</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Co2 Emissions Factor</em>' attribute.
* @see #getCo2EmissionsFactor()
* @generated
*/
void setCo2EmissionsFactor(NullableQuantity value);
/**
* Returns the value of the '<em><b>Primary Energy Factor</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Primary Energy Factor</em>' attribute.
* @see #setPrimaryEnergyFactor(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarrier_PrimaryEnergyFactor()
* @model required="true"
* @generated
*/
double getPrimaryEnergyFactor();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyCarrier#getPrimaryEnergyFactor <em>Primary Energy Factor</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Primary Energy Factor</em>' attribute.
* @see #getPrimaryEnergyFactor()
* @generated
*/
void setPrimaryEnergyFactor(double value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarrier_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyCarrier#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Cost</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Cost</em>' attribute.
* @see #setCost(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarrier_Cost()
* @model
* @generated
*/
double getCost();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyCarrier#getCost <em>Cost</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Cost</em>' attribute.
* @see #getCost()
* @generated
*/
void setCost(double value);
} // EnergyCarrier
/**
*/
package de.hftstuttgart.energycomponents;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Energy Carriers</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyCarriers()
* @model
* @generated
*/
public enum EnergyCarriers implements Enumerator {
/**
* The '<em><b>Natural Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS_VALUE
* @generated
* @ordered
*/
NATURAL_GAS(0, "naturalGas", "naturalGas"),
/**
* The '<em><b>Oil</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL_VALUE
* @generated
* @ordered
*/
OIL(1, "oil", "oil"),
/**
* The '<em><b>Diesel</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL_VALUE
* @generated
* @ordered
*/
DIESEL(2, "diesel", "diesel"),
/**
* The '<em><b>Bio Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #BIO_GAS_VALUE
* @generated
* @ordered
*/
BIO_GAS(0, "bioGas", "bioGas"),
/**
* The '<em><b>Synthetic Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SYNTHETIC_GAS_VALUE
* @generated
* @ordered
*/
SYNTHETIC_GAS(1, "syntheticGas", "syntheticGas"),
/**
* The '<em><b>Wood Pellets</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_PELLETS_VALUE
* @generated
* @ordered
*/
WOOD_PELLETS(2, "woodPellets", "woodPellets"),
/**
* The '<em><b>Wood Chips</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_CHIPS_VALUE
* @generated
* @ordered
*/
WOOD_CHIPS(3, "woodChips", "woodChips"),
/**
* The '<em><b>Sewage Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SEWAGE_GAS_VALUE
* @generated
* @ordered
*/
SEWAGE_GAS(4, "sewageGas", "sewageGas"),
/**
* The '<em><b>Electricity</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ELECTRICITY_VALUE
* @generated
* @ordered
*/
ELECTRICITY(8, "electricity", "electricity"),
/**
* The '<em><b>Hydrogen</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #HYDROGEN_VALUE
* @generated
* @ordered
*/
HYDROGEN(9, "hydrogen", "hydrogen");
/**
* The '<em><b>Natural Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS
* @model name="naturalGas"
* @generated
* @ordered
*/
public static final int NATURAL_GAS_VALUE = 0;
/**
* The '<em><b>Oil</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL
* @model name="oil"
* @generated
* @ordered
*/
public static final int OIL_VALUE = 1;
/**
* The '<em><b>Diesel</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL
* @model name="diesel"
* @generated
* @ordered
*/
public static final int DIESEL_VALUE = 2;
/**
* The '<em><b>Bio Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #BIO_GAS
* @model name="bioGas"
* @generated
* @ordered
*/
public static final int BIO_GAS_VALUE = 0;
/**
* The '<em><b>Synthetic Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SYNTHETIC_GAS
* @model name="syntheticGas"
* @generated
* @ordered
*/
public static final int SYNTHETIC_GAS_VALUE = 1;
/**
* The '<em><b>Wood Pellets</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_PELLETS
* @model name="woodPellets"
* @generated
* @ordered
*/
public static final int WOOD_PELLETS_VALUE = 2;
/**
* The '<em><b>Wood Chips</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_CHIPS
* @model name="woodChips"
* @generated
* @ordered
*/
public static final int WOOD_CHIPS_VALUE = 3;
/**
* The '<em><b>Sewage Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SEWAGE_GAS
* @model name="sewageGas"
* @generated
* @ordered
*/
public static final int SEWAGE_GAS_VALUE = 4;
/**
* The '<em><b>Electricity</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ELECTRICITY
* @model name="electricity"
* @generated
* @ordered
*/
public static final int ELECTRICITY_VALUE = 8;
/**
* The '<em><b>Hydrogen</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #HYDROGEN
* @model name="hydrogen"
* @generated
* @ordered
*/
public static final int HYDROGEN_VALUE = 9;
/**
* An array of all the '<em><b>Energy Carriers</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static final EnergyCarriers[] VALUES_ARRAY = new EnergyCarriers[] { NATURAL_GAS, OIL, DIESEL, BIO_GAS,
SYNTHETIC_GAS, WOOD_PELLETS, WOOD_CHIPS, SEWAGE_GAS, ELECTRICITY, HYDROGEN, };
/**
* A public read-only list of all the '<em><b>Energy Carriers</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final List<EnergyCarriers> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Energy Carriers</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static EnergyCarriers get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
EnergyCarriers result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Energy Carriers</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static EnergyCarriers getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
EnergyCarriers result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Energy Carriers</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the integer value.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static EnergyCarriers get(int value) {
switch (value) {
case NATURAL_GAS_VALUE:
return NATURAL_GAS;
case OIL_VALUE:
return OIL;
case DIESEL_VALUE:
return DIESEL;
case WOOD_CHIPS_VALUE:
return WOOD_CHIPS;
case SEWAGE_GAS_VALUE:
return SEWAGE_GAS;
case ELECTRICITY_VALUE:
return ELECTRICITY;
case HYDROGEN_VALUE:
return HYDROGEN;
}
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String literal;
/**
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EnergyCarriers(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
return literal;
}
} //EnergyCarriers
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Energy Component</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponent#getDescription <em>Description</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponent#getModelName <em>Model Name</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponent#getRevisionYear <em>Revision Year</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponent#getTechnicalLifetime <em>Technical Lifetime</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponent#getManufacturer <em>Manufacturer</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent()
* @model abstract="true"
* @generated
*/
public interface EnergyComponent extends EObject {
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent_Description()
* @model
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponent#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
/**
* Returns the value of the '<em><b>Model Name</b></em>' attribute.
* The default value is <code>"model xyz"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Model Name</em>' attribute.
* @see #setModelName(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent_ModelName()
* @model default="model xyz" id="true" required="true"
* @generated
*/
String getModelName();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponent#getModelName <em>Model Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Model Name</em>' attribute.
* @see #getModelName()
* @generated
*/
void setModelName(String value);
/**
* Returns the value of the '<em><b>Revision Year</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Year from which information is provided
* <!-- end-model-doc -->
* @return the value of the '<em>Revision Year</em>' attribute.
* @see #setRevisionYear(int)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent_RevisionYear()
* @model
* @generated
*/
int getRevisionYear();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponent#getRevisionYear <em>Revision Year</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Revision Year</em>' attribute.
* @see #getRevisionYear()
* @generated
*/
void setRevisionYear(int value);
/**
* Returns the value of the '<em><b>Technical Lifetime</b></em>' attribute.
* The default value is <code>"30"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* years
* <!-- end-model-doc -->
* @return the value of the '<em>Technical Lifetime</em>' attribute.
* @see #setTechnicalLifetime(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent_TechnicalLifetime()
* @model default="30"
* @generated
*/
double getTechnicalLifetime();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponent#getTechnicalLifetime <em>Technical Lifetime</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Technical Lifetime</em>' attribute.
* @see #getTechnicalLifetime()
* @generated
*/
void setTechnicalLifetime(double value);
/**
* Returns the value of the '<em><b>Manufacturer</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Manufacturer</em>' reference.
* @see #setManufacturer(Manufacturer)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponent_Manufacturer()
* @model required="true"
* @generated
*/
Manufacturer getManufacturer();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponent#getManufacturer <em>Manufacturer</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Manufacturer</em>' reference.
* @see #getManufacturer()
* @generated
*/
void setManufacturer(Manufacturer value);
} // EnergyComponent
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Energy Components Catalog</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getAuthor <em>Author</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getBioFuels <em>Bio Fuels</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getMedia <em>Media</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getCombinedHeatPowerUtilities <em>Combined Heat Power Utilities</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getBoilers <em>Boilers</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getPhotovoltaicModules <em>Photovoltaic Modules</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getSolarThermalCollectors <em>Solar Thermal Collectors</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getWindTurbines <em>Wind Turbines</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getGeothermalHeatExchangers <em>Geothermal Heat Exchangers</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getHeatPumps <em>Heat Pumps</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getInverters <em>Inverters</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getHeatExchangers <em>Heat Exchangers</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getElectrolyzers <em>Electrolyzers</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getHydrogenCompressors <em>Hydrogen Compressors</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getFuelCells <em>Fuel Cells</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getThermalStorages <em>Thermal Storages</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getPowerStorages <em>Power Storages</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getHydrogenStorages <em>Hydrogen Storages</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getFossilFuels <em>Fossil Fuels</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getManufacturers <em>Manufacturers</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getMaterials <em>Materials</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getEnergycomponentscostcatalog <em>Energycomponentscostcatalog</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getEnergycarriers <em>Energycarriers</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog()
* @model
* @generated
*/
public interface EnergyComponentsCatalog extends EObject {
/**
* Returns the value of the '<em><b>Author</b></em>' attribute.
* The default value is <code>"HFT_Stuttgart"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Author</em>' attribute.
* @see #setAuthor(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Author()
* @model default="HFT_Stuttgart"
* @generated
*/
String getAuthor();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getAuthor <em>Author</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Author</em>' attribute.
* @see #getAuthor()
* @generated
*/
void setAuthor(String value);
/**
* Returns the value of the '<em><b>Bio Fuels</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.BioFuel}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Bio Fuels</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_BioFuels()
* @model containment="true"
* @generated
*/
EList<BioFuel> getBioFuels();
/**
* Returns the value of the '<em><b>Media</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Medium}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Media</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Media()
* @model containment="true"
* @generated
*/
EList<Medium> getMedia();
/**
* Returns the value of the '<em><b>Combined Heat Power Utilities</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.CombinedHeatPower}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Combined Heat Power Utilities</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_CombinedHeatPowerUtilities()
* @model containment="true"
* @generated
*/
EList<CombinedHeatPower> getCombinedHeatPowerUtilities();
/**
* Returns the value of the '<em><b>Boilers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Boiler}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Boilers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Boilers()
* @model containment="true"
* @generated
*/
EList<Boiler> getBoilers();
/**
* Returns the value of the '<em><b>Photovoltaic Modules</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.PhotovoltaicModule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Photovoltaic Modules</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_PhotovoltaicModules()
* @model containment="true"
* @generated
*/
EList<PhotovoltaicModule> getPhotovoltaicModules();
/**
* Returns the value of the '<em><b>Solar Thermal Collectors</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.SolarThermalCollector}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Solar Thermal Collectors</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_SolarThermalCollectors()
* @model containment="true"
* @generated
*/
EList<SolarThermalCollector> getSolarThermalCollectors();
/**
* Returns the value of the '<em><b>Wind Turbines</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.WindTurbine}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Wind Turbines</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_WindTurbines()
* @model containment="true"
* @generated
*/
EList<WindTurbine> getWindTurbines();
/**
* Returns the value of the '<em><b>Geothermal Heat Exchangers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.GeothermalHeatExchanger}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Geothermal Heat Exchangers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_GeothermalHeatExchangers()
* @model containment="true"
* @generated
*/
EList<GeothermalHeatExchanger> getGeothermalHeatExchangers();
/**
* Returns the value of the '<em><b>Heat Pumps</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.HeatPump}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Heat Pumps</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_HeatPumps()
* @model containment="true"
* @generated
*/
EList<HeatPump> getHeatPumps();
/**
* Returns the value of the '<em><b>Inverters</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Inverter}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Inverters</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Inverters()
* @model containment="true"
* @generated
*/
EList<Inverter> getInverters();
/**
* Returns the value of the '<em><b>Heat Exchangers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.HeatExchanger}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Heat Exchangers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_HeatExchangers()
* @model containment="true"
* @generated
*/
EList<HeatExchanger> getHeatExchangers();
/**
* Returns the value of the '<em><b>Electrolyzers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Electrolyzer}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Electrolyzers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Electrolyzers()
* @model containment="true"
* @generated
*/
EList<Electrolyzer> getElectrolyzers();
/**
* Returns the value of the '<em><b>Hydrogen Compressors</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.HydrogenCompressor}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Hydrogen Compressors</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_HydrogenCompressors()
* @model containment="true"
* @generated
*/
EList<HydrogenCompressor> getHydrogenCompressors();
/**
* Returns the value of the '<em><b>Fuel Cells</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.FuelCell}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Fuel Cells</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_FuelCells()
* @model containment="true"
* @generated
*/
EList<FuelCell> getFuelCells();
/**
* Returns the value of the '<em><b>Thermal Storages</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.ThermalStorage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Thermal Storages</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_ThermalStorages()
* @model containment="true"
* @generated
*/
EList<ThermalStorage> getThermalStorages();
/**
* Returns the value of the '<em><b>Power Storages</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.ElectricalStorage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Power Storages</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_PowerStorages()
* @model containment="true"
* @generated
*/
EList<ElectricalStorage> getPowerStorages();
/**
* Returns the value of the '<em><b>Hydrogen Storages</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.HydrogenStorage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Hydrogen Storages</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_HydrogenStorages()
* @model containment="true"
* @generated
*/
EList<HydrogenStorage> getHydrogenStorages();
/**
* Returns the value of the '<em><b>Fossil Fuels</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.FossilFuel}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Fossil Fuels</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_FossilFuels()
* @model containment="true"
* @generated
*/
EList<FossilFuel> getFossilFuels();
/**
* Returns the value of the '<em><b>Manufacturers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Manufacturer}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Manufacturers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Manufacturers()
* @model containment="true"
* @generated
*/
EList<Manufacturer> getManufacturers();
/**
* Returns the value of the '<em><b>Materials</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Material}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Materials</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Materials()
* @model containment="true"
* @generated
*/
EList<Material> getMaterials();
/**
* Returns the value of the '<em><b>Energycomponentscostcatalog</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Energycomponentscostcatalog</em>' containment reference.
* @see #setEnergycomponentscostcatalog(EnergyComponentsCostCatalog)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Energycomponentscostcatalog()
* @model containment="true"
* @generated
*/
EnergyComponentsCostCatalog getEnergycomponentscostcatalog();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponentsCatalog#getEnergycomponentscostcatalog <em>Energycomponentscostcatalog</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Energycomponentscostcatalog</em>' containment reference.
* @see #getEnergycomponentscostcatalog()
* @generated
*/
void setEnergycomponentscostcatalog(EnergyComponentsCostCatalog value);
/**
* Returns the value of the '<em><b>Energycarriers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.EnergyCarrier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Energycarriers</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCatalog_Energycarriers()
* @model containment="true"
* @generated
*/
EList<EnergyCarrier> getEnergycarriers();
} // EnergyComponentsCatalog
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Energy Components Cost Catalog</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getAuthor <em>Author</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getRevisionYear <em>Revision Year</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getCostCategories <em>Cost Categories</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getPersonnelCost <em>Personnel Cost</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCostCatalog()
* @model
* @generated
*/
public interface EnergyComponentsCostCatalog extends EObject {
/**
* Returns the value of the '<em><b>Author</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Author</em>' attribute.
* @see #setAuthor(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCostCatalog_Author()
* @model
* @generated
*/
String getAuthor();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getAuthor <em>Author</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Author</em>' attribute.
* @see #getAuthor()
* @generated
*/
void setAuthor(String value);
/**
* Returns the value of the '<em><b>Revision Year</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Revision Year</em>' attribute.
* @see #setRevisionYear(int)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCostCatalog_RevisionYear()
* @model required="true"
* @generated
*/
int getRevisionYear();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getRevisionYear <em>Revision Year</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Revision Year</em>' attribute.
* @see #getRevisionYear()
* @generated
*/
void setRevisionYear(int value);
/**
* Returns the value of the '<em><b>Cost Categories</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.Cost}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Cost Categories</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCostCatalog_CostCategories()
* @model containment="true"
* @generated
*/
EList<Cost> getCostCategories();
/**
* Returns the value of the '<em><b>Personnel Cost</b></em>' attribute.
* The default value is <code>"150 "</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Personnel Cost</em>' attribute.
* @see #setPersonnelCost(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getEnergyComponentsCostCatalog_PersonnelCost()
* @model default="150 "
* @generated
*/
double getPersonnelCost();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.EnergyComponentsCostCatalog#getPersonnelCost <em>Personnel Cost</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Personnel Cost</em>' attribute.
* @see #getPersonnelCost()
* @generated
*/
void setPersonnelCost(double value);
} // EnergyComponentsCostCatalog
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Exponential Function</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* y = ParameterA * ParameterB ^ x
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.ExponentialFunction#getKey <em>Key</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ExponentialFunction#getParameterA <em>Parameter A</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.ExponentialFunction#getParameterB <em>Parameter B</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentialFunction()
* @model
* @generated
*/
public interface ExponentialFunction extends EObject {
/**
* Returns the value of the '<em><b>Key</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Key</em>' attribute.
* @see #setKey(String)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentialFunction_Key()
* @model required="true"
* @generated
*/
String getKey();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ExponentialFunction#getKey <em>Key</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Key</em>' attribute.
* @see #getKey()
* @generated
*/
void setKey(String value);
/**
* Returns the value of the '<em><b>Parameter A</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* y = ParameterA * ParameterB ^ x
* <!-- end-model-doc -->
* @return the value of the '<em>Parameter A</em>' attribute.
* @see #setParameterA(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentialFunction_ParameterA()
* @model required="true"
* @generated
*/
double getParameterA();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ExponentialFunction#getParameterA <em>Parameter A</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parameter A</em>' attribute.
* @see #getParameterA()
* @generated
*/
void setParameterA(double value);
/**
* Returns the value of the '<em><b>Parameter B</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* y = ParameterA * ParameterB ^ x
* <!-- end-model-doc -->
* @return the value of the '<em>Parameter B</em>' attribute.
* @see #setParameterB(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentialFunction_ParameterB()
* @model required="true"
* @generated
*/
double getParameterB();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.ExponentialFunction#getParameterB <em>Parameter B</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parameter B</em>' attribute.
* @see #getParameterB()
* @generated
*/
void setParameterB(double value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* y = ParameterA * ParameterB ^ x
* <!-- end-model-doc -->
* @model required="true"
* @generated
*/
double exponentialfunction(double x);
} // ExponentialFunction
/**
*/
package de.hftstuttgart.energycomponents;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Exponentional Characteristic</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.ExponentionalCharacteristic#getFunctions <em>Functions</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentionalCharacteristic()
* @model
* @generated
*/
public interface ExponentionalCharacteristic extends Characteristic {
/**
* Returns the value of the '<em><b>Functions</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.energycomponents.ExponentialFunction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Functions</em>' containment reference list.
* @see de.hftstuttgart.energycomponents.EnCompPackage#getExponentionalCharacteristic_Functions()
* @model containment="true" required="true"
* @generated
*/
EList<ExponentialFunction> getFunctions();
} // ExponentionalCharacteristic
/**
*/
package de.hftstuttgart.energycomponents;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Fossil Fuel</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.FossilFuel#getMethaneContent <em>Methane Content</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFossilFuel()
* @model
* @generated
*/
public interface FossilFuel extends Fuel {
/**
* Returns the value of the '<em><b>Methane Content</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Methane Content</em>' attribute.
* @see #setMethaneContent(double)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFossilFuel_MethaneContent()
* @model
* @generated
*/
double getMethaneContent();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.FossilFuel#getMethaneContent <em>Methane Content</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Methane Content</em>' attribute.
* @see #getMethaneContent()
* @generated
*/
void setMethaneContent(double value);
} // FossilFuel
/**
*/
package de.hftstuttgart.energycomponents;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Fossil Fuel Types</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFossilFuelTypes()
* @model
* @generated
*/
public enum FossilFuelTypes implements Enumerator {
/**
* The '<em><b>Natural Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS_VALUE
* @generated
* @ordered
*/
NATURAL_GAS(0, "naturalGas", "naturalGas"),
/**
* The '<em><b>Oil</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL_VALUE
* @generated
* @ordered
*/
OIL(1, "oil", "oil"),
/**
* The '<em><b>Diesel</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL_VALUE
* @generated
* @ordered
*/
DIESEL(2, "diesel", "diesel"),
/**
* The '<em><b>LNG</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #LNG_VALUE
* @generated
* @ordered
*/
LNG(3, "LNG", "LNG"),
/**
* The '<em><b>CNG</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CNG_VALUE
* @generated
* @ordered
*/
CNG(4, "CNG", "CNG");
/**
* The '<em><b>Natural Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS
* @model name="naturalGas"
* @generated
* @ordered
*/
public static final int NATURAL_GAS_VALUE = 0;
/**
* The '<em><b>Oil</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL
* @model name="oil"
* @generated
* @ordered
*/
public static final int OIL_VALUE = 1;
/**
* The '<em><b>Diesel</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL
* @model name="diesel"
* @generated
* @ordered
*/
public static final int DIESEL_VALUE = 2;
/**
* The '<em><b>LNG</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #LNG
* @model
* @generated
* @ordered
*/
public static final int LNG_VALUE = 3;
/**
* The '<em><b>CNG</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CNG
* @model
* @generated
* @ordered
*/
public static final int CNG_VALUE = 4;
/**
* An array of all the '<em><b>Fossil Fuel Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static final FossilFuelTypes[] VALUES_ARRAY = new FossilFuelTypes[] { NATURAL_GAS, OIL, DIESEL, LNG, CNG, };
/**
* A public read-only list of all the '<em><b>Fossil Fuel Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final List<FossilFuelTypes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Fossil Fuel Types</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FossilFuelTypes get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FossilFuelTypes result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Fossil Fuel Types</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FossilFuelTypes getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FossilFuelTypes result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Fossil Fuel Types</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the integer value.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FossilFuelTypes get(int value) {
switch (value) {
case NATURAL_GAS_VALUE:
return NATURAL_GAS;
case OIL_VALUE:
return OIL;
case DIESEL_VALUE:
return DIESEL;
case LNG_VALUE:
return LNG;
case CNG_VALUE:
return CNG;
}
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String literal;
/**
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private FossilFuelTypes(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
return literal;
}
} //FossilFuelTypes
/**
*/
package de.hftstuttgart.energycomponents;
import de.hftstuttgart.units.NullableQuantity;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Fuel</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.Fuel#getNetCalorificValue <em>Net Calorific Value</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Fuel#getGrossCalorificValue <em>Gross Calorific Value</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Fuel#getDensity <em>Density</em>}</li>
* <li>{@link de.hftstuttgart.energycomponents.Fuel#getFuelType <em>Fuel Type</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuel()
* @model abstract="true"
* @generated
*/
public interface Fuel extends EnergyCarrier {
/**
* Returns the value of the '<em><b>Net Calorific Value</b></em>' attribute.
* The default value is <code>"(kW*h)/m\u00b3"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* kWh/m³
* Heizwert
* <!-- end-model-doc -->
* @return the value of the '<em>Net Calorific Value</em>' attribute.
* @see #setNetCalorificValue(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuel_NetCalorificValue()
* @model default="(kW*h)/m\u00b3" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getNetCalorificValue();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Fuel#getNetCalorificValue <em>Net Calorific Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Net Calorific Value</em>' attribute.
* @see #getNetCalorificValue()
* @generated
*/
void setNetCalorificValue(NullableQuantity value);
/**
* Returns the value of the '<em><b>Gross Calorific Value</b></em>' attribute.
* The default value is <code>"(kW*h)/m\u00b3"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* kWh/m³
* Brennwert
* <!-- end-model-doc -->
* @return the value of the '<em>Gross Calorific Value</em>' attribute.
* @see #setGrossCalorificValue(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuel_GrossCalorificValue()
* @model default="(kW*h)/m\u00b3" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getGrossCalorificValue();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Fuel#getGrossCalorificValue <em>Gross Calorific Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Gross Calorific Value</em>' attribute.
* @see #getGrossCalorificValue()
* @generated
*/
void setGrossCalorificValue(NullableQuantity value);
/**
* Returns the value of the '<em><b>Density</b></em>' attribute.
* The default value is <code>"kg/m\u00b3"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* kg/m³
* <!-- end-model-doc -->
* @return the value of the '<em>Density</em>' attribute.
* @see #setDensity(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuel_Density()
* @model default="kg/m\u00b3" dataType="de.hftstuttgart.energycomponents.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getDensity();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Fuel#getDensity <em>Density</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Density</em>' attribute.
* @see #getDensity()
* @generated
*/
void setDensity(NullableQuantity value);
/**
* Returns the value of the '<em><b>Fuel Type</b></em>' attribute.
* The literals are from the enumeration {@link de.hftstuttgart.energycomponents.FuelTypes}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Fuel Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.FuelTypes
* @see #setFuelType(FuelTypes)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuel_FuelType()
* @model required="true"
* @generated
*/
FuelTypes getFuelType();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.Fuel#getFuelType <em>Fuel Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Fuel Type</em>' attribute.
* @see de.hftstuttgart.energycomponents.FuelTypes
* @see #getFuelType()
* @generated
*/
void setFuelType(FuelTypes value);
} // Fuel
/**
*/
package de.hftstuttgart.energycomponents;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Fuel Cell</b></em>'.
* <!-- end-user-doc -->
*
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuelCell()
* @model
* @generated
*/
public interface FuelCell extends EnergyComponent {
} // FuelCell
/**
*/
package de.hftstuttgart.energycomponents;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Fuel Types</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
* @see de.hftstuttgart.energycomponents.EnCompPackage#getFuelTypes()
* @model
* @generated
*/
public enum FuelTypes implements Enumerator {
/**
* The '<em><b>Natural Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS_VALUE
* @generated
* @ordered
*/
NATURAL_GAS(0, "naturalGas", "naturalGas"),
/**
* The '<em><b>Oil</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL_VALUE
* @generated
* @ordered
*/
OIL(1, "oil", "oil"),
/**
* The '<em><b>Diesel</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL_VALUE
* @generated
* @ordered
*/
DIESEL(2, "diesel", "diesel"),
/**
* The '<em><b>Bio Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #BIO_GAS_VALUE
* @generated
* @ordered
*/
BIO_GAS(0, "bioGas", "bioGas"),
/**
* The '<em><b>Synthetic Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SYNTHETIC_GAS_VALUE
* @generated
* @ordered
*/
SYNTHETIC_GAS(1, "syntheticGas", "syntheticGas"),
/**
* The '<em><b>Wood Pellets</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_PELLETS_VALUE
* @generated
* @ordered
*/
WOOD_PELLETS(2, "woodPellets", "woodPellets"),
/**
* The '<em><b>Wood Chips</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_CHIPS_VALUE
* @generated
* @ordered
*/
WOOD_CHIPS(3, "woodChips", "woodChips"),
/**
* The '<em><b>Sewage Gas</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SEWAGE_GAS_VALUE
* @generated
* @ordered
*/
SEWAGE_GAS(4, "sewageGas", "sewageGas"),
/**
* The '<em><b>Electricity</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ELECTRICITY_VALUE
* @generated
* @ordered
*/
ELECTRICITY(8, "electricity", "electricity");
/**
* The '<em><b>Natural Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #NATURAL_GAS
* @model name="naturalGas"
* @generated
* @ordered
*/
public static final int NATURAL_GAS_VALUE = 0;
/**
* The '<em><b>Oil</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #OIL
* @model name="oil"
* @generated
* @ordered
*/
public static final int OIL_VALUE = 1;
/**
* The '<em><b>Diesel</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIESEL
* @model name="diesel"
* @generated
* @ordered
*/
public static final int DIESEL_VALUE = 2;
/**
* The '<em><b>Bio Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #BIO_GAS
* @model name="bioGas"
* @generated
* @ordered
*/
public static final int BIO_GAS_VALUE = 0;
/**
* The '<em><b>Synthetic Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SYNTHETIC_GAS
* @model name="syntheticGas"
* @generated
* @ordered
*/
public static final int SYNTHETIC_GAS_VALUE = 1;
/**
* The '<em><b>Wood Pellets</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_PELLETS
* @model name="woodPellets"
* @generated
* @ordered
*/
public static final int WOOD_PELLETS_VALUE = 2;
/**
* The '<em><b>Wood Chips</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #WOOD_CHIPS
* @model name="woodChips"
* @generated
* @ordered
*/
public static final int WOOD_CHIPS_VALUE = 3;
/**
* The '<em><b>Sewage Gas</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #SEWAGE_GAS
* @model name="sewageGas"
* @generated
* @ordered
*/
public static final int SEWAGE_GAS_VALUE = 4;
/**
* The '<em><b>Electricity</b></em>' literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ELECTRICITY
* @model name="electricity"
* @generated
* @ordered
*/
public static final int ELECTRICITY_VALUE = 8;
/**
* An array of all the '<em><b>Fuel Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static final FuelTypes[] VALUES_ARRAY = new FuelTypes[] { NATURAL_GAS, OIL, DIESEL, BIO_GAS, SYNTHETIC_GAS,
WOOD_PELLETS, WOOD_CHIPS, SEWAGE_GAS, ELECTRICITY, };
/**
* A public read-only list of all the '<em><b>Fuel Types</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final List<FuelTypes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Fuel Types</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FuelTypes get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FuelTypes result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Fuel Types</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FuelTypes getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
FuelTypes result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Fuel Types</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the integer value.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static FuelTypes get(int value) {
switch (value) {
case NATURAL_GAS_VALUE:
return NATURAL_GAS;
case OIL_VALUE:
return OIL;
case DIESEL_VALUE:
return DIESEL;
case WOOD_CHIPS_VALUE:
return WOOD_CHIPS;
case SEWAGE_GAS_VALUE:
return SEWAGE_GAS;
case ELECTRICITY_VALUE:
return ELECTRICITY;
}
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String literal;
/**
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private FuelTypes(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
return literal;
}
} //FuelTypes
/**
*/
package de.hftstuttgart.energycomponents;
import de.hftstuttgart.units.NullableQuantity;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Geothermal Heat Exchanger</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.energycomponents.GeothermalHeatExchanger#getPipeDiameter <em>Pipe Diameter</em>}</li>
* </ul>
*
* @see de.hftstuttgart.energycomponents.EnCompPackage#getGeothermalHeatExchanger()
* @model
* @generated
*/
public interface GeothermalHeatExchanger extends EnergyComponent {
/**
* Returns the value of the '<em><b>Pipe Diameter</b></em>' attribute.
* The default value is <code>"1 cm"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Pipe Diameter</em>' attribute.
* @see #setPipeDiameter(NullableQuantity)
* @see de.hftstuttgart.energycomponents.EnCompPackage#getGeothermalHeatExchanger_PipeDiameter()
* @model default="1 cm" dataType="de.hftstuttgart.energycomponents.QuantityDouble"
* @generated
*/
NullableQuantity getPipeDiameter();
/**
* Sets the value of the '{@link de.hftstuttgart.energycomponents.GeothermalHeatExchanger#getPipeDiameter <em>Pipe Diameter</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Pipe Diameter</em>' attribute.
* @see #getPipeDiameter()
* @generated
*/
void setPipeDiameter(NullableQuantity value);
} // GeothermalHeatExchanger
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment