calculate_activity: Calculate activity coefficients

View source: R/general.R

calculate_activityR Documentation

Calculate activity coefficients

Description

This function calculates activity coefficients at a given temperature based on equation 5-43 from Davies (1967), Crittenden et al. (2012)

Usage

calculate_activity(z, is, temp)

Arguments

z

Charge of ions in the solution

is

Ionic strength of the solution

temp

Temperature of the solution in Celsius

Value

A numeric value for the activity coefficient.

Examples

calculate_activity(2, 0.1, 25)


tidywater documentation built on Aug. 8, 2025, 7:15 p.m.