Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. * Lab 2 prelab
  2. VS 1 0 AC 4V 0
  3. R1 1 2 1000
  4. R2 2 5 1000
  5. RL 2 3 110
  6. C1 2 6 .5uF IC=0
  7. VSENSC 6 0 DC 0
  8. VSENSRL 5 0 DC 0
  9. LL 3 4 150mh
  10. VSENSLL 4 0 DC 0
  11. *
  12. * Use the file-based controls to run simulation!!
  13. .CONTROL
  14. SET UNITS=DEG
  15. AC LIN 1 0.1 0.1
  16. PRINT mag(V(1)) mag(V(1,2)) mag(V(2,3)) mag(V(2,4)) mag(V(2,6))
  17. PRINT ph(V(1)) ph(V(1,2)) ph(V(2,3)) ph(V(2,4)) ph(V(2,6))
  18. PRINT mag(I(VS)) mag(I(VSENSRL)) mag(I(VSENSLL))
  19. PRINT ph(I(VS)) ph(I(VSENSRL)) ph(I(VSENSLL)) ph(I(VSENSC))
  20. .ENDC
  21. .END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement