SHARE
TWEET

Untitled

a guest Feb 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct buscase
  2. baseMVA::Any
  3. bus::Matrix{Float64}
  4. gen::Matrix{Float64}
  5. branch::Matrix{Float64}
  6. end
  7.  
  8. mpc = buscase(100.00,
  9. [1  2   0   0   0   0   1   1   0   230 1   1.1 0.9;
  10. 2   1   300 98.61   0   0   1   1   0   230 1   1.1 0.9;
  11. 3   2   300 98.61   0   0   1   1   0   230 1   1.1 0.9;
  12. 4   3   400 131.47  0   0   1   1   0   230 1   1.1 0.9;
  13. 5   2   0   0   0   0   1   1   0   230 1   1.1 0.9;],
  14.  
  15. [1  40  0   30  -30 1   100 1   40  0   0   0   0   0   0   0   0   0   0   0    
  16. 0;
  17. 1   170 0   127.5   -127.5  1   100 1   170 0   0   0   0   0   0   0   0   0    
  18. 0   0   0;
  19. 3   323.49  0   390 -390    1   100 1   520 0   0   0   0   0   0   0   0   0    
  20. 0   0   0;
  21. 4   0   0   150 -150    1   100 1   200 0   0   0   0   0   0   0   0   0   0    
  22. 0   0;
  23. 5   466.51  0   450 -450    1   100 1   600 0   0   0   0   0   0   0   0   0    
  24. 0   0   0;],
  25.  
  26. [1  2   0.00281 0.0281  0.00712 400 400 400 0   0   1   -360    360;
  27. 1   4   0.00304 0.0304  0.00658 0   0   0   0   0   1   -360    360;
  28. 1   5   0.00064 0.0064  0.03126 0   0   0   0   0   1   -360    360;
  29. 2   3   0.00108 0.0108  0.01852 0   0   0   0   0   1   -360    360;
  30. 3   4   0.00297 0.0297  0.00674 0   0   0   0.9 0   1   -360    360;
  31. 4   5   0.00297 0.0297  0.00674 240 240 240 0   0   1   -360    360;]
  32. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top