A class containing data and functions for the model.
|find||Finds a node in the model's subtree by its path.|
|dateTime||The current date and time in FlexSim time.|
|nextStopDateTime||The date and time in FlexSim time of the next stop time.|
|nextStopTime||The simulation time of the next stop time.|
|startDateTime||The model's start date and time in FlexSim time.|
|statisticalTime||The current simulation time with respect to when stats were last reset.|
|time||The current simulation time.|
|warmupDateTime||The warmup date and time in FlexSim time.|
|warmupTime||The total warmup time.|
|getDateTime||Returns a date and time in FlexSim time from the given simulation time.|
|getTime||Returns the simulation time from the given FlexSim time.|
|treenode find( string path )|
|path||The path, starting at the model node, that addresses the target node.|
|treenode||If the addressed node exists, the method returns that node, otherwise NULL.|
Finds a node in the model's subtree by its path.
treenode obj = Model.find("ObjectName");
static readonly double statisticalTime
The current simulation time with respect to when stats were last reset.If the model has a warmup time, this will return the difference between the simulation time and the warmup time. statisticalTime = time - warmupTime
double statTime = Model.statisticalTime;
|static DateTime getDateTime( double modelTime )|
|modelTime||The simulation time.|
|DateTime||The DateTime represented by the simulation time.|
Returns a date and time in FlexSim time from the given simulation time.
DateTime dateTime = Model.getDateTime(100);
|static double getTime( DateTime dateTime )|
|dateTime||The date and time in FlexSim time.|
|double||The simulation time represented by the FlexSim time.|
Returns the simulation time from the given FlexSim time.
DateTime date = DateTime("8:00:00 AM Wed 19 Jul 2017"); double theTime = Model.getTime(date);