Class EvcsClusterImpl

    • Field Detail

      • cm

        protected cm
      • sum

        protected Sum sum
    • Constructor Detail

      • EvcsClusterImpl

        public EvcsClusterImpl()
    • Method Detail

      • addEvcs

        protected void addEvcs​(Evcs evcs)
      • removeEvcs

        protected void removeEvcs​(Evcs evcs)
      • handleEvent

        public void handleEvent​(org.osgi.service.event.Event event)
        Specified by:
        handleEvent in interface org.osgi.service.event.EventHandler
      • limitEvcss

        protected void limitEvcss()
        Depending on the excess power, the EVCSs will be charged. Distributing the maximum allowed charge distribution power (given by the implementation) to each evcs.
      • getSortedEvcss

        public java.util.List<Evcs> getSortedEvcss()
        Sorted list of the EVCSs in the cluster.

        List of EVCSs that should be considered in the cluster sorted by prioritisation.

        Sorted EVCS list
      • getMaximumPowerToDistribute

        public int getMaximumPowerToDistribute()
        Maximum power to distribute.

        Calculate the maximum power to distribute, like excess power or excess power + storage.

        Maximum Power in Watt
      • getAvailableGridPower

        public int getAvailableGridPower()
        Maximum available grid power.

        Calculate the maximum available power from the grid. This value is used as a fallback option when it becomes negative.

        Current grid power in W
      • logInfoInDebugmode

        protected void logInfoInDebugmode​(org.slf4j.Logger log,
                                          java.lang.String string)