Show / Hide Table of Contents

Interface IIterationSimulationState

An ISimulationState that tracks the current iteration mode. This state is used to help iterating to a solution using some tricks specific to a BiasingSimulation.

Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public interface IIterationSimulationState : ISimulationState

Properties

Gmin

Gets or sets the a conductance that is shunted with PN junctions to aid convergence.

Declaration
double Gmin { get; }
Property Value
Type Description
double

The minimum conductance for PN junctions.

IsConvergent

Is the current iteration convergent? This parameter is used to communicate convergence.

Declaration
bool IsConvergent { get; set; }
Property Value
Type Description
bool

true if this the iteration is convergent; otherwise, false.

Mode

Gets the iteration mode.

Declaration
IterationModes Mode { get; }
Property Value
Type Description
IterationModes

The mode.

SourceFactor

The current source factor. This parameter is changed when doing source stepping for aiding convergence.

Declaration
double SourceFactor { get; }
Property Value
Type Description
double
Remarks

In source stepping, all sources are considered to be at 0 which has typically only one single solution (all nodes and currents are 0V and 0A). By increasing the source factor in small steps, it is possible to progressively reach a solution without having non-convergence.

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

ISimulationState
In this article
Back to top Generated by DocFX