-------------------------------------------------------------------------------- import DC import Circuit import Print import Array circuit :: ESim -> [Device] circuit z0 = (res1 1 2 0 1.0 z0) ++ (cccs1 2 2 0 1 3 2 z0) ++ (res1 3 3 0 1.0 z0) ++ (vsrc1 4 1 0 1.0 z0) m = dcOP1 [] [] circuit main = opPrint m