Package org.destecs.core.simulationengine.model

Examples of org.destecs.core.simulationengine.model.CtModelConfig


  }

  private ModelConfig getCtModelConfig(File ctFile)
  {
    String logfile = null;
    CtModelConfig model = null;
    if (!useRemoteCtSimulator)
    {
      model = new CtModelConfig(ctFile.getAbsolutePath());
      logfile = new File(outputFolder, "20simVariables.csv").getAbsolutePath();
    } else
    {
      model = new CtModelConfig((remoteRelativeProjectPath + "\\" + ctFilePathRelative).replace("/", "\\"));
      logfile = (remoteRelativeProjectPath + "\\output\\"
          + resultFolderRelativePath + "\\" + "20simVariables.csv").replace("/", "\\");
    }

    if (logVariables20Sim.size() > 1)
View Full Code Here


    engine.setDeSimulationLauncher(new VdmRtLauncher());
    engine.setDeModel(new DeModelConfig(new File(base, "model_de")));
    engine.setDeEndpoint(new URL("http://127.0.0.1:8080/xmlrpc"));

    engine.setCtSimulationLauncher(new Clp20SimLauncher());
    engine.setCtModel(new CtModelConfig(new File(new File(base, "model_ct"), ctModelName)));
    engine.setCtEndpoint(new URL("http://localhost:1580"));

    Listener listener = new Listener();
    engine.engineListeners.add(listener);
    engine.messageListeners.add(listener);
View Full Code Here

    {
      return null;
    }
   
    boolean couldLoad = false;
    CtModelConfig model = new CtModelConfig(ctFile);
    List<LoadpropertiesStructParam> arguments = new Vector<LoadpropertiesStructParam>();
    for (Entry<String, String> entry : model.arguments.entrySet())
    {
      arguments.add(new LoadpropertiesStructParam(entry.getValue(), entry.getKey()));
    }
View Full Code Here

TOP

Related Classes of org.destecs.core.simulationengine.model.CtModelConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.