IFlowsheetCreateKineticReaction Method

Creates a Kinetic reaction object.

Definition

Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
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
)

Parameters

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.

Return Value

IReaction

See Also