Compound Class
Definition
Namespace: DWSIM.Thermodynamics.BaseClasses
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
[SerializableAttribute]
public class Compound : ICustomXMLSerialization, ICapeIdentification,
ICompoundVB
<SerializableAttribute>
Public Class Compound
Implements ICustomXMLSerialization, ICapeIdentification, ICompound- Inheritance
- Object Compound
- Implements
- ICapeIdentification, ICompound, ICustomXMLSerialization
Constructors
| Compound | Initializes a new instance of the Compound class with the specified name and description. |
Properties
| ActivityCoeff | Gets or sets the activity coefficient of this compound in the mixture. |
| ComponentDescription | Gets or sets the CAPE-OPEN component description. |
| ComponentName | Gets or sets the CAPE-OPEN component name. |
| ConstantProperties | Gets or sets the constant thermodynamic properties for this compound. |
| DiffusionCoefficient | Gets or sets the diffusion coefficient of this compound in the mixture (m2/s). |
| EnthalpyF_Dmol | Gets or sets the molar departure enthalpy of formation at 25 C relative to ideal gas (kJ/mol). |
| EntropyF_Dmol | Gets or sets the molar departure entropy of formation at 25 C relative to ideal gas (kJ/[mol.K]). |
| ExtraProperties | Gets or sets extra dynamic properties for this compound. |
| FugacityCoeff | Gets or sets the fugacity coefficient of this compound in the mixture. |
| Kvalue | Gets or sets the equilibrium K-value (vapor/liquid ratio) for this compound. |
| lnKvalue | Gets or sets the natural logarithm of the equilibrium K-value for this compound. |
| MassFlow | Gets or sets the mass flow rate of this compound (kg/s). |
| MassFraction | Gets or sets the mass fraction of this compound in the mixture. |
| Molality | Gets or sets the molality of this compound in the mixture (mol/kg solvent). |
| MolarFlow | Gets or sets the molar flow rate of this compound (mol/s). |
| Molarity | Gets or sets the molarity (molar concentration) of this compound in the mixture (mol/L). |
| MoleFraction | Gets or sets the mole fraction of this compound in the mixture. |
| Name | Gets or sets the name of this compound. |
| PartialPressure | Gets or sets the partial pressure of this compound in the vapor phase (Pa). |
| PartialVolume | Gets or sets the partial molar volume of this compound in the mixture (m3/mol). |
| PetroleumFraction | Gets or sets a value indicating whether this compound represents a petroleum fraction. |
| VolumetricFlow | Gets or sets the volumetric flow rate of this compound (m3/s). |
| VolumetricFraction | Gets or sets the volumetric fraction of this compound in the mixture. |
Methods
| LoadData | Loads compound data from a list of XML elements. |
| SaveData | Saves compound data to a list of XML elements for serialization. |
| ToString |
Returns a string representation of the compound including mole fraction, mass fraction, molar flow, and mass flow.
(Overrides ObjectToString) |
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |