Closed pesap closed 6 months ago
It looks like the __new__ method is preventing us to multiply ActivePower * Time to obtain energy. The reason is that the __new__ method of BaseQuantity is checking unit consistency even on the result multiplication.
__new__
ActivePower
Time
BaseQuantity
It looks like the
__new__
method is preventing us to multiplyActivePower
*Time
to obtain energy. The reason is that the__new__
method ofBaseQuantity
is checking unit consistency even on the result multiplication.