Property
Property.RdProperty of a compound, of a formulation
Active bindings
nameName of the property
dimensionDimension of the property
valueValue of the property.
unitUnit of the property
parNameParameter name of the property in the simulation pkmls
pathPath of the property in the simulation pkmls
enumEnums to convert from user friendly value to PK-Sim allowed value
checkFunction to check validity of given value, must take value and unit as arguments and must return an error if value is not valid
Methods
Method new()
Initialize a new instance of the class.
Usage
Property$new(
name,
parName,
dimension,
value = 0,
unit = NULL,
enum = NULL,
check = NULL,
min = NULL,
max = NULL,
rangeUnit = NULL,
path = NULL
)Arguments
nameName of the property.
parNameParameter name of the property in the simulation pkmls.
dimensionDimension of the property.
valueValue of the property
unitUnit of the property.
enum(Optional) Enum to convert from user friendly value to PK-Sim allowed value
check(Optional) Function to check validity of given value, must take value and unit as arguments and must return an error if the value is not valid
min(Optional) Min value allowed to check validity of given value
max(Optional) Max value allowed to check validity of given value
rangeUnit(Optional) Unit in which the min/max range is given
pathpath of the property in the simulation pkmls. Default to
CompoundName|parName(if not given, the unit is assumed to be the same as the unit of the property). valid).
Method print()
Print the object to the console