|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmodelica.simulation.core.models.simulation.SimulationSessionConfiguration
public class SimulationSessionConfiguration
A Simulation Session Configuration will be used to specify needed modifications on model values or simulation settings for a single simulation session. The use has the possibility to create different session configurations to test a model and to archive the modifications. The modified model data will be stored in a SimConfig.xml The modified simulation settings will be stored in a SimSetting.xml
Constructor Summary | |
---|---|
SimulationSessionConfiguration(java.lang.String configurationName,
java.lang.String initial_path)
Use this constructor if you want to create a new config file reading the configs folder |
|
SimulationSessionConfiguration(java.lang.String configurationName,
java.lang.String comment,
java.lang.String initial_path)
Use this constructor if you want to create a new session config file from a wizard. |
Method Summary | |
---|---|
java.lang.String |
getComment()
|
java.lang.String |
getConfigurationName()
|
ModelicaModel |
getModelicaModel()
Returns the configured, modified modelica model used to simulate a model with diffrent data and settings |
SimulationSetting |
getSimSetting()
|
void |
readModelicaModelConfigFile(java.lang.String initial_path)
Reads a model configuration file which is store in the initial_path folder |
void |
readSimSetting(java.lang.String initial_path)
Reads a simulation setting file which is store in the initial_path folder |
void |
setComment(java.lang.String comment)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimulationSessionConfiguration(java.lang.String configurationName, java.lang.String comment, java.lang.String initial_path)
configurationName
- Name for this configuration file should be unique otherwise it will overwrite an existing session configuration file from a simulation projectcomment
- Specified comments for this simulation configurationinitial_path
- Path to the folder containing the model configuration file "_SimConfig.xml" and the simulation setting file "_SimSetting.xml"public SimulationSessionConfiguration(java.lang.String configurationName, java.lang.String initial_path)
configurationName
- Name for this configuration file should be unique otherwise it will overwrite an existing session configuration file from a simulation projectinitial_path
- Path to the folder containing the model configuration file "_SimConfig.xml" and the simulation setting file "_SimSetting.xml"Method Detail |
---|
public java.lang.String getConfigurationName()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public void readModelicaModelConfigFile(java.lang.String initial_path)
initial_path
- folder which contains the simulation configuration file (_SimConfig.xml)public ModelicaModel getModelicaModel()
public void readSimSetting(java.lang.String initial_path)
initial_path
- folder which contains the simulation configuration file (_SimSetting.xml)public SimulationSetting getSimSetting()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |