Executes optimization to find the best parameter values by comparing simulation results against observed data.
Super class
ospsuite.utils::Printable
-> ParameterIdentification
Active bindings
simulations
A named list of simulation objects, keyed by the IDs of their root containers.
parameters
Read-only list of
PIParameters
objects for optimization.configuration
A
PIConfiguration
object instance.outputMappings
A list of
PIOutputMapping
objects linking observed data to simulation outputs.
Methods
Method new()
Initializes a ParameterIdentification
instance.
Usage
ParameterIdentification$new(
simulations,
parameters,
outputMappings,
configuration = NULL
)
Arguments
simulations
An object or a list of objects of class
Simulation
. Parameters of the simulation object will be varied and the results simulated. For creatingSimulation
objects, seeospsuite::loadSimulation
.parameters
An object or a list of objects of class
PIParameter
. These parameters will be varied. For creatingPIParameter
objects, refer toPIParameters
.outputMappings
List of objects of the class
PIOutputMapping
. Each object maps a model output (represented by aQuantity
) with a set of observed data given asXYData
objects. For guidance on creatingPIOutputMapping
objects, seePIOutputMapping
.configuration
(Optional)
PIConfiguration
for additional settings. Uses default if omitted. For details on creating aPIConfiguration
object, seePIConfiguration
.
Method run()
Initiates parameter identification process.
Upon completion, access optimal parameter values through PIParameters$currValue
.
Method plotResults()
Generates plots for each output mapping based on the current or provided parameter values. Simulations are executed with these parameters to visualize the estimation results.
Method gridSearch()
Usage
ParameterIdentification$gridSearch(
lower = NULL,
upper = NULL,
logScaleFlag = FALSE,
totalEvaluations = 50,
setStartValue = FALSE
)
Arguments
lower
Numeric vector of parameter lower bounds, defaulting to
PIParameter
minimum values.upper
Numeric vector of parameter upper bounds, defaulting to
PIParameter
maximum values.logScaleFlag
Logical scalar or vector; determines if grid points are spaced logarithmically. Default is
FALSE
.totalEvaluations
Integer specifying the total grid points. Default is 50.
setStartValue
Logical. If
TRUE
, updatesPIParameter
starting values to the best grid point. Default isFALSE
.
Method calculateOFVProfiles()
Usage
ParameterIdentification$calculateOFVProfiles(
par = NULL,
boundFactor = 0.1,
totalEvaluations = 20
)
Arguments
par
Numeric vector of parameter values, one for each parameter. Defaults to current parameter values if
NULL
, invalid or mismatched.boundFactor
Numeric value. A value of 0.1 means
lower
is 10% belowpar
andupper
is 10% abovepar
. Default is0.1
.totalEvaluations
Integer specifying the total number of grid points across each parameter profile. Default is 20.
Method print()
Prints a summary of ParameterIdentification instance.