Click or drag to resize

ISimulation Interface

An interface providing access to project simulation.

Namespace:  EMInvent.InventSim.COMServer
Assembly:  InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntax
public interface ISimulation

The ISimulation type exposes the following members.

Properties
  NameDescription
Public propertyFrequencies
Gets reference to frequencies of the project.
Public propertyMesherParameters
Gets reference to mesher parameters.
Public propertyOverrideMesh
If set to a value, simulation skips meshing and uses provided mesh for solving. If set to null, simulation performs ordinary meshing. Caution should be exercised when using in simulation with perturbation values set. In such case, variable values must be set prior to simulation to match the values which were used to generate the mesh.
Public propertySolverParameters
Gets reference to solver parameters.
Public propertyStopAfterPertAnalysis
Gets or sets flag indicating that simulation should stop after perturbation analysis has been done, skipping solver.
Top
Methods
  NameDescription
Public methodClearPerturbationValues
Clears variable values for perturbation analysis thus disabling perturbation analysis.
Public methodGetMesh
Returns mesh from the last simulation.
Public methodGetMorphedMesh
Generates a morphed mesh changing optimizable variables from refVariables to pertVariables
Public methodCode exampleGetPerturbationResult(Int32, Int32, Int32, Int32, Int32)
Returns a perturbation result (scattering parameters) for specified parameter index, a pair of ports and a pair of modes. The result data is in a form of two-dimensional double array, where first dimension is the number of frequency points and the second dimension is 3. First column of the array is frequency data in GHz for each frequency point of simulation. The second and the third columns are real and imaginary parts of scattering parameters respectively.
Public methodCode exampleGetPerturbationResult(Int32, Int32, Int32, Int32, Int32, Boolean, Boolean)
Returns a perturbation result (scattering parameters) for specified parameter index, a pair of ports and a pair of modes. The result data is in a form of two-dimensional double array, where first dimension is the number of frequency points and the second dimension is 3. First column of the array is frequency data in GHz for each frequency point of simulation. The second and the third columns are real and imaginary parts of scattering parameters respectively.
Public methodGetPerturbationValues
Gets variable values for perturbation analysis. The value is in a form of a vertical array of doubles. The length of array is equal to number of optimizable variables.
Public methodCode exampleGetResult(ResultDataType, Int32, Int32, Int32, Int32)
Returns a result of the specified type for specified pair of ports and a pair of modes. The result data is in a form of two-dimensional double array, where first dimension is the number of frequency points and the second dimension is 3. First column of the array is frequency data in GHz for each frequency point of simulation. The second and the third columns are real and imaginary parts of scattering parameters respectively.
Public methodCode exampleGetResult(ResultDataType, Int32, Int32, Int32, Int32, Boolean, Boolean)
Returns a result of the specified type for specified pair of ports and a pair of modes. The result data is in a form of two-dimensional double array, where first dimension is the number of frequency points and the second dimension is 3. First column of the array is frequency data in GHz for each frequency point of simulation. The second and the third columns are real and imaginary parts of scattering parameters respectively.
Public methodSetPerturbationValues
Sets variable values for perturbation analysis. The value is in a form of a vertical array of doubles. The length of array must be equal to number of optimizable variables.
Top
See Also