Convert a Parameter Values Building Block to a data frame.
Source:R/utilities-building-block.R
parameterValuesBBToDataFrame.RdConvert a Parameter Values Building Block to a data frame.
Value
A data frame with the following columns:
Container Path: Full path to the container where the parameter is located.Parameter Name: Name of the parameter.Value: Value of the parameter. For values that are defined by a formula, the return value can beNaN.Unit: Unit of the parameter value.Value Origin: Origin of the parameter value.
Examples
sim <- loadSimulation(system.file(
"extdata",
"simple.pkml",
package = "ospsuite"
))
module <- sim$configuration$modules[[1]]
pvBB <- module$getParameterValuesBBs()[[1]]
df <- parameterValuesBBToDataFrame(pvBB)