Text this: Energy storage device sizing and energy management in building‐applied photovoltaic systems considering battery degradation