Energy panel setup

i am struggeling to be curtain that my power usage metering is good how i have it set up.
this is my electrical panel:

the A,B, C stands for the phase’s

for energy consumption i have:
Grid_3B + Grid_4C + Grid_5A + Garden_6B + Garden_7C + Garden_8A max 0
production to grid:
((Grid_3B + Grid_4C + Grid_5A) min 0)

is this right i cant get my head over it