SimulationAssistant Class
Extend this class to create the top-level class for your Simulation Assistant.
The top-level class contains the title of the Simulation Assistant and a list of the constituent tasks, which are given in order of execution. See Task Class.
A SimulationAssistant must contain the following items:
- Imports:
- star.assistant.SimulationAssistant
- star.assistant.Task
- A constructor with the name of the assistant.
- A list of tasks
A SimulationAssistant often contains these items:
- The annotation @StarAssistant
- Imports:
- java.util.ArrayList
- java.util.List
- star.assistant.annotation.StarAssistant
- star.assistant.annotation.StarAssistantTask
- star.assistant.ui.FunctionTaskController
Example:
import java.util.ArrayList;
import java.util.List;
import star.assistant.SimulationAssistant;
import star.assistant.Task;
import star.assistant.annotation.StarAssistant;
@StarAssistant(display = "Internal Flow Assistant")
public class InternalFlowAssistant extends
SimulationAssistant
{
public InternalFlowAssistant() {
...
}
}
Online API:
For coding specifics, see the Simcenter STAR-CCM+ Help menu: