Click or drag to resize

IFlowsheetCreateConversionReaction Method

Creates a Conversion reaction object.

Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 8.4.5.0
Syntax
IReaction CreateConversionReaction(
	string name,
	string description,
	Dictionary<string, double> compounds_and_stoichcoeffs,
	string basecompound,
	string reactionphase,
	string conversionExpression
)
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')
conversionExpression  String
Expression for evaluating conversion of the base compound as a function of temperature in K.

Return Value

IReaction
See Also