The following variables can be accessed for all reaction operations. Remember to use the GetOperVarVal2 / SetOperVarVal2 with val2 and the GetOperVarVal3 / SetOperVarVal3 with 2 extra arguments (val2 & val3) when required.
Variable |
Variable ID (varID) |
Data Type |
Extra arg. (val2) and type |
Extra arg. (val3) and type |
I/O |
Mass Stoichiometric Coefficient of a Component |
massStoichCoeff_VID |
Double |
reaction name (String) |
component name (String) |
I/O |
Molar Stoichiometric Coefficient of a Component |
moleStoichCoeff_VID |
Double |
reaction name (String) |
component name (String) |
I/O |
Conversion Acheived Based on the Limiting Component |
conversionAchieved BasedOnLimComp_ VID |
Double |
reaction name (String) |
|
O |
Reaction Limiting Component |
limitingComp_VID |
String |
reaction name (String) |
|
O |
Enthalpy of the Reaction |
reactionEnthalpy_VID |
Double |
reaction name (String) |
|
I/O |
Enthalpy Reference Component |
reactionEnthalpyRef Comp_VID |
String |
reaction name (String) |
|
I/O |
Enthalpy Reference Temperature |
reactionEnthalpyRef Temp_VID |
Double |
reaction name (String) |
|
I/O |
Reference Physical State of Reaction Participant Components |
reactionEnthalpyRef PSForComp_VID |
Long* |
reaction name (String) |
component name (String) |
I/O |
Component Extra Cell Fraction |
compExtraCellFrac_ VID |
Double |
component name (String) |
|
I/O |
Component Intra Cell Fraction |
compIntraCellFrac_ VID |
Double |
component name (String) |
|
I/O |
Note: Mass or Molar stoichiometric coefficients are negative values for reactants and positive values for products and should be treated as such when retrieving and/or setting these values.
Reference Physical State |
Long* |
liquid_PS |
1 |
vapor_PS |
2 |
solid_PS |
3 |
For sample VBA script that accesses these variables look at Scripts For Operation Variables.