Click or drag to resize

TimeSteps Class

A wrapped FEM computational time object attached to a Charge Domain.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V26.Charging.DomainChargeDomainChildBaseTimeSteps
    ema3d.Api.V26.Charging.DomainTimeSteps

Namespace: ema3d.Api.V26.Charging.Domain
Assembly: ema3d.Api.V26 (in ema3d.Api.V26.dll) Version: 0.0.0.0
Syntax
public sealed class TimeSteps : ChargeDomainChildBase<TimeSteps>

The TimeSteps type exposes the following members.

Properties
 NameDescription
Public propertyEndTime The simulation end time in surface charging simulations.
Public propertyInternalOutputFrequency Output frequency of internal charging simulations.
Public propertyInternalOutputFrequencyList A list of the output frequencies for internal charging simulations.
Public propertyInternalStepNumber Total number of timesteps in internal charging simulations.
Public propertyInternalStepNumberList A list of the total number of timesteps in internal charging simulations.
Public propertyInternalStepTime Timestep size (s) for internal charging simulations.
Public propertyInternalStepTimeList A list of timestep sizes (s) for internal charging simulations.
Public propertyIrradiationTime Irradiation time (s) for radiation hardening simulations.
Public propertyMaxStep Maximum timestep used in Charge simulation.
Public propertyMinStep Minimum timestep used in Charge simulation.
Public propertyNumSteps Number of timesteps used in surface charging simulations.
Public propertyOutputFrequency Output frequency used in surface charging simulations.
Public propertyPICTimeSync A boolean flag to enable / disable synchronization with steps in the PIC simulation.
Top
Methods
 NameDescription
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This object is always attached to a parent Charge Domain and cannot be created individually. Modifications to, and copies of, this object will operate on the single Charge Domain within the document.
Example
Python
from ema3d.Api.V26.Charging.Domain import ChargeDomain as ChargeDomain
from ema3d.Api.V26.Charging.Domain import ChargingEnvironment as ChargingEnvironment

_cd = ChargeDomain.GetInstance(Window.ActiveWindow.Document)
_cd.SwitchChargingOptions.SimulationType = ChargingEnvironment.Custom

# sets surface charging simulation options
_cd.TimeStepSettings.MinStep = 1e-8
_cd.TimeStepSettings.MaxStep = 25
_cd.TimeStepSettings.EndTime = 1100
_cd.TimeStepSettings.NumSteps = 300
_cd.TimeStepSettings.OutputFrequency = 2

# sets internal charging simulation options
_cd.TimeStepSettings.InternalStepTime = 5e-9
_cd.TimeStepSettings.InternalStepNumber = 80
_cd.TimeStepSettings.InternalOutputFrequency = 8

# internal charging simulation options can also be set as lists
# _cd.TimeStepSettings.InternalStepTimeList = List[float]([1e-9, 2e-9])
# _cd.TimeStepSettings.InternalStepNumberList = List[int]([200,250])
# _cd.TimeStepSettings.InternalOutputFrequencyList = List[float]([2.0,3.0])

# sets the PIC Time sync boolean
_cd.TimeStepSettings.PICTimeSync = False

# sets the irradiation time for radiation hardening sims
_cd.SwitchChargingOptions.SimulationType = ChargingEnvironment.Radiation
_cd.TimeStepSettings.IrradiationTime = 1e-6
See Also