define source

Hi i need to define source one positive 1000 hz other negative
and the third as reference 0
should i do
s1 =1
s2=-1
ground=0
related to AddBoundarySettings
DirichletValue