Set the values of parameters in the simulation by path

## Usage

setQuantityValuesByPath(
quantityPaths,
values,
simulation,
units = NULL,
stopIfNotFound = TRUE
)

## Arguments

quantityPaths

A single or a list of absolute quantity path

values

A numeric value that should be assigned to the quantities or a vector of numeric values, if the value of more than one quantity should be changed. Must have the same length as 'quantityPaths'

simulation

Simulation uses to retrieve quantity instances from given paths.

units

A string or a list of strings defining the units of the values. If NULL (default), values are assumed to be in base units. If not NULL, must have the same length as quantityPaths.

stopIfNotFound

Boolean. If TRUE (default) and no quantity exists for the given path, an error is thrown. If FALSE, a warning is shown to the user

## Examples


simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")