Click or drag to resize

ChargeSimulation Class

API class for creating charge simulations
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Charging.ExecutionChargeSimulation

Namespace: ema3d.Api.V25.Charging.Execution
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class ChargeSimulation

The ChargeSimulation type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate Initializes a new ChargeSimulation from a given filepath or directory.
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodKill Kills process
Public methodStart start simulation
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitForCompletion Waits for simulation to complete
Public methodWaitForCompletion(CancellationToken) waits for simulation to complete
Top
Example
Python
from ema3d.Api.V25.Charging.Execution import ChargeSimulation as ChargeSimulation
# Run simulation from filepath
_filepath = r"C:\Users\Example Simulation\Charge.cin"
_sim = ChargeSimulation.Create(_filepath).Start().WaitForCompletion()
See Also