Adding an "FLoad" dynamic load causing error #442
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hi @MaKla89, it's great to see you here again! It seems like there might be a bug. Would you mind sharing the relevant case file and minimal code with me? I'd be happy to take a look when I have some time. |
Beta Was this translation helpful? Give feedback.
-
The version test for 1.5.2 failed, but the test was successful for version 1.4.4. Minimal code: ss = andes.load(andes.get_case('ieee14/ieee14_fload.json'))
ss.PFlow.run()
ss.TDS.init() |
Beta Was this translation helpful? Give feedback.
-
@cuihantao Hantao, I'm having trouble figuring out how to fix this error. Would you be able to take a look at it when you have some free time? ErrorANDES version: 1.5.1.post2+ge8465ce0, case: The error occurred in method ss.FLoad.as_dict(vin=False)
{'uid': array([0]),
...
'bus': [2]}
ss.FLoad.as_dict(vin=True)
{'uid': array([0]),
...
'bus': array([], dtype=float64)} First bad commitAfter inspection, the issue first occurred in commit e8465ce. The procedures to identify it are listed below:
Finally, the first bad commit can be identified. |
Beta Was this translation helpful? Give feedback.
Update: Dr. Cui has fixed this, see #444