IFlowsheetCreate Kinetic Reaction Method
Creates a Kinetic reaction object.
Definition
Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
C#
IReaction CreateKineticReaction(
string name,
string description,
Dictionary<string, double> compounds_and_stoichcoeffs,
Dictionary<string, double> directorders,
Dictionary<string, double> reverseorders,
string basecompound,
string reactionphase,
string basis,
string amountunits,
string rateunits,
double Aforward,
double Eforward,
double Areverse,
double Ereverse,
string Expr_forward,
string Expr_reverse
)VB
Function CreateKineticReaction (
name As String,
description As String,
compounds_and_stoichcoeffs As Dictionary(Of String, Double),
directorders As Dictionary(Of String, Double),
reverseorders As Dictionary(Of String, Double),
basecompound As String,
reactionphase As String,
basis As String,
amountunits As String,
rateunits As String,
Aforward As Double,
Eforward As Double,
Areverse As Double,
Ereverse As Double,
Expr_forward As String,
Expr_reverse As String
) As IReactionParameters
- name String
- Name/ID of the reaction
- description String
- Description of the reaction
- compounds_and_stoichcoeffs DictionaryString, Double
- Compound names and stoichiometric coefficients
- directorders DictionaryString, Double
- Compound names and direct order coefficients
- reverseorders DictionaryString, Double
- Compound names and reverse order 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')
- amountunits String
- Amount units. See the list of supported units
- rateunits String
- Rate units. See the list of supported units
- Aforward Double
- Arrhenius forward reaction's A parameter. Ignored if Expr_forward is not empty.
- Eforward Double
- Arrhenius forward reaction's E parameter. Ignored if Expr_forward is not empty.
- Areverse Double
- Arrhenius reverse reaction's A parameter. Ignored if Expr_reverse is not empty.
- Ereverse Double
- Arrhenius reverse reaction's E parameter. Ignored if Expr_reverse is not empty.
- Expr_forward String
- User-defined expression for forward reaction kinetics as a function of temperature in K. Will use Arrhenius if empty.
- Expr_reverse String
- User-defined expression for reverse reaction kinetics as a function of temperature in K. Will use Arrhenius if empty.