addHighSalwater: function to calculate the volume of high salinity water to...

View source: R/addHighSalwater.R

addHighSalwaterR Documentation

function to calculate the volume of high salinity water to add to head tank

Description

function to calculate the volume of high salinity water to add to head tank

Usage

addHighSalwater(initVol, initS, targetVol, targetS, highSwater)

Arguments

initVol

intial volume of water in the head tank (L)

initS

intial salinity of water in the head tank (ppt)

targetVol

target final of water in the head tank (L)

targetS

target final salinitiy of water in the head tank (ppt)

highSwater

salinity of high salinity water that will be added to the tank (ppt)

Value

A list of salt weights (g) and volumes of water to add to tank (L) #'

  • targetSgram - target salt weight (g) (used for internal calculation)

  • initSgram - initial salt weight (g) (used for internal calculation)

  • addSgram - salt weight to add (g) (used for internal calculation)

  • addHighSwaterVol - volume of high salinity water to add to the tank (L)

  • addDIwaterVol - volume of DI water to add to the tank (L)


pmcelhany/aws documentation built on Jan. 10, 2023, 8:56 p.m.