Class AbstractDistributionPowerModelCalculator

    • Constructor Detail

      • AbstractDistributionPowerModelCalculator

        public AbstractDistributionPowerModelCalculator​(DistributionPowerBinding binding)
        Creates a calculator for a distribution power model that is associated with a PowerProvidingEntity.
        Parameters:
        powerProvidingEntity - The entity for which the distribution power model is created.
    • Method Detail

      • calculate

        public abstract org.jscience.physics.amount.Amount<javax.measure.quantity.Power> calculate​(Map<PowerConsumingEntity,​org.jscience.physics.amount.Amount<javax.measure.quantity.Power>> outletConsumptions)
        Calculates the power consumption based on the power consumption measured or evaluated for a set of outlets of the PowerProvidingEntity.
        Parameters:
        outletConsumptions - The consumptions measured/evaluated at the outlets of a set of connected entities.
        Returns:
        The consumption predicted by the calculator.