Comments (8)
Check this example, https://docs.andes.app/en/latest/_examples/ex9.html
from andes.
Here is the program.
import andes
import matplotlib
import matplotlib.pyplot as plt
ss = andes.load(andes.get_case("ieee14/ieee14_full.xlsx"), setup=False, default_config=True)
ss.setup()
ss.PQ.config.p2p = 1
ss.PQ.config.q2q = 1
ss.PQ.config.p2z = 0
ss.PQ.config.q2z = 0
ss.PQ.pq2z = 0
ss.PFlow.run()
ss.TDS.config.tf = 7
ss.TDS.config.criteria = 0
ss.TDS.run()
ss.GENROU.set(src='u', idx='GENROU_3', attr='v', value=0.6)
ss.TDS.config.tf = 55
ss.TDS.config.criteria = 0
ss.TDS.run()
matplotlib.use('TkAgg')
ss.TDS.load_plotter()
ss.TDS.plt.plot(ss.GENROU.omega,a=(0, 1, 2, 3, 4), ylabel="Generator Frequency(Hz)",grid=True,ytimes=60)
ss.TDS.run()
from andes.
I don't think this is a bug. You might need to check ss.GENROU.set(src='u', idx='GENROU_3', attr='v', value=0.6)
. I am confused about this.
from andes.
I don't think this is a bug. You might need to check
ss.GENROU.set(src='u', idx='GENROU_3', attr='v', value=0.6)
. I am confused about this.
Thank you for your response. Maybe my expression is wrong. I use “ss.GENROU.set(src='u', idx='GENROU_3', attr='v', value=0.6)” to achieve the GENROU3 to increase the active power of 0.2p.u. at 7s(The original active power of the GENROUr is 0.4p.u.). How to achieve it, please?
from andes.
u
is connectivity status that should only be 0 or 1. Setting u
to non-binary values will lead to unexpected results.
from andes.
u
is connectivity status that should only be 0 or 1. Settingu
to non-binary values will lead to unexpected results.
Thank you for your response. What statement should be used to change the active power of the GENROU at a certain moment, please?
from andes.
See the link Jinning shared. I'd like to add that active power output is a dependent variable of the stator voltages and currents. One cannot directly change the power output; it has to go through the references, either by changing the setpoint at turbine governors or at the generator (only when turbine governor is not connected for that generator).
from andes.
Closing the issue for now due to lack of activity. Feel free to re-open it or post updates to Discussions.
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
- TDS Convergence is not likely. HOT 4
- Kundur under-damped modes HOT 2
- Documentation not being updated after repository transfer HOT 4
- 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.