Interface SimulationResult
@OpenApiAll
public interface SimulationResult
Contains information about running simulation execution.
-
Method Summary
Modifier and TypeMethodDescriptionGet the executed element.Get first exception if it occurred starting or during execution.Retrieve main simulation session.Gets simulation output values if simulation execution finished successfully.
-
Method Details
-
getMainSession
Retrieve main simulation session. It will be null in cases then iterated execution (trade study, Monte Carlo or table diagram execution) has been started.- Returns:
- the main session
-
getElement
Element getElement()Get the executed element.- Returns:
- element
-
getException
Get first exception if it occurred starting or during execution.- Returns:
- exception
-
getOutputValues
Gets simulation output values if simulation execution finished successfully. If simulation session is still running calling this method blocks until simulation execution terminates.- Returns:
- Key value map of outputs
- Throws:
Exception
- if some exception occurred by running simulation.
-