The square in the capacitor symbol is the positive terminal
240KW/400KW industrial rooftop - commercial rooftop - home rooftop, solar power generation system.
The positive charge flows from the positive to the negative terminal is considered as positive current. If the actual flow is opposite to the assumed direction, it is considered negative. In Figure 1.9.1, the current I is aligned with the direction from the positive to the negative, so I am positive.