-------------------------------------------------------------------------------- import DC import Circuit import Print circuit :: ESim -> [Device] circuit z0 = (res1 1 1 2 1000.0 z0) ++ (res1 2 2 0 1000.0 z0) ++ (res1 3 1 0 1000.0 z0) ++ (isrc1 4 1 0 1.0 z0) op = dcOP1 [] [] circuit main = opPrint op {- array (1,2) [(1,666.666666666667),(2,333.333333333333)] -}