-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #480 from EOMYS-Public/Debug
[CC] Updating Tutorials for release 1.3.7
- Loading branch information
Showing
18 changed files
with
333,636 additions
and
1,497 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from numpy import exp | ||
|
||
|
||
def set_I0_Phi0(self, I0, Phi0): | ||
"""Set the value for I0 and IPhi0 | ||
Parameters | ||
---------- | ||
self : OPdq | ||
An OPdq object | ||
I0 : float | ||
I0 value to set [Arms] | ||
Phi0 : float | ||
IPhi0 value to set [rad] | ||
""" | ||
|
||
if I0 == 0: | ||
self.Id_ref = 0 | ||
self.Iq_ref = 0 | ||
else: | ||
Z = I0 * exp(1j * Phi0) | ||
self.Id_ref = Z.real | ||
self.Iq_ref = Z.imag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from numpy import exp | ||
|
||
|
||
def set_I0_Phi0(self, I0, Phi0): | ||
"""Set the value for I0 and IPhi0 | ||
Parameters | ||
---------- | ||
self : OPslip | ||
An OPslip object | ||
I0 : float | ||
I0 value to set [Arms] | ||
Phi0 : float | ||
IPhi0 value to set [rad] | ||
""" | ||
|
||
self.I0_ref = I0 | ||
self.IPhi0_ref = Phi0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters