Given a simulation file path or an instance of a simulation, traverses the simulation structure and returns a tree like structure allowing for intuitive navigation in the simulation tree.
Value
A list with a branched structure representing the path tree of entities in
the simulation file that fall under the types specified in quantityType
. At
the end of each branch is a string called 'path' that is the path of the
quantity represented by the branch.
Examples
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
tree <- getSimulationTree(sim)
liver_volume_path <- tree$Organism$Liver$Volume$path