standard.gibbs: Calculates standard Gibbs free energy for a given temperature...

View source: R/gibbs.R

standard.gibbsR Documentation

Calculates standard Gibbs free energy for a given temperature and pressure

Description

'standard.gibbs()' determines the standard Gibbs free energy to be used in 'gibbs.step()'

Usage

standard.gibbs(reactants, moles, phases, temperature, pressure = 1)

Arguments

reactants

A vector of all components involved in the reaction, both reactants and products.

moles

A vector of the molar coefficients for the reaction, with negative values indicating reactants and positive values indicating products.

phases

A vector of the phases for all components in the reaction, either "aq", "l", or "g".

temperature

Temperature of the system, in Kelvin.

pressure

The pressure of the system, in atm.


hoehler-labgroup/methanogenlab documentation built on April 25, 2022, 11:42 a.m.