Structured output of a parameter identification task, including optimization results, confidence intervals, parameter metadata, and configuration.
Methods
Method new()
Initializes a PIResult instance. For internal use only.
This constructor is used internally by the parameter identification workflow to store and standardize results from optimization and confidence interval estimation.
Usage
PIResult$new(
optimResult,
ciResult = NULL,
costDetails = NULL,
configuration = NULL,
piParameters = NULL
)Arguments
optimResultA named list containing optimization results. Typically produced internally by
Optimizer$run()and includes fields such aspar,value,startValues,elapsed,convergence, etc.ciResult(Optional) A named list of confidence interval results, returned by
Optimizer$estimateCI(). Contains fields likesd,cv,lowerCI,upperCI,elapsed, anddetails.costDetails(Optional) A named list with detailed cost metrics computed during optimization.
configuration(Optional) The
PIConfigurationobject used during parameter identification.piParameters(Optional) A list of
PIParameterobjects used in the optimization. If not provided, default parameter names will be generated automatically.
Method toDataFrame()
Export PIResult to a data.frame.
Returns
A data frame with the following columns:
group: Parameter group identifiername: Parameter namepath: Full parameter pathunit: Unit of the parameterestimate: Estimated parameter value after optimizationsd: Standard deviation from CI estimationcv: Coefficient of variationlowerCI: Lower confidence boundupperCI: Upper confidence boundinitialValue: Initial parameter value used for optimization