Comments (1)
If you're getting the message TypeError: %d format: a number is required, not numpy.ndarray
, this seems to be a bug in savecase.py
. You can fix it by changing line 143 of savecase.py
(the file location should be referenced in the traceback that is printed when the error occurs). Near the end of line 143, change
bus[:, :MU_VMIN + 1]
to
bus[i, :MU_VMIN + 1]
(i.e., change the first colon to an i).
from pypower.
Related Issues (20)
- pf not found
- TypeError: object of type 'numpy.int64' has no len()
- Using truth value of an array with more than one element in t_is
- Traceback occurs when using printpf() function HOT 1
- Missing astype(int) HOT 1
- big god,help me! HOT 4
- makeYbus uses one-indexing HOT 4
- Error regarding importing a new casefile HOT 2
- Getting ValueError: Shape mismatch Error when running OPF HOT 1
- Variable bi in runpf must be converted from float to int HOT 2
- Example or documentation to use the newly added CPF feature
- IndexError in runpf.py, line 212 HOT 1
- Bugs in makeYbus.py, lines 35-36 and lines 66-67 HOT 6
- IPOPT interface in Pypower
- makePTDF ValueError: column index exceeds matrix dimensions HOT 4
- How can I use DCOPF,because I only use ACOPF
- IndexError due to 'ext2int.py' of 'runpf.py' HOT 1
- How to warm start an AC OPF solution?
- pypower.org is down HOT 1
- IEEE 30bus system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypower.