-
Notifications
You must be signed in to change notification settings - Fork 71
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 #193 from upb-lea/nightly
Version 1.1.0
- Loading branch information
Showing
167 changed files
with
6,117 additions
and
6,738 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -28,3 +28,5 @@ examples/logs/ | |
.coverage | ||
|
||
/my_examples/ | ||
.vscode/settings.json | ||
.vscode/launch.json |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Callbacks | ||
##### | ||
########## | ||
|
||
.. automodule:: gym_electric_motor.callbacks | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Current Control Doubly Fed Induction Motor Environment | ||
********************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContCurrentControlDoublyFedInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContCurrentControlDoublyFedInductionMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Speed Control Doubly Fed Induction Motor Environment | ||
********************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContSpeedControlDoublyFedInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContSpeedControlDoublyFedInductionMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Torque Control Doubly Fed Induction Motor Environment | ||
********************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContTorqueControlDoublyFedInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContTorqueControlDoublyFedInductionMotorEnv | ||
:members: |
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,4 @@ | ||
Continuous Control Set Current Control Externally Excited Synchronous Motor Environment | ||
*************************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContCurrentControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Continuous Control Set Speed Control Externally Excited Synchronous Motor Environment | ||
************************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContSpeedControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Continuous Control Set Torque Control Externally Excited Synchronous Motor Environment | ||
*************************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContTorqueControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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,12 @@ | ||
Externally Excited Synchronous Motor Environments | ||
************************************************ | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Environments: | ||
:glob: | ||
|
||
* | ||
|
||
|
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,4 @@ | ||
Finite Control Set Current Control Externally Excited Synchronous Motor Environment | ||
********************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.FiniteCurrentControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Finite Control Set Speed Control Externally Excited Synchronous Motor Environment | ||
************************************************************************************ | ||
.. autoclass:: gym_electric_motor.envs.FiniteSpeedControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Finite Control Set Torque Control Externally Excited Synchronous Motor Environment | ||
********************************************************************************* | ||
.. autoclass:: gym_electric_motor.envs.FiniteTorqueControlExternallyExcitedSynchronousMotorEnv | ||
:members: |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Current Control Permanent Magnet Synchronous Motor Environment | ||
***************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContCurrentControlPermanentMagnetSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Speed Control Permanent Magnet Synchronous Motor Environment | ||
**************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContSpeedControlPermanentMagnetSynchronousMotorEnv | ||
:members: |
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,4 @@ | ||
Torque Control Permanent Magnet Synchronous Motor Environment | ||
****************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.ContTorqueControlPermanentMagnetSynchronousMotorEnv | ||
:members: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Current Control Squirrel Cage Induction Motor Environment | ||
************************************************************************* | ||
.. autoclass:: gym_electric_motor.envs.AbcContCurrentControlSquirrelCageInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContCurrentControlSquirrelCageInductionMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Speed Control Squirrel Cage Induction Motor Environment | ||
********************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContSpeedControlSquirrelCageInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContSpeedControlSquirrelCageInductionMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Torque Control Squirrel Cage Induction Motor Environment | ||
************************************************************************ | ||
.. autoclass:: gym_electric_motor.envs.AbcContTorqueControlSquirrelCageInductionMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContTorqueControlSquirrelCageInductionMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Current Control Synchronous Reluctance Motor Environment | ||
***************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContCurrentControlSynchronousReluctanceMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContCurrentControlSynchronousReluctanceMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Speed Control Synchronous Reluctance Motor Environment | ||
**************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContSpeedControlSynchronousReluctanceMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContSpeedControlSynchronousReluctanceMotorEnv | ||
:members: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Abc-Continuous Torque Control Synchronous Reluctance Motor Environment | ||
****************************************************************************** | ||
.. autoclass:: gym_electric_motor.envs.AbcContTorqueControlSynchronousReluctanceMotorEnv | ||
.. autoclass:: gym_electric_motor.envs.ContTorqueControlSynchronousReluctanceMotorEnv | ||
:members: |
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,39 @@ | ||
Extertnally Excited Synchronous Motor | ||
###################################### | ||
|
||
Schematic | ||
********* | ||
.. figure:: ../../../plots/ESB_EESM_dq.svg | ||
|
||
.. math:: | ||
L_{\sigma \mathrm{d}} &= L_\mathrm{d} - L_\mathrm{m} \\ | ||
L_{\sigma \mathrm{e}} &= L_\mathrm{e} - L_\mathrm{m} \\ | ||
\psi_\mathrm{d} &= L_\mathrm{d} i_\mathrm{sd} + L_\mathrm{m} i_\mathrm{e} \\ | ||
\psi_\mathrm{q} &= L_\mathrm{q} i_\mathrm{sq} | ||
Electrical ODE | ||
************** | ||
|
||
.. math:: | ||
\sigma = \frac{L_\mathrm{d} L_\mathrm{e} - L_\mathrm{m}^2}{L_\mathrm{d} L_\mathrm{e}} | ||
.. math:: | ||
\frac{\mathrm{d} i_\mathrm{sd}}{\mathrm{d} t} &= - \frac{ R_\mathrm{s} }{ \sigma L_{\mathrm{d} } } i_\mathrm{sd} + \frac{L_\mathrm{q}}{\sigma L_\mathrm{d}} p \omega_\mathrm{me} i_\mathrm{sq} + \frac{L_\mathrm{m} R_\mathrm{e}}{\sigma L_\mathrm{d} L_\mathrm{e}} i_\mathrm{e} + \frac{1}{\sigma L_\mathrm{d}} u_\mathrm{d} - \frac{L_\mathrm{m}}{\sigma L_\mathrm{d} L_\mathrm{e}} u_\mathrm{e} \\ | ||
\frac{\mathrm{d} i_\mathrm{sq}}{\mathrm{d} t} &= -\frac{L_\mathrm{d}}{L_\mathrm{q}} p \omega_\mathrm{me} i_\mathrm{sd} - \frac{R_\mathrm{s}}{L_\mathrm{q}} i_\mathrm{sq} - \frac{L_\mathrm{m}}{L_\mathrm{q}} p \omega_\mathrm{me} i_\mathrm{e} + \frac{1}{L_\mathrm{q}} u_\mathrm{q} \\ | ||
\frac{\mathrm{d} i_\mathrm{e}}{\mathrm{d} t} &= \frac{L_\mathrm{m} R_\mathrm{s}}{\sigma L_\mathrm{d} L_\mathrm{e}} i_\mathrm{sd} - \frac{L_\mathrm{m} L_\mathrm{q}}{ \sigma L_\mathrm{d} L_\mathrm{e}} p \omega_\mathrm{me} i_\mathrm{sq} - \frac{R_\mathrm{s}}{ \sigma L_\mathrm{e}} i_\mathrm{e} - \frac{L_\mathrm{m}}{\sigma L_\mathrm{d}L_\mathrm{e}} u_\mathrm{d} + \frac{1}{\sigma L_\mathrm{e}} u_\mathrm{e} \\ | ||
\frac{\mathrm{d} \varepsilon_\mathrm{el}}{\mathrm{d} t} &= p \omega_\mathrm{me} \\ | ||
Torque Equation | ||
*************** | ||
|
||
.. math:: | ||
T = 1.5 p (L_\mathrm{m} i_\mathrm{e} + (L_\mathrm{d} - L_\mathrm{q}) i_\mathrm{sd}) i_\mathrm{sq} | ||
Code Documentation | ||
****************** | ||
|
||
.. autoclass:: gym_electric_motor.physical_systems.electric_motors.ExternallyExcitedSynchronousMotor | ||
:members: | ||
:inherited-members: |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ Electric Motors | |
series | ||
shunt | ||
pmsm | ||
eesm | ||
synrm | ||
scim | ||
dfim | ||
|
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,6 @@ | ||
Cos Sin Processor | ||
##################### | ||
|
||
.. autoclass:: gym_electric_motor.physical_system_wrappers.CosSinProcessor | ||
:members: | ||
:inherited-members: |
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,6 @@ | ||
Current Sum Processor | ||
###################### | ||
|
||
.. autoclass:: gym_electric_motor.physical_system_wrappers.current_sum_processor.CurrentSumProcessor | ||
:members: | ||
:inherited-members: |
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,6 @@ | ||
Dead Time Processor | ||
##################### | ||
|
||
.. autoclass:: gym_electric_motor.physical_system_wrappers.DeadTimeProcessor | ||
:members: | ||
:inherited-members: |
7 changes: 7 additions & 0 deletions
7
docs/parts/state_action_processors/dq_to_abc_action_processor.rst
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,7 @@ | ||
Dq To Abc Action Processor | ||
########################## | ||
|
||
.. autoclass:: gym_electric_motor.physical_system_wrappers.DqToAbcActionProcessor | ||
:members: | ||
:inherited-members: | ||
|
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,6 @@ | ||
Flux Observer | ||
###################### | ||
|
||
.. autoclass:: gym_electric_motor.physical_system_wrappers.FluxObserver | ||
:members: | ||
:inherited-members: |
Oops, something went wrong.