Consistent static and small-signal physics-based modeling of dye-sensitized solar cells under different illumination conditions