Working with a FixedProductionUnit (pv_prod) and a StorageUnit (battery), I thought that the oriented object programmation of objects would be similar. However, I found that pv_prod.p.value gives access to a list of produced power values on the period but battery.p.value gives access to a dictionnary containing the index of the period as key and the charged/discharged power as values. With the StorageUnit, to access a list of power values, the adequate command is battery.p.value.values() .
The question is : could it be possible to achieve an perfect similitude between behaviors of both units ? Furthermore, this problem may exist between other units as well (VariableUnit etc..).