|
@@ -298,7 +298,8 @@ public class DecoratedNetwork {
|
|
|
|
|
|
return supplierList.stream().map(object -> object.getModel().getNumberOfElements()).reduce(0, Integer::sum)+
|
|
|
consumerList.stream().map(object -> object.getModel().getNumberOfElements()).reduce(0, Integer::sum)+
|
|
|
- consumerSelfSuppliedList.stream().map(object -> object.getModel().getNumberOfElements()).reduce(0, Integer::sum);
|
|
|
+ consumerSelfSuppliedList.stream().map(object -> object.getModel().getNumberOfElements()).reduce(0, Integer::sum)+
|
|
|
+ passivNoEnergyList.stream().map(object -> object.getModel().getNumberOfElements()).reduce(0, Integer::sum);
|
|
|
}
|
|
|
|
|
|
|