.Pharmacolibrary.Utilities.TotalMassCalculator

total mass calculator helper

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.

Generated at 2025-06-03T18:20:50Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos