Observation Source Block

obsSourceHelp

Description

The Observation Source block provides a stream of data observation (row) objects from a SAS data set or JMP table. Each time an observation object is pulled from the OutObservation port, the block pulls a new observation of the data set. If you reach the last observation from the data set, the process resets to the beginning of the data set.

Fixed Ports

InUpdate

Input Boolean value port that signals an update of input data and stream parameter specifications. The new specifications are pulled from the InStreamPolicy or InDataPolicy ports (or both) if these ports are connected. A false Boolean value is ignored.

InStreamPolicy

Input string value port from which the new stream parameter specifications are pulled when an update signal is received. The format for specifying the value is as follows:
Lazy Loading == BooleanValue
where BooleanValue is true or false.

InDataPolicy

Input string value port from which the new input data specifications are pulled when an update signal is received. The format for specifying the value is as follows:
File Path == filePathValue
where filePathValue is the pathname for the SAS data set or JMP table.

OutObservation

Output observation object port for observations to be pulled.

OutData

Output data model port for accessing the data model object that holds the contents of the input data set.

Dialog Box Controls

Input Data

This area provides fields for modifying the input data specifications associated with the Observation Source block. The File Path field specifies the absolute or relative file path for the input SAS data set or JMP data table file. The Load from Remote SAS Workspace Server checkbox indicates that the input SAS data set file is to be loaded from the remote SAS Workspace Server host.

Stream Parameters

This area provides fields for modifying the stream parameter specifications that control how the stream of observations from the Observation Source block is prepared. The field Lazy Loading is Boolean. If the Lazy Loading field is false, then the input data set file has to be loaded at the start of simulation. Otherwise, the data file is loaded only when its contents are needed during simulation.

Reset Sampling at Update

This option resets the current data set back to the first observation when a true Boolean value is received at the InUpdate port. If the InDataPolicy port is also connected and a new data set is specified, then the new data set starts at the beginning with the first observation if the Reset Sampling at Update option is selected.

Candidates for Design of Experiments

Factors

DataStreamDescription (text), InputDataPolicy (text), ResetStreamAtUpdate (Boolean)
The format for specifying the value of the InputDataPolicy factor is as follows:
File Path==filePathValue
where filePathValue is the pathname for the SAS data set or JMP table. The format for specifying the value of the DataStreamDescription factor is as follows:
Lazy Loading==BooleanValue
where BooleanValue is either true or false.

Responses

None