Class Launcher
Main class to call EnergyPlus from a .NET compatible environment
Inheritance
System.Object
Launcher
Namespace: EplusLauncher
Assembly: cs.temp.dll.dll
Syntax
public class Launcher
Constructors
Launcher()
Creates a new instance of the launcher.
Declaration
public Launcher()
Properties
Jobs
Lists of jobs to be simulated.
Declaration
public List<Job> Jobs { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Job> |
JobsLogFile
If different from "", a job log file will be generated with.
Declaration
public string JobsLogFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxCores
Limits the cores for parallel simulation.No limit if 0 or negative.
Declaration
public int MaxCores { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
OutputFolderNumber
If > -1 outputs folder will have an incremental number appended to their name.
Declaration
public int OutputFolderNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
StopSimulations
Set it to true to stop running simulations.
Declaration
public bool StopSimulations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Run()
Runs all the simulation jobs.
Declaration
public void Run()
Events
JobsFinished
Occurs when EnergyPlus outputs a message during simulation.
Declaration
public event EventHandler JobsFinished
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
OutputMessageReceived
Occurs when EnergyPlus outputs a message during simulation.
Declaration
public event OutputMessageReceivedEventHandler OutputMessageReceived
Event Type
| Type | Description |
|---|---|
| OutputMessageReceivedEventHandler |
SimulationCompleted
Occurs when the simulation has completed.
Declaration
public event SimulationCompletedEventHandler SimulationCompleted
Event Type
| Type | Description |
|---|---|
| SimulationCompletedEventHandler |