Giter VIP home page Giter VIP logo

Comments (4)

cuihantao avatar cuihantao commented on June 23, 2024

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)

kundur_full_fault.xlsx

from andes.

xiaojiangsi avatar xiaojiangsi commented on June 23, 2024

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:
image

image

from andes.

cuihantao avatar cuihantao commented on June 23, 2024

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:

def clear_fault(self, is_time: np.ndarray):
.

from andes.

xiaojiangsi avatar xiaojiangsi commented on June 23, 2024

Thanks for your answer.

from andes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.