Click or drag to resize

IFlowsheetCreateEquilibriumReaction Method

Creates an Equilibrium reaction object.

Namespace: DWSIM.Interfaces
Assembly: 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
)
Request Example View Source

Parameters

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

IReaction
See Also