Comments (4)
I was able to replicate this isse. It is due to the non-convergence of post-fault equations using the pre-fault values as the initial values.
One temporary solution is to scale the initial values to the post-fault equations by setting ss.Fault.config.scale
.
import andes
andes.config_logger(20)
%matplotlib inline
ss = andes.run("kundur_full_fault.xlsx")
xy = ss.TDS.init()
ss.Fault.config.scale = 1.8
ss.TDS.run()
ss.TDS.plt.plot(ss.Bus.v)
from andes.
I tried the above and it works under the situation of fault start from 1.0s to 1.1s at bus 1. But in other situations which don't need change the scale can be converged, after set the scale at 1.8, it is not work. Could you tell me how to adjust the scale in different scenarios? What is the usage of scale?
for example when I alter the tc to 1.05, the scale change doesn't work:
from andes.
When a fault gets cleared, algebraic variables change drastically. E.g., voltages can go from nearly zero back to 1.0. As we are using Newton's method for solving the DAE, the initial values are crucial for the immediate step after fault clearance.
What's done in ANDES is the restoration of pre-fault algebraic variables. ss.Fault.config.scale
is the scaling factor for the pre-fault algebraic variables for adjusting the initial values. There is no theory about adjusting the initial value; some trial and error are expected for severe disturbances, like the one on Bus 1 where there is a generator. See here:
Line 208 in e4d1c27
from andes.
Thanks for your answer.
from andes.
Related Issues (20)
- variable wt in 'wtdta1.py' is not set up as the type <y> HOT 8
- Parsing issue in dyr for HYGOV HOT 2
- Andes speed calculation HOT 11
- `config_option` fails when the value is a floating number
- Time domain simulation of fault failed for system with renewables HOT 11
- Running PFlow after TDS.run() HOT 1
- TGOV1N setpoint for reactive power (qref0) does not seem to be implemented in contrast to documentation HOT 3
- Data file likely contains references to unsupported models. HOT 2
- 借个楼问下崔老师还招phd嘛? HOT 1
- Kundur under-damped modes HOT 2
- Documentation not being updated after repository transfer HOT 4
- Problems in the simulation of generator frequency HOT 8
- FLoad error HOT 1
- Bug in selftest HOT 4
- Reloading pycode from a custom `user_pycode_path` fails in Python 3.9 due to missing `importlib.util` import HOT 3
- Bug with dependency kvxopt 1.3.2.0 HOT 2
- Inconsistence between timeseries data shape and variable name with model Output HOT 6
- Parameter updating does not reflect in export file HOT 2
- Typo in matpower tests HOT 1
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 andes.