isRequestValid

open fun isRequestValid(request: RequestData): Boolean

Indicates if the request is valid. The request is valid if

  1. The model identifier is valid.

  2. The input names are valid.

  3. Response names are valid.

Empty input names and response names are valid. Input names or response names that are not associated with the model are not valid.

Parameters

request

the request to validate. If the input names and response names are not specified, then the current input settings of the model will be used and all responses from the simulation will be returned.