modelTotalMassCalculator

total mass calculator helper

Extends from Interfaces.PartialTool.

Information

TotalMassCalculator

is a helper component. It calculate sum of drug mass from multiple compartments.
The elements of array MArr must be assigned the mass variables that should be summed up (using fully qualified path to the variables) as e.g.

Pharmacolibrary.Pharmacokinetic.TotalMassCalculator body1(MArr = {vein.M, artery.M, TissueCompartment1.M}) 

in the example Pharmacolibrary.Components.Tests.TotalMassCalculator.

Components

TypeNameDefaultDescription
Types.MassMArr
Types.MassMTotsum(MArr)