Compound Class

Definition

Namespace: DWSIM.Thermodynamics.BaseClasses
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
[SerializableAttribute]
public class Compound : 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

ActivityCoeffGets or sets the activity coefficient of this compound in the mixture.
ComponentDescriptionGets or sets the CAPE-OPEN component description.
ComponentNameGets or sets the CAPE-OPEN component name.
ConstantPropertiesGets or sets the constant thermodynamic properties for this compound.
DiffusionCoefficientGets or sets the diffusion coefficient of this compound in the mixture (m2/s).
EnthalpyF_DmolGets or sets the molar departure enthalpy of formation at 25 C relative to ideal gas (kJ/mol).
EntropyF_DmolGets or sets the molar departure entropy of formation at 25 C relative to ideal gas (kJ/[mol.K]).
ExtraPropertiesGets or sets extra dynamic properties for this compound.
FugacityCoeffGets or sets the fugacity coefficient of this compound in the mixture.
KvalueGets or sets the equilibrium K-value (vapor/liquid ratio) for this compound.
lnKvalueGets or sets the natural logarithm of the equilibrium K-value for this compound.
MassFlowGets or sets the mass flow rate of this compound (kg/s).
MassFractionGets or sets the mass fraction of this compound in the mixture.
MolalityGets or sets the molality of this compound in the mixture (mol/kg solvent).
MolarFlowGets or sets the molar flow rate of this compound (mol/s).
MolarityGets or sets the molarity (molar concentration) of this compound in the mixture (mol/L).
MoleFractionGets or sets the mole fraction of this compound in the mixture.
NameGets or sets the name of this compound.
PartialPressureGets or sets the partial pressure of this compound in the vapor phase (Pa).
PartialVolumeGets or sets the partial molar volume of this compound in the mixture (m3/mol).
PetroleumFractionGets or sets a value indicating whether this compound represents a petroleum fraction.
VolumetricFlowGets or sets the volumetric flow rate of this compound (m3/s).
VolumetricFractionGets 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)

See Also