Adds the quantities as output into the simulation. The quantities can either be specified using explicit instances or using paths.

Usage

addOutputs(quantitiesOrPaths, simulation)

Arguments

quantitiesOrPaths

Quantity instances (element or vector) (typically retrieved using getAllQuantitiesMatching) or quantity path (element or vector) to add.

simulation

Instance of a simulation for which output selection should be updated.

Examples

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