net.simplace.simulation.FWSimSession




public final class FWSimSession {
// Public Constructors
public FWSimSession(Element aSolutionElement, FWSimVarMap aVarMap, String
aSessionName);
public FWSimSession(FWSimSolution aSolution);


// Public Instance Methods
public void initProjects(FWSimVarMap aVarMap);

public FWSimSolution getSolution();


returns the solution
public DatabaseInterface getPoolInterface();


returns the pool interface
public String getSessionID();


returns a unique session id for unique folders etc.
public FWSimulationController getProjectControler();


returns the project controller
public List getProjectList();


returns list of the projects
public ArrayList run() throws Exception;


returns the list of projects
public FWSimOutputManager getOutputManager();


returns the output manager
public FWSimResourceManager getResourceManager();


returns the Resource manager
public FWCheckHelper getChecker();


returns the used checker for this session
public List runProject(FWSimProject aProject) throws Exception;

Make sure that output writers are running and system is shut down after running all projects
returns the list of simulations of this project
public void runSimulations(List aSimulationList, boolean aSelectSimulation)
throws Exception;

Make sure that output writers are running and system is shut down after running all projects
returns list of simulations of this project
public void registerModelListener(FWSimulationListener aModelListener);

Model listener gets Model Event with the current Model
public void removeModelListener(FWSimulationListener aModelListener);

Model listener gets Model Event with the current Model
public List getModelListeners();


returns the modelListeners
public void handleModelErrorEvent(FWSimulationErrorEvent aModelEvent);

public void simulationStarted(FWSimSimulation aFWSimSimulation, Integer
aPercentage);

public void simulationEnded(FWSimSimulation aFWSimSimulation, Integer
aPercentage);

public void projectEnded(FWSimProject aFWSimProject, Integer aPercentage);

public void iterationEnded(FWSimulationControlCache aControlCache, Integer
aPercentage);

public void finalize() throws Exception; // Overrides java.lang.Object

If when simulation ended finalize sets simulation to inactive
public FWSimSession clone(); // Overrides java.lang.Object

If when simulation ended finalize sets simulation to inactive
public boolean isActive();


returns the isActive
public void setInActive();

sets simulation to inactive
public void setActive();

sets simulation to active
public FWSimulationControlCache getControlCache();

sets simulation to active
returns The Control cache
public String toString(); // Overrides java.lang.Object



// Inner Classes
public static final class FWSimSession.APPLICATION_MODE extends
java.lang.Enum
public static final class FWSimSession.CALIBRATION_MODE extends
java.lang.Enum
}



Passed to: net.simplace.simulation.io.resources.FWSimResourceManager.addResource(), net.simplace.simulation.io.resources.FWSimResourceManager.addTransform(), net.simplace.simulation.io.resources.FWSimResourceAdapter.createAdapterFromObservable(), net.simplace.simulation.io.resources.FWSimResourceAdapter.createResourceAdapter(), net.simplace.simulation.io.resources.FWSimResourceTransformer.createResourceTransformer(), net.simplace.simulation.io.resources.FWSimResourceTransformer.createResourceTransformer(), net.simplace.simulation.control.FWSimulationGenerator.createSimulationGenerator(), net.simplace.simulation.control.FWSimulationIterator.createSimulationIterator(), net.simplace.simulation.control.FWSimulationSelector.createSimulationSelector(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter(), net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter(), net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter(), net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer(), net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer(), net.simplace.simulation.control.generators.DefaultSimulationGenerator(), net.simplace.simulation.control.iterators.DefaultSimulationIterator(), net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer(), net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer(), net.simplace.simulation.control.generators.EquidistantCalSimGenerator(), net.simplace.simulation.io.FileData(), net.simplace.simulation.io.FileData(), net.simplace.simulation.io.FilePool(), net.simplace.simulation.io.FilePoolManager.finalize(), FWSimEngine.finalizeSession(), net.simplace.simulation.io.resources.FWSimResourceCache.fromCSV(), net.simplace.simulation.io.resources.FWSimResourceCache.fromResultSet(), net.simplace.simulation.io.resources.FWSimResourceCache.fromXML(), net.simplace.util.check.FWCheckHelper(), net.simplace.simulation.io.resources.FWSimInputAdapter(), net.simplace.simulation.io.FWSimIOAdapter(), net.simplace.simulation.io.output.FWSimOutputManager(), net.simplace.simulation.io.resources.FWSimResourceAdapter(), net.simplace.simulation.io.resources.FWSimResourceCache(), net.simplace.simulation.io.resources.FWSimResourceTransformer(), net.simplace.simulation.io.resources.FWSimResourceTransformer(), FWSimSolution.FWSimSolution(), net.simplace.simulation.control.FWSimulationControlCache(), net.simplace.simulation.control.FWSimulationControlContainer(), net.simplace.simulation.control.FWSimulationController(), net.simplace.simulation.control.FWSimulationGenerator(), net.simplace.simulation.control.FWSimulationIterator(), net.simplace.simulation.control.FWSimulationSelector(), net.simplace.simulation.util.FWSimVarMap(), net.simplace.simulation.control.selectors.LeastDifferenceSelector(), net.simplace.simulation.control.selectors.LeastSquareSelector(), net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter.readHeaderList(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter.readHeaderList(), FWSimEngine.registerSession(), net.simplace.simulation.util.FWSimVarMap.setCurrentSession(), net.simplace.simulation.control.iterators.ShrinkParameterspaceIterator(), net.simplace.simulation.control.generators.SimpleSimulationGenerator(), net.simplace.simulation.control.selectors.WeightedLeastDifferenceSelector(), net.simplace.simulation.io.resources.adapter.XMLResourceAdapter(), net.simplace.simulation.io.resources.adapter.XMLResourceAdapter()



Returned by: clone(), net.simplace.simulation.io.resources.FWSimResourceCache.getCurrentSession(), net.simplace.simulation.util.FWSimVarMap.getCurrentSession(), net.simplace.simulation.io.FileData.getSession(), net.simplace.simulation.graphpanel.SimEnvGraphPanel.getSimSession(), FWSimEngine.prepareSession(), FWSimEngine.prepareSession(), FWSimEngine.prepareSession(), net.simplace.simulation.wrapper.SimplaceWrapper.prepareSession(), FWSimEngine.prepareSession(), FWSimEngine.registerSession(), FWSimEngine.registerSolution(), FWSimEngine.runProjects()



Type of: net.simplace.simulation.wrapper.SimplaceWrapper.iCurrentSession, net.simplace.simulation.control.FWSimulationController.iSession, net.simplace.simulation.control.FWSimulationControlContainer.iSession