captureResultFromSimulationRun

Converts the data within the SimulationRun to a ResponseMap and ensures that the model inputs are associated with the responses.

The method processes the simulation results to estimate and map the responses specified in the request. If the request specifies no response names, all responses from the simulation run are included in the result map.

Return

a map where the key is the given model inputs and the value is a ResponseMap containing the estimated simulation responses for the requested response names. If the simulation run has an error, then the ResponseMap is mapped to a failed Result.

Parameters

modelInputs

the model input data containing model identifier, inputs, response names, and additional parameters necessary for simulation evaluation

simulationRun

the simulation execution results containing the data to be processed and mapped

Throws

if a specified response name in the model inputs does not exist in the simulation results