An object storing configuration of a specific scenario
Public fields
scenarioNameName of the simulated scenario
modelFileName of the simulation to be loaded (must include the extension ".pkml"). Must be located in the "modelFolder".
applicationProtocolName of the application protocol to be applied. Defined in the excel file "Applications.xlsx"
individualIdId of the individual as specified in "Individuals.xlsx". If
NULL(default), the individual as defined in the simulation file will be simulated.populationIdId of the population as specified in "Populations.xlsx", sheet "Demographics". If
ScenarioConfguration$simulationTypeispopulation, a population will be created a the scenario will be simulated as a population simulation.outputPathsa character vector or named vector of output paths for which the results will be calculated. If
NULL(default), outputs as defined in the simulation are used. Can be a named vector where names serve as aliases for the paths, e.g., c("plasma" = "Organism|VenousBlood|Plasma|AKB-9090|Concentration in container").
Active bindings
simulateSteadyStateBoolean representing whether the simulation will be brought to a steady-state first
readPopulationFromCSVBoolean representing whether the a new population will be created (value is
FALSE) or an existing population will be imported from a csv.simulationTimeSpecified simulation time intervals. If
NULL(default), simulation time as defined in theSimulationobject will be used. Accepted are multiple time intervals separated by a ';'. Each time interval is a triplet of values <StartTime, EndTime, Resolution>, whereResolutionis the number of simulated points per time unit defined in the columnTimeUnit.simulationTimeUnitUnit of the simulation time intervals.
steadyStateTimeTime in minutes to simulate if simulating steady-state. May be
NULL.paramSheetsA named list. Names of the sheets from the parameters-excel file that will be applied to the simulation
simulationTypeType of the simulation - "Individual" or "Population". If "Population", population characteristics are created based on information stored in
populationsFile. Default is "Individual"projectConfigurationProjectConfigurationthat will be used in scenarios. Read-only
Methods
Method new()
Initialize a new instance of the class
Usage
ScenarioConfiguration$new(projectConfiguration)Method addParamSheets()
Add the names of sheets in the parameters excel-file that will be applied to the simulation
Method removeParamSheets()
Remove the names of sheets in the parameters excel-file from
the list of sheets paramSheets
Method print()
Print the object to the console
