Skip to content

Commit

Permalink
improve documentation of hydro and steamm Turbines and Governos
Browse files Browse the repository at this point in the history
Signed-off-by: martin.moraga <[email protected]>
  • Loading branch information
martinmoraga committed Feb 12, 2024
1 parent 457677d commit bd7bd35
Show file tree
Hide file tree
Showing 15 changed files with 4,945 additions and 185 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions dpsim-models/src/Signal/ExciterStatic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,8 @@ Real ExciterStatic::step(Real mVd, Real mVq, Real dt, Real Vpss) {
/// Compute Xb at time k+1 using euler forward
mXb = mXb_prev + (mVin - mXb_prev) * dt / mParameters->Tb;

// Compute Efd at time k+1 using euler forward
mVe = mVin * mCa + mXb * mCb - mParameters->Kbc * (mEfd - mEfdLim);

//Integrator for T_e time constant !with! Wind-up
// Compute Efd at time k using euler forward
mVe = mVin * mCa + mXb_prev * mCb - mParameters->Kbc * (mEfd - mEfdLim);
mEfd = mEfd + (dt / mParameters->Te) * (mParameters->Ka * mVe - mEfd);
if (mEfd > mParameters->MaxEfd)
mEfdLim = mParameters->MaxEfd;
Expand Down

0 comments on commit bd7bd35

Please sign in to comment.