-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add phasor dynamics bus and branch models #38
base: develop
Are you sure you want to change the base?
Conversation
Add bus component model.
Corrected paths to figures in README files for phasor dynamics component models.
|
||
private: | ||
// Default initial values for voltage and phase on PQ bus | ||
ScalarT Va0_{0.0}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be Vr0 and Vi0, along with the constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in c79256c.
using BusData = GridKit::PowerSystemData::BusData<real_type, IdxT>; | ||
|
||
Bus(); | ||
Bus(ScalarT Va, ScalarT Vr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vr, Vi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in c79256c.
*/ | ||
template <class ScalarT, typename IdxT> | ||
Bus<ScalarT, IdxT>::Bus() | ||
: Va0_(0.0), Vr0_(0.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vr,Vi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in c79256c.
*/ | ||
template <class ScalarT, typename IdxT> | ||
Bus<ScalarT, IdxT>::Bus(ScalarT Va, ScalarT Vr) | ||
: Va0_(Va), Vr0_(Vr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vr,Vi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in c79256c.
*/ | ||
template <class ScalarT, typename IdxT> | ||
Bus<ScalarT, IdxT>::Bus(BusData& data) | ||
: Va0_(data.Vm * cos(data.Va)), Vr0_(data.Vm * sin(data.Va)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vr,Vi
|
||
A bus is a point of interconnection of electrical devices. Bus component model | ||
also plays a key role in coupling system components. Each bus $`i`$ owns two | ||
variables -- active and reactive voltage $`V_{ai}`$ and $`V_{ri}`$, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The terms "active and reactive voltage" have no physical meaning. We should say "real and imaginary components of the voltage phasor". Same thing with current. On the other hand, active and reactive power are OK to talk about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in c79256c.
Models for a bus and a branch for phasor dynamics simulations are added. These models use current balance and Cartesian coordinates.