Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d4a0691
add updated documentation
maattaj11 Aug 19, 2024
761a490
edited gitignore
maattaj11 Aug 20, 2024
15ca070
updated complexFFPI current controller diagram. Now uses complex vect…
MiSaren Aug 21, 2024
e0de5cd
Merge pull request #62 from MiSaren/main
MiSaren Aug 21, 2024
194cdcd
refactored imports: CarrierComparison, Simulation and VoltageSourceCo…
maattaj11 Aug 21, 2024
9d73ea4
updated example scripts to use new import structure
maattaj11 Aug 21, 2024
28c5338
Merge branch 'update-imports' into update-docs
maattaj11 Aug 21, 2024
380ad8d
Merge branch 'update-docs' of https://github.com/MiSaren/motulator in…
maattaj11 Aug 21, 2024
615637a
move example scripts into separate drive and grid subfolders
maattaj11 Aug 21, 2024
155146f
updated equations in gfl current controller
MiSaren Aug 21, 2024
654c112
documentation layout updated
MiSaren Aug 21, 2024
61ed55c
updated Usage section, fix to conf.py
maattaj11 Aug 21, 2024
c8fa3d1
links fixed in documentation, all examples. and also most of the mode…
MiSaren Aug 21, 2024
77e8553
updated grid voltage source documentation
maattaj11 Aug 21, 2024
5bd0640
small fixes in documentation, removed unnecessary comment from common…
maattaj11 Aug 21, 2024
2e79952
edited section names in control docs
maattaj11 Aug 21, 2024
195c067
readded CarrierComparison to common.model init to fix some links in d…
maattaj11 Aug 21, 2024
5261038
set autoapi option to have api reference in alphabetical order, chang…
maattaj11 Aug 21, 2024
f21a126
removed conductances
MiSaren Aug 21, 2024
3f5cc89
Merge branch 'main' into update-docs
maattaj11 Aug 22, 2024
c3e6ce2
Merge branch 'update-docs' of https://github.com/MiSaren/motulator in…
maattaj11 Aug 22, 2024
79f7c95
fix import in IM flux vector example, fix cross-references in GFM exa…
maattaj11 Aug 22, 2024
b8d189b
LC- and L-filter figures updates
MiSaren Aug 22, 2024
9b7787a
modified notation in grid filter documentation, added an exception th…
maattaj11 Aug 22, 2024
96fa36a
modified generic system model section, added describtion of the main …
MiSaren Aug 22, 2024
0ae0491
updated converter documentation and figures
maattaj11 Aug 22, 2024
ffff902
minor typo fix in LC filter
MiSaren Aug 22, 2024
2ecd0e2
typo fixes, also removed unneccessary newlines in files ac_filter.rst…
MiSaren Aug 22, 2024
5543385
added observer section to Synchronization, removed unnecessary newlines
maattaj11 Aug 22, 2024
824ec33
edits to documentation structure: removed sections that will be impro…
maattaj11 Aug 23, 2024
a1aab2f
renamed Generic System Model section to Introduction, moved main cont…
maattaj11 Aug 23, 2024
cef9cc7
updated converter figures i_ext -> i_dc, i_dc -> i_dc'. The same chan…
MiSaren Aug 23, 2024
0f4020d
grid filter, equation notation fixed
MiSaren Aug 23, 2024
4e2df71
U_gN -> u_gN in PLL section
MiSaren Aug 23, 2024
6453727
changed grid.control folder structure to simplify imports in examples…
maattaj11 Aug 23, 2024
3c6a26e
Merge pull request #63 from MiSaren/update-docs-fixes
maattaj11 Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ __pycache__/
# Sphinx documentation
docs/source/_build/
docs/source/auto_examples/
docs/source/drive_examples/
docs/source/grid_examples/
docs/build/
docs/source/autoapi/
docs/source/sg_execution_times.rst
21 changes: 10 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,24 @@
autoapi_python_class_content = "class" # "both"
autoapi_keep_files = True
autoapi_add_toctree_entry = False
autoapi_member_order = "alphabetical"

from sphinx_gallery.sorting import ExplicitOrder

sphinx_gallery_conf = {
"examples_dirs":
"../../examples", # path to your example scripts
"gallery_dirs":
"auto_examples", # path to where to save gallery generated output
"examples_dirs": ["../../examples/drive", "../../examples/grid"],
"gallery_dirs": ["drive_examples", "grid_examples"],
"nested_sections":
True,
"subsection_order":
ExplicitOrder([
"../../examples/vector",
"../../examples/vhz",
"../../examples/obs_vhz",
"../../examples/flux_vector",
"../../examples/signal_inj",
"../../examples/grid_following",
"../../examples/grid_forming",
"../../examples/drive/vector",
"../../examples/drive/vhz",
"../../examples/drive/obs_vhz",
"../../examples/drive/flux_vector",
"../../examples/drive/signal_inj",
"../../examples/grid/grid_following",
"../../examples/grid/grid_forming",
]),
}

Expand Down
15 changes: 0 additions & 15 deletions docs/source/control/design_notes.rst

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Induction Machines
System Model
^^^^^^^^^^^^

The inverse-Γ model of an induction machine is considered (see :doc:`/model/machines`). Using the stator current :math:`\boldsymbol{i}_\mathrm{s}` and the rotor flux linkage :math:`\boldsymbol{\psi}_\mathrm{R}` as state variables, the model in synchronous coordinates rotating at :math:`\omega_\mathrm{s}` can be written as
The inverse-Γ model of an induction machine is considered (see :doc:`/model/drive/machines`). Using the stator current :math:`\boldsymbol{i}_\mathrm{s}` and the rotor flux linkage :math:`\boldsymbol{\psi}_\mathrm{R}` as state variables, the model in synchronous coordinates rotating at :math:`\omega_\mathrm{s}` can be written as

.. math::
L_\sigma \frac{\mathrm{d} \boldsymbol{i}_\mathrm{s}}{\mathrm{d} t} &= \boldsymbol{u}_\mathrm{s} - (R_\sigma + \mathrm{j} \omega_\mathrm{s}L_\sigma)\boldsymbol{i}_\mathrm{s} - \underbrace{\left(\mathrm{j}\omega_\mathrm{m} - \frac{R_\mathrm{R}}{L_\mathrm{M}}\right)\boldsymbol{\psi}_\mathrm{R}}_{\text{back-emf } \boldsymbol{e}_\mathrm{s}} \\
Expand Down
15 changes: 15 additions & 0 deletions docs/source/control/drive/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
******
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 section will be extended in the future.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In the following, reduced-order observer designs for the induction machine are c
Machine Model
^^^^^^^^^^^^^

The inverse-Γ model of an induction machine is considered (see :doc:`/model/machines`). In a coordinate system rotating at the angular speed :math:`\omega_\mathrm{s}`, the rotor flux dynamics can be expressed using the stator and rotor quantities, respectively, as
The inverse-Γ model of an induction machine is considered (see :doc:`/model/drive/machines`). In a coordinate system rotating at the angular speed :math:`\omega_\mathrm{s}`, the rotor flux dynamics can be expressed using the stator and rotor quantities, respectively, as

.. math::
\frac{\mathrm{d} \boldsymbol{\psi}_\mathrm{R}}{\mathrm{d} t} + \mathrm{j}\omega_\mathrm{s}\boldsymbol{\psi}_\mathrm{R} &= \boldsymbol{u}_\mathrm{s} - R_\mathrm{s}\boldsymbol{i}_\mathrm{s} - L_\sigma \frac{\mathrm{d} \boldsymbol{i}_\mathrm{s}}{\mathrm{d} t} - \mathrm{j} \omega_\mathrm{s}L_\sigma\boldsymbol{i}_\mathrm{s} \\
Expand Down Expand Up @@ -154,7 +154,7 @@ In sensorless control of synchronous machine drives, the rotor position and spee
Machine Model in General Coordinates
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In :doc:`/model/machines`, the synchronous machine model is given in rotor coordinates. For the observer design and analysis, it is convenient to express this model in general coordinates, aligned at :math:`\vartheta_\mathrm{s}` and rotating at :math:`\omega_\mathrm{s} = \mathrm{d} \vartheta_\mathrm{s}/\mathrm{d} t` with respect to stator coordinates. Furthermore, the rotor is aligned at :math:`\vartheta_\mathrm{m}` and rotates at :math:`\omega_\mathrm{m} = \mathrm{d} \vartheta_\mathrm{m}/\mathrm{d} t` with respect to stator coordinates. This coordinate transformation results in
In :doc:`/model/drive/machines`, the synchronous machine model is given in rotor coordinates. For the observer design and analysis, it is convenient to express this model in general coordinates, aligned at :math:`\vartheta_\mathrm{s}` and rotating at :math:`\omega_\mathrm{s} = \mathrm{d} \vartheta_\mathrm{s}/\mathrm{d} t` with respect to stator coordinates. Furthermore, the rotor is aligned at :math:`\vartheta_\mathrm{m}` and rotates at :math:`\omega_\mathrm{m} = \mathrm{d} \vartheta_\mathrm{m}/\mathrm{d} t` with respect to stator coordinates. This coordinate transformation results in

.. math::
\frac{\mathrm{d}\boldsymbol{\psi}_\mathrm{s}}{\mathrm{d} t} &= \boldsymbol{u}_\mathrm{s} - R_\mathrm{s}\boldsymbol{i}_\mathrm{s} - \mathrm{j}\omega_\mathrm{s}\boldsymbol{\psi}_\mathrm{s} \\
Expand Down
Loading
Loading