-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation, reorganize example scripts (#148)
* add updated documentation * edited gitignore * updated complexFFPI current controller diagram. Now uses complex vector design instead of IMC * refactored imports: CarrierComparison, Simulation and VoltageSourceConverter are now imported as part of grid.model package. BaseValues and NominalValues classes are defined in common/utils/ and imported into drive.utils and grid.utils * updated example scripts to use new import structure * move example scripts into separate drive and grid subfolders * updated equations in gfl current controller * documentation layout updated * updated Usage section, fix to conf.py * links fixed in documentation, all examples. and also most of the models and control * updated grid voltage source documentation * small fixes in documentation, removed unnecessary comment from common.model * edited section names in control docs * readded CarrierComparison to common.model init to fix some links in documentation, fixed import in CarrierComparison docstring usage example * set autoapi option to have api reference in alphabetical order, change import in common/model/converter.py to fix some links in api reference * removed conductances * fix import in IM flux vector example, fix cross-references in GFM example readme * LC- and L-filter figures updates * modified notation in grid filter documentation, added an exception that is raised if ACFilter is not given correct parameters * modified generic system model section, added describtion of the main control loop * updated converter documentation and figures * minor typo fix in LC filter * typo fixes, also removed unneccessary newlines in files ac_filter.rst and system.rst * added observer section to Synchronization, removed unnecessary newlines * edits to documentation structure: removed sections that will be improved and included in a later PR, removed mentions to future extensions on some pages * renamed Generic System Model section to Introduction, moved main control loop description to a separate page under Design notes * updated converter figures i_ext -> i_dc, i_dc -> i_dc'. The same change in equations and text. Notation changed to follow normal convention in the text books. * grid filter, equation notation fixed * U_gN -> u_gN in PLL section * changed grid.control folder structure to simplify imports in examples, all grid converter control-related classes are now imported directly from motulator.grid.control --------- Co-authored-by: Mikko Sarén <[email protected]> Co-authored-by: Mikko Sarén <[email protected]>
- Loading branch information
1 parent
15dc418
commit 9103cc4
Showing
85 changed files
with
11,694 additions
and
1,380 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
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,15 @@ | ||
Control Systems | ||
=============== | ||
|
||
Main Control Loop | ||
----------------- | ||
|
||
By default, the discrete-time controllers in *motulator* run the following scheme in a main control loop: | ||
|
||
1. Get the feedback signals. This step may contain first getting the measurements and then optionally computing the observer outputs. | ||
2. Compute the reference signals (controller outputs) based on the feedback signals. | ||
3. Update the control system states for the next sampling instant. | ||
4. Save the feedback signals and the reference signals. | ||
5. Return the sampling period `T_s` and the duty ratios `d_abc` for the carrier comparison. | ||
|
||
The main control loop is implemented in the base class for control systems in :class:`motulator.common.control.ControlSystem`. |
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
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,13 @@ | ||
****** | ||
Drives | ||
****** | ||
|
||
Design notes for selected control methods for machine drives are provided in this section. The aim of these notes is to link the implemented methods to the theory and to provide a reference for the implementation. Further details are available in the references provided. | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
:maxdepth: 2 | ||
|
||
speed_ctrl | ||
current_ctrl | ||
Observers <observers> |
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
File renamed without changes.
Oops, something went wrong.