We need number in the methods maximum_profile and calc_coincident_switch_on of appliance class.
For the maximum it would make sense to get the maximum value of number allowed by the probability distribution, or keep the number if no probability distribution.
For the coincidence switch the appliance number can be given by a method which differentiate whether number was provided as int or as probability distribution
We need number in the methods
maximum_profile
andcalc_coincident_switch_on
of appliance class.For the maximum it would make sense to get the maximum value of number allowed by the probability distribution, or keep the number if no probability distribution.
For the coincidence switch the appliance number can be given by a method which differentiate whether number was provided as int or as probability distribution