ReactionCommons

This package is part of the ReactionEngine

Documentation for ReactionCommons.

ReactionCommons.get_dependenciesMethod

Function to determine the coverage dependency, order dependency and MWC for a reaction

Usage

get_dependencies(cov_dep_rxns,order_dep_rxns,mwc_rxns,rxn_id)
  • covdeprxns::Dict{Int64=>Dict{Int64=>Float64}}
  • orderdeprxns::Dict{Int64=>Dict{Int64=>Float64}}
  • mwc_rxns::Array{Int64}
  • rxn_id::Int64

The function returns a tuple of cov,order and mwc

source
ReactionCommons.parse_rxn_stringMethod

Separate the reactants and products from the stoichiometric equation

Usage:

parase_rxn_string(rxn_str)
  • rxn_str::String: String representing the reaction equation
source
ReactionCommons.species_rxn_mapMethod

Create array of structures of SpeciesRxnMap. The SpeciesRxnMap is a composit structure of species_id in participating reactions and the stoichiometric coefficients

Usage

species_rxn_map(gas_species,sm)
  • gas_species::Array{String,1} : list of gas phase species
  • sm::SurfaceMechanism : SurfaceMechanism composite type
source