Closed SanPen closed 6 years ago
Hi Santiago, could you send through the model that you are trying to run? I've been using the WinPython 3.3 stack and PYPOWER 4.1.2. There may well be some forward compatibility problems, but I just want to first check if your model works on my stack.
Hi,
I'm trying to run the default case 9. Nothing new.
The problem is solved by doing i = gen[element.gen_no,0].astype(int)
In general, every time an index is gathered, it shall be converted to integer so that the newer numpy versions accept it.
Great, thanks for that.
Same issues. The index 'source_bus' in run_sim() is recognized as float
Hi I have been trying to use pypower dynamics in python3.
So far I have found the following error:
IndexError: only integers, slices (
:), ellipsis (
...), numpy.newaxis (
None) and integer or boolean arrays are valid indices
This happens becase the indices are floats instead of integers. The affected function (there might be more) is