ElectroMag
Transformer

Description

This LaTeX code generates a circuit diagram using the circuitikz package. The circuit consists of a signal generator on the left, connected to a two-port network with characteristic impedance Z_g. The two-port network is connected to two transmission lines with an open circuit at one end and connected to a load with characteristic impedance Z_L at the other end. The circuit is enclosed in a circuitikz environment, and the tikzstyle command defines the style of the rectangle-shaped block that is used to enclose the two-port network in the diagram.

Keywords

circuit, tikz, block, twoport, TL, sI, Z_g, Z_L.

Source Code

ElectroMag

\documentclass{standalone}
 
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}
	\tikzstyle{block} = [draw, fill=white, rectangle, 
	minimum height=3em, minimum width=3em]
	\begin{circuitikz}
		\draw (0,4) to [twoport,t=$Z_g$](4,4);
		\draw (4,0) to[TL] (10,0);
		\draw (4,4) to[TL]  (10,4);
		\draw (10,4) to [twoport,t=$Z_L$](10,0);
		\draw (0,0) to [sI] (0,4);
		\draw (4,0) to (0,0);
	\end{circuitikz}
\end{document}
Deploy to Overleaf