Given data:
Power of refrigerator, \( P = 500 \) W = 0.5 kW
Time used per day, \( t = 12 \) hours
Total days, \( d = 30 \)
Energy Consumption:
\[
\text{Energy} = P \times t \times d
\]
\[
= 0.5 \times 12 \times 30
\]
\[
= 180 \text{ kWh}
\]
Thus, the refrigerator consumes 180 kWh in 30 days.