IFlowsheetCreateConversionReaction Method |
Creates a Conversion reaction object.
Namespace: DWSIM.InterfacesAssembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 8.8.1.0
Syntax IReaction CreateConversionReaction(
string name,
string description,
Dictionary<string, double> compounds_and_stoichcoeffs,
string basecompound,
string reactionphase,
string conversionExpression
)
Function CreateConversionReaction (
name As String,
description As String,
compounds_and_stoichcoeffs As Dictionary(Of String, Double),
basecompound As String,
reactionphase As String,
conversionExpression 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')
- conversionExpression String
- Expression for evaluating conversion of the base compound as a function of temperature in K.
Return Value
IReactionSee Also