Class VoltageSource

java.lang.Object
   |
   +----Element
           |
           +----PowerSourceElement
                   |
                   +----VoltageSource

public abstract class VoltageSource
extends PowerSourceElement
Abstract class for voltage source elements any element with contacts whose voltages shouldn't be evaluated should be inherited from this base class.


Constructor Index

 o VoltageSource()

Method Index

 o getVoltage(double, double)
Returns voltage in given time.

Constructors

 o VoltageSource
 public VoltageSource()

Methods

 o getVoltage
 public abstract double getVoltage(double time,
                                   double timeStep)
Returns voltage in given time.

Parameters:
time - current time.
timeStep - current time step.
Returns:
voltage.