public class AclfBusLoadHelper extends BaseAclfBusHelper
bus
Constructor and Description |
---|
AclfBusLoadHelper(BaseAclfBus<?,?> bus)
Constructor that initializes the bus instance.
|
Modifier and Type | Method and Description |
---|---|
double |
calLoadP(java.util.function.Predicate<AclfLoad> predicate)
Calculate bus load P including its distributed generation.
|
org.apache.commons.math3.complex.Complex |
calLoadPQ()
Calculate bus load PQ including its distributed generation.
|
double |
calLoadQ(java.util.function.Predicate<AclfLoad> predicate)
Calculate bus load Q including its distributed generation.
|
public AclfBusLoadHelper(BaseAclfBus<?,?> bus)
bus
- The bus instance to be used by this helper.public org.apache.commons.math3.complex.Complex calLoadPQ()
public double calLoadP(java.util.function.Predicate<AclfLoad> predicate)
predicate
- a predicate to filter the loads that should be included in the calculationpublic double calLoadQ(java.util.function.Predicate<AclfLoad> predicate)
predicate
- a predicate to filter the loads that should be included in the calculation