$9\rm V$ Battery with $45^\circ$ phase
OK, this is a slightly constructed situation, but as far as I can see, the following is the only thing that makes sense, kind of ...


  If $A$ is your DC voltage, then a phase of $45$ degrees means multiplying it with $e^{j\pi/4}$, i.e., you get $Ae^{j\pi/4}=\frac{A}{\sqrt{2}}(1+j)$. So scale the voltage with $1/\sqrt{2}$, and - apart from the ground wire - use two wires connected to '+' coming out of that box. Stick a tag with $j$ on it on one of the two.