public class JacobianArrayList extends java.util.AbstractList<JacobianElement> implements JacobianList
JacobianList.Element
Constructor and Description |
---|
JacobianArrayList(int size) |
Modifier and Type | Method and Description |
---|---|
void |
dec(int index,
JacobianElement e)
Deccrement all partial derivatives of this element with the given element
|
void |
decDpda(int ndx,
float v)
decrement the partial derivative of active power with respect to voltage angle
|
void |
decDpdv(int ndx,
float v)
decrement the partial derivative of active power with respect to voltage magnitude
|
void |
decDqda(int ndx,
float v)
decrement the partial derivative of reactive power with respect to voltage angle
|
void |
decDqdv(int ndx,
float v)
decrement the partial derivative of reactive power with respect to voltage magnitude
|
JacobianElement |
get(int index) |
float |
getDpda(int ndx)
get the partial derivative of active power with respect to voltage angle
|
float |
getDpdv(int ndx)
get the partial derivative of active power with respect to voltage magnitude
|
float |
getDqda(int ndx)
get the partial derivative of reactive power with respect to voltage angle
|
float |
getDqdv(int ndx)
get the partial derivative of reactive power with respect to voltage magnitude
|
void |
inc(int index,
JacobianElement e)
Increment all partial derivatives of this element with the given element
|
void |
incDpda(int ndx,
float v)
increment the partial derivative of active power with respect to voltage angle
|
void |
incDpdv(int ndx,
float v)
increment the partial derivative of active power with respect to voltage magnitude
|
void |
incDqda(int ndx,
float v)
increment the partial derivative of reactive power with respect to voltage angle
|
void |
incDqdv(int ndx,
float v)
increment the partial derivative of reactive power with respect to voltage magnitude
|
void |
replace(int index,
JacobianElement e)
Set the element, but don't worry about a return value
|
void |
reset()
reset all the elements to 0
|
JacobianElement |
set(int index,
JacobianElement element) |
void |
setDpda(int ndx,
float v)
set the partial derivative of active power with respect to voltage angle
|
void |
setDpdv(int ndx,
float v)
set the partial derivative of active power with respect to voltage magnitude
|
void |
setDqda(int ndx,
float v)
set the partial derivative of reactive power with respect to voltage angle
|
void |
setDqdv(int ndx,
float v)
set the partial derivative of reactive power with respect to voltage magnitude
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public float getDpda(int ndx)
JacobianList
getDpda
in interface JacobianList
public float getDpdv(int ndx)
JacobianList
getDpdv
in interface JacobianList
public float getDqda(int ndx)
JacobianList
getDqda
in interface JacobianList
public float getDqdv(int ndx)
JacobianList
getDqdv
in interface JacobianList
public void setDpda(int ndx, float v)
JacobianList
setDpda
in interface JacobianList
public void setDpdv(int ndx, float v)
JacobianList
setDpdv
in interface JacobianList
public void setDqda(int ndx, float v)
JacobianList
setDqda
in interface JacobianList
public void setDqdv(int ndx, float v)
JacobianList
setDqdv
in interface JacobianList
public JacobianElement get(int index)
get
in interface JacobianList
get
in interface java.util.List<JacobianElement>
get
in class java.util.AbstractList<JacobianElement>
public int size()
size
in interface java.util.Collection<JacobianElement>
size
in interface java.util.List<JacobianElement>
size
in class java.util.AbstractCollection<JacobianElement>
public void reset()
JacobianList
reset
in interface JacobianList
public void incDpda(int ndx, float v)
JacobianList
incDpda
in interface JacobianList
public void incDpdv(int ndx, float v)
JacobianList
incDpdv
in interface JacobianList
public void incDqda(int ndx, float v)
JacobianList
incDqda
in interface JacobianList
public void incDqdv(int ndx, float v)
JacobianList
incDqdv
in interface JacobianList
public void decDpda(int ndx, float v)
JacobianList
decDpda
in interface JacobianList
public void decDpdv(int ndx, float v)
JacobianList
decDpdv
in interface JacobianList
public void decDqda(int ndx, float v)
JacobianList
decDqda
in interface JacobianList
public void decDqdv(int ndx, float v)
JacobianList
decDqdv
in interface JacobianList
public JacobianElement set(int index, JacobianElement element)
set
in interface java.util.List<JacobianElement>
set
in class java.util.AbstractList<JacobianElement>
public void replace(int index, JacobianElement e)
index
- e
- public void inc(int index, JacobianElement e)
JacobianList
inc
in interface JacobianList
public void dec(int index, JacobianElement e)
JacobianList
dec
in interface JacobianList