IFlowsheetCreateEquilibriumReaction Method |
Creates an Equilibrium reaction object.
Namespace: DWSIM.InterfacesAssembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 8.8.1.0
Syntax IReaction CreateEquilibriumReaction(
string name,
string description,
Dictionary<string, double> compounds_and_stoichcoeffs,
string basecompound,
string reactionphase,
string basis,
string units,
double Tapproach,
string lnKeq_fT
)
Function CreateEquilibriumReaction (
name As String,
description As String,
compounds_and_stoichcoeffs As Dictionary(Of String, Double),
basecompound As String,
reactionphase As String,
basis As String,
units As String,
Tapproach As Double,
lnKeq_fT As String
) As IReaction
Request Example
View SourceParameters
- name String
- Name/ID of the reaction
- description String
- Description of the reaction
- compounds_and_stoichcoeffs DictionaryString, Double
- Compound names and stoichiometric coefficients
- basecompound String
- Name of the base reaction compound
- reactionphase String
- Reaction phase ('Mixture', 'Vapor', 'Liquid' or 'Solid')
- basis String
- Reaction basis ('Activity', 'Fugacity', 'Molar Concentration', 'Molar Fraction', 'Mass Concentration', 'Mass Fraction' or 'Partial Pressure')
- units String
- Basis units. See the list of supported units
- Tapproach Double
- Temperature value that will be added or removed to the system temperature in order to evaluate the equilibrium constant
- lnKeq_fT String
- Expression for evaulating the equilibrium constant as a function of temperature in K. Will use gibbs energy of formation if empty.
Return Value
IReactionSee Also