org.openmodelica.simulation.core.init_txt_handling
Class SimulationInit_TXT_reader

java.lang.Object
  extended by org.openmodelica.simulation.core.init_txt_handling.SimulationInit_TXT_reader

public class SimulationInit_TXT_reader
extends java.lang.Object

The _init.txt file is used by OpenModelica to initialize a corresponding simulation runtime executable. This file is generated by the OMC. It can be used to run a simulation using different settings (start values, time interval, solver...)

Author:
EADS Innovation Works, Parham Vasaiely, Parham.Vasaiely@gmx.de

Constructor Summary
SimulationInit_TXT_reader()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static InitTXT readInit(java.lang.String pathToInit)
          Reads a init.txt file from a specified path and creates an InitTXT object which contains all initial values and simulation settings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationInit_TXT_reader

public SimulationInit_TXT_reader()
Method Detail

readInit

public static InitTXT readInit(java.lang.String pathToInit)
Reads a init.txt file from a specified path and creates an InitTXT object which contains all initial values and simulation settings

Parameters:
pathToInit - Absoulut path to the "_init.txt" file
Returns:
An InitTXT object containing all initial values and simulation settings

main

public static void main(java.lang.String[] args)