From 493dd6ae2dd8df0fb5415d07fefe448ff0df9d33 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 12 Oct 2024 11:24:19 +0000 Subject: [PATCH] Update documentation --- .../grid_examples_jupyter.zip | Bin 22864 -> 22864 bytes .../drive_examples_jupyter.zip | Bin 113451 -> 113451 bytes .../plot_flux_vector_pmsyrm_5kw.zip | Bin 17263 -> 17263 bytes .../plot_vector_ctrl_im_2kw.zip | Bin 9634 -> 9634 bytes .../plot_gfm_obs_13kva.zip | Bin 7248 -> 7248 bytes .../plot_vector_ctrl_im_2kw_tq_mode.zip | Bin 6829 -> 6829 bytes .../plot_gfl_10kva.zip | Bin 6889 -> 6889 bytes .../plot_obs_vhz_ctrl_pmsm_2kw_two_mass.zip | Bin 11021 -> 11021 bytes .../plot_gfl_dc_bus_10kva.zip | Bin 6773 -> 6773 bytes .../plot_vector_ctrl_pmsm_2kw_diode.zip | Bin 5996 -> 5996 bytes .../plot_vhz_ctrl_6step_im_2kw.zip | Bin 7377 -> 7377 bytes .../plot_vector_ctrl_pmsyrm_thor.zip | Bin 7278 -> 7278 bytes .../plot_obs_vhz_ctrl_im_2kw.zip | Bin 7037 -> 7037 bytes .../plot_flux_vector_pmsm_2kw.zip | Bin 5614 -> 5614 bytes .../plot_vector_ctrl_pmsm_2kw.zip | Bin 5654 -> 5654 bytes .../plot_obs_vhz_ctrl_pmsm_2kw.zip | Bin 6263 -> 6263 bytes .../grid_examples_python.zip | Bin 10526 -> 10526 bytes .../plot_gfl_lcl_10kva.zip | Bin 6010 -> 6010 bytes .../plot_vhz_ctrl_im_2kw.zip | Bin 8260 -> 8260 bytes .../plot_signal_inj_pmsm_2kw.zip | Bin 7385 -> 7385 bytes .../plot_gfm_rfpsc_13kva.zip | Bin 6252 -> 6252 bytes .../plot_signal_inj_syrm_7kw.zip | Bin 7582 -> 7582 bytes .../plot_vhz_ctrl_im_2kw_lc.zip | Bin 9379 -> 9379 bytes .../plot_obs_vhz_ctrl_pmsyrm_thor.zip | Bin 12129 -> 12129 bytes .../plot_flux_vector_syrm_7kw.zip | Bin 13340 -> 13340 bytes .../plot_obs_vhz_ctrl_syrm_7kw.zip | Bin 12747 -> 12747 bytes .../drive_examples_python.zip | Bin 60274 -> 60274 bytes .../plot_flux_vector_im_2kw.zip | Bin 6711 -> 6711 bytes .../plot_vector_ctrl_syrm_7kw.zip | Bin 5966 -> 5966 bytes .../motulator/common/model/_converter.html | 8 +- .../motulator/drive/model/_drive.html | 58 ------- .../autoapi/motulator/drive/model/index.rst | 85 +--------- .../flux_vector/plot_flux_vector_im_2kw.rst | 2 +- .../flux_vector/plot_flux_vector_pmsm_2kw.rst | 2 +- .../plot_flux_vector_pmsyrm_5kw.rst | 2 +- .../flux_vector/plot_flux_vector_syrm_7kw.rst | 2 +- .../flux_vector/sg_execution_times.rst | 10 +- .../obs_vhz/plot_obs_vhz_ctrl_im_2kw.rst | 2 +- .../obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.rst | 2 +- .../plot_obs_vhz_ctrl_pmsm_2kw_two_mass.rst | 2 +- .../obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.rst | 2 +- .../obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.rst | 2 +- .../obs_vhz/sg_execution_times.rst | 12 +- .../signal_inj/plot_signal_inj_pmsm_2kw.rst | 2 +- .../signal_inj/plot_signal_inj_syrm_7kw.rst | 2 +- .../signal_inj/sg_execution_times.rst | 6 +- .../vector/plot_vector_ctrl_im_2kw.rst | 2 +- .../plot_vector_ctrl_im_2kw_tq_mode.rst | 2 +- .../vector/plot_vector_ctrl_pmsm_2kw.rst | 4 +- .../plot_vector_ctrl_pmsm_2kw_diode.rst | 2 +- .../vector/plot_vector_ctrl_pmsyrm_thor.rst | 2 +- .../vector/plot_vector_ctrl_syrm_7kw.rst | 2 +- .../vector/sg_execution_times.rst | 14 +- .../vhz/plot_vhz_ctrl_6step_im_2kw.rst | 2 +- .../vhz/plot_vhz_ctrl_im_2kw.rst | 2 +- .../vhz/plot_vhz_ctrl_im_2kw_lc.rst | 2 +- .../drive_examples/vhz/sg_execution_times.rst | 8 +- .../grid_following/plot_gfl_10kva.rst | 2 +- .../grid_following/plot_gfl_dc_bus_10kva.rst | 2 +- .../grid_following/plot_gfl_lcl_10kva.rst | 2 +- .../grid_following/sg_execution_times.rst | 8 +- .../grid_forming/plot_gfm_obs_13kva.rst | 2 +- .../grid_forming/plot_gfm_rfpsc_13kva.rst | 2 +- .../grid_forming/sg_execution_times.rst | 6 +- docs/_sources/sg_execution_times.rst | 52 +++--- .../motulator/common/control/index.html | 74 ++++----- .../autoapi/motulator/common/model/index.html | 14 +- .../autoapi/motulator/common/utils/index.html | 10 +- .../motulator/drive/control/im/index.html | 72 ++++----- .../motulator/drive/control/index.html | 12 +- .../motulator/drive/control/sm/index.html | 152 +++++++++--------- docs/autoapi/motulator/drive/model/index.html | 106 ++++-------- docs/autoapi/motulator/drive/utils/index.html | 78 ++++----- .../autoapi/motulator/grid/control/index.html | 76 ++++----- docs/autoapi/motulator/grid/model/index.html | 24 +-- docs/autoapi/motulator/grid/utils/index.html | 52 +++--- docs/control/control_system.html | 2 +- .../flux_vector/plot_flux_vector_im_2kw.html | 2 +- .../plot_flux_vector_pmsm_2kw.html | 2 +- .../plot_flux_vector_pmsyrm_5kw.html | 2 +- .../plot_flux_vector_syrm_7kw.html | 2 +- .../flux_vector/sg_execution_times.html | 10 +- .../obs_vhz/plot_obs_vhz_ctrl_im_2kw.html | 2 +- .../obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.html | 2 +- .../plot_obs_vhz_ctrl_pmsm_2kw_two_mass.html | 2 +- .../plot_obs_vhz_ctrl_pmsyrm_thor.html | 2 +- .../obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.html | 2 +- .../obs_vhz/sg_execution_times.html | 12 +- .../signal_inj/plot_signal_inj_pmsm_2kw.html | 2 +- .../signal_inj/plot_signal_inj_syrm_7kw.html | 2 +- .../signal_inj/sg_execution_times.html | 6 +- .../vector/plot_vector_ctrl_im_2kw.html | 2 +- .../plot_vector_ctrl_im_2kw_tq_mode.html | 2 +- .../vector/plot_vector_ctrl_pmsm_2kw.html | 4 +- .../plot_vector_ctrl_pmsm_2kw_diode.html | 2 +- .../vector/plot_vector_ctrl_pmsyrm_thor.html | 2 +- .../vector/plot_vector_ctrl_syrm_7kw.html | 2 +- .../vector/sg_execution_times.html | 14 +- .../vhz/plot_vhz_ctrl_6step_im_2kw.html | 2 +- .../vhz/plot_vhz_ctrl_im_2kw.html | 2 +- .../vhz/plot_vhz_ctrl_im_2kw_lc.html | 2 +- .../vhz/sg_execution_times.html | 8 +- docs/genindex.html | 10 +- .../grid_following/plot_gfl_10kva.html | 2 +- .../grid_following/plot_gfl_dc_bus_10kva.html | 2 +- .../grid_following/plot_gfl_lcl_10kva.html | 2 +- .../grid_following/sg_execution_times.html | 8 +- .../grid_forming/plot_gfm_obs_13kva.html | 2 +- .../grid_forming/plot_gfm_rfpsc_13kva.html | 2 +- .../grid_forming/sg_execution_times.html | 6 +- docs/objects.inv | Bin 4781 -> 4762 bytes docs/searchindex.js | 2 +- docs/sg_execution_times.html | 52 +++--- 113 files changed, 491 insertions(+), 680 deletions(-) diff --git a/docs/_downloads/18fa65c6cad00c3b4897e42fe572224a/grid_examples_jupyter.zip b/docs/_downloads/18fa65c6cad00c3b4897e42fe572224a/grid_examples_jupyter.zip index 8daebaf0c0abed2e7ffadc2a55e8c44da4c8f9a9..ca71faef1e58cd8f88b062475ceb1b7ef458392d 100644 GIT binary patch delta 151 zcmcbxiSfcFM&1B#W)=|!5cm}3vyqoai1}lb&t@4RR{>_Az~&UC!-CA;fQ)-?I|L@n zn{Y7y0&=uWRtoVlGKnz5bxvL!?g!F2`Ac{ZNaJMBh)_YGzQ_pq!-jPN3=ANwK6!nF j`ee;W;mI};Tp)ucFN~08df+lyFj8XjwFtqR!RLtd%$&^OzlqGJ%{ly(zb5h23GY;XoY;XTxU29p#5$@# z%i}&`XT87`-b&1DfrkojBX+Y6bO#R-8;?L=Zuq=n=9lR2OBc*)JV5O4X-GM+J_Z(* zdJsPwL~*0an8bQ)k3o6Z;fWL-CgII=zVPb5@I=KQF<5(J$4Yc3 zz$yhmcN|<s#8Bz^C)_y#719^%Ou#|u3#KF?Uoeye7w$`f8$UZi zGo&T6glnS+HIQBs#+!>mjm{EceC|!hhC8EeAzLtSef_YKd4`EP>f+Z`9 zF5x+Yqc`b6nY zVO?zY_I=*)Gq&N6jrC}WmUvM`9u->nvh3n3M4I|nz5Fea;hu$Jo+WZTal+5bsmIv& z-V(lx$iHks37-h-=ACwUpzujz1%>clXH(5_~w6 zgdlDu!7Jy-^9K0xt|@rifCkO(17jh}uiW3%;J1TP6~M3oUX82~>z$&iOJz)Ak4?IK z)RNw9aNzSKI5-)IgY(pU-GGW%OWcV|CLMpIYLteUy;rkUO8H6H=L){F znird3#f8Hrgk@Z~O2kQViH+jaN`#D$D0nCZHMo!lO{4V0lkV<612nxvjqQq)W!Rd6 zdX175zY}{ii%!NQs%@$>A#6=UolG6qQgrik_3|?f{b_K?4ZyWD`1nXW;AA_Lqc=mb z(K=w1#JuUWbzFwD2{}hq+6Hm#@`s5j7h@7tcq9Xr$X|jRcN$O_r2P=TYWsdZCCel# mZ1?#z0{AFO8CxOH1_|*db*tOMm_*Q~O-^7q1G~{fwf_Teo&*E{ diff --git a/docs/_downloads/1b80163ae5843d681add6adaacfb4478/plot_flux_vector_pmsyrm_5kw.zip b/docs/_downloads/1b80163ae5843d681add6adaacfb4478/plot_flux_vector_pmsyrm_5kw.zip index 41533d85409ceb3f5e2383d1aca841f570ee7c44..7d4b5480c4950811dc7cd1f6fc3cc6e920aa18a2 100644 GIT binary patch delta 49 zcmaFg#`wOCkvG7bnMH&F1a3z8Y~;<9VtyRuv$;|#P=gsLF!`*LCrDtjq;nVmdGQbV delta 49 zcmaFg#`wOCkvG7bnMH&F1lU70Hu7dlG4qFNY_60F)L;e*Og`)62@;qr=^O?CE^Q16 diff --git a/docs/_downloads/1bbc064de30c7a3d240a238e31a5d178/plot_vector_ctrl_im_2kw.zip b/docs/_downloads/1bbc064de30c7a3d240a238e31a5d178/plot_vector_ctrl_im_2kw.zip index fab72eefaec0e123dca9f791bef9a5a92d1f95a3..5effa3ad6338c887ca67a1b6f1052a2a310b3d8d 100644 GIT binary patch delta 47 xcmZ4Fy~vw4z?+#xgaHJKqkJ~z~lhcAOI~q4H5tV diff --git a/docs/_downloads/2c26aa2b4c9f8800160332fdb6991957/plot_gfm_obs_13kva.zip b/docs/_downloads/2c26aa2b4c9f8800160332fdb6991957/plot_gfm_obs_13kva.zip index aa8bbaa7e78acc8cb3e48d2f69912979c33136e1..84edfe27b12c31a5b8e3ab607c3a2f134b07c198 100644 GIT binary patch delta 47 xcmca$alwK&z?+#xgaHJ;Mfq&xW#?r673H&8oO78FGf-gi0ci)2z+`3_UjRc(4qE^K delta 47 xcmca$alwK&z?+#xgaHIpLNzw>vU4(PglcRS=UgVl3>27rK-vK$Fqv7#7XbJ63U2@a diff --git a/docs/_downloads/424c2ec214e715617107c56e9505796d/plot_vector_ctrl_im_2kw_tq_mode.zip b/docs/_downloads/424c2ec214e715617107c56e9505796d/plot_vector_ctrl_im_2kw_tq_mode.zip index fd6c97490118e8cfad1760006d9bcb16c9c82cf6..8201d6dce9318a182d0b97107441ef8932d9db88 100644 GIT binary patch delta 47 xcmZ2$y4I98z?+#xgaHKdqI@>;>Txg^M)_>E<2WS93>28mEaeLlm>et>1pp303;qBA delta 47 xcmZ2$y4I98z?+#xgaHKRglKH!)#G4Z5Tdc!j^mIZGf-eMvy?ALU~;fj6aWy>3=jYS diff --git a/docs/_downloads/4e23e7d3285bebf832d3d7c99ddcba78/plot_gfl_10kva.zip b/docs/_downloads/4e23e7d3285bebf832d3d7c99ddcba78/plot_gfl_10kva.zip index 8926156e503614f090074bc4a9b98abd7dcf73dc..0ed8f81cb7b93608430279aa9d515cc1a161f998 100644 GIT binary patch delta 47 tcmaE9`qGp)z?+#xgaHITMfq&x_2*y)(wpNs{tJQ_lM|(E!1MwsPXJm?4~PH& delta 47 xcmaE9`qGp)z?+#xgaHI(Lp3(?`g1TVglcS#=lCzk3>280C}jf@n7lyB695i+3zh%? diff --git a/docs/_downloads/50647d10d68549b592b9a9cc8f19b847/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.zip b/docs/_downloads/50647d10d68549b592b9a9cc8f19b847/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.zip index 6715962f8f1b22a9ccaeed726d54597f2bf93af2..9dc7a509cdaae0128753ebe4b153daf69fdf8ed4 100644 GIT binary patch delta 47 xcmeAT>kZ=#@MdNaVE}26gtrZ9on7m#q4gfZ~4u${# delta 47 xcmeAT>kZ=#@MdNaVE};}AsQQbi}{&vg=lPU=D#Y%3>26gtrZ9on7m#q4gffg4vqi- diff --git a/docs/_downloads/52056923de1848a7d12a5abf092745c7/plot_gfl_dc_bus_10kva.zip b/docs/_downloads/52056923de1848a7d12a5abf092745c7/plot_gfl_dc_bus_10kva.zip index 34a22335c45ed98c1c9dcc481a8a1c2b6572dc81..39bea05bd324173728644e09f148e482a784a890 100644 GIT binary patch delta 47 xcmexr^3{Ylz?+#xgaHITM)_>y72{z36y>v7jboc2Gf-gieMx7Kz+_da002_34)Fj0 delta 47 xcmexr^3{Ylz?+#xgaHI(LNzw>ig7T@hH7k927rU(y*QFj-Y9000Jn3i$v4 diff --git a/docs/_downloads/5a71f070d06b303d12fe24c7491ee0fd/plot_vector_ctrl_pmsm_2kw_diode.zip b/docs/_downloads/5a71f070d06b303d12fe24c7491ee0fd/plot_vector_ctrl_pmsm_2kw_diode.zip index 33c36570754afb2abc644ab0ce14962eb9bc69b5..e1b4ce1ea870cdfd0ae5a9e97f4d26155b9cca47 100644 GIT binary patch delta 47 xcmaE(_ePI5z?+#xgaHK7qkJ~<3b8ZiMfq%2VxP;;3>27rNX!=`Fj+`E3IHGh3~&Gd delta 47 xcmaE(_ePI5z?+#xgaHJmhG=Z$6=G+e6QZ$MiG40VGf-giAu(T&z+@ruC;%dH41fRt diff --git a/docs/_downloads/6b891eb683248762e5b2552c3fa1d694/plot_vhz_ctrl_6step_im_2kw.zip b/docs/_downloads/6b891eb683248762e5b2552c3fa1d694/plot_vhz_ctrl_6step_im_2kw.zip index 5e5e9f6f8b4ab281eef9b87aab058366576e0c41..141edb8b6568349c89efc927107994eecf31db1f 100644 GIT binary patch delta 47 xcmca;dC`(Lz?+#xgaHIfqkJ~<+Hx{iMfq&@<$Nf_3>27bDB}SVm|P!bz?+#xgaHH!qkJ~27rO4!bz?+#xgaHH=glKH!W#VLB9HOyVh;yqDGf-giDQPc|z+`cmZ~!S?49oxk diff --git a/docs/_downloads/71dee909935d0ffe1a82e8e7913351e9/plot_obs_vhz_ctrl_im_2kw.zip b/docs/_downloads/71dee909935d0ffe1a82e8e7913351e9/plot_obs_vhz_ctrl_im_2kw.zip index fb187a2f4ec34e01d3deaf4f6cc9be9572edb22d..d4a8d3172ddb3b4e82bca7c9d55051a635d6f5af 100644 GIT binary patch delta 47 xcmexs_ScLzz?+#xgaHJmMfq&xW#wR=9p$rGl;fljGf-giLn$|qz+^4yU;sIt4Wa-5 delta 47 xcmexs_ScLzz?+#xgaHJOhG=Z$W#wQ#6{4|Ol;fljGf-giLn$|qz+^4yU;sQ@4YmLP diff --git a/docs/_downloads/742c9467241727528162f218959331dc/plot_flux_vector_pmsm_2kw.zip b/docs/_downloads/742c9467241727528162f218959331dc/plot_flux_vector_pmsm_2kw.zip index 1bcdb8b00317728643ea8b4f42cb3702bac59d9a..49393aec81ee7ea66fff45c01f935998c00d7bef 100644 GIT binary patch delta 47 xcmaE-{Z5-Vz?+#xgaHIjMfq&xJ;Ta;Cdy~?9o9mAW}v|208w|4z~ot?Aplrb4?6$= delta 47 xcmaE-{Z5-Vz?+#xgaHJ;g=lQ#J;TcUGel$a9o9mAW}v|208w|4z~ot?AplxQ4@Cd~ diff --git a/docs/_downloads/7caf7c3e3e7e5a0667c115e64a711efe/plot_vector_ctrl_pmsm_2kw.zip b/docs/_downloads/7caf7c3e3e7e5a0667c115e64a711efe/plot_vector_ctrl_pmsm_2kw.zip index b5b02a68d08dd0b3939766b5165e51e4c8b374ab..e9bff10251d4ebef2442c44bef312da2124a63cb 100644 GIT binary patch delta 47 xcmbQHGfjs#z?+#xgaHIXqkJ~27LA?gkin0!by1ON{-49@@n delta 47 xcmbQHGfjs#z?+#xgaHIvLo_z>rn513glKFoXZy#;3>27LA?gkin0!by1OO614Cep< diff --git a/docs/_downloads/8b8ca3a0a5a7c374a7f4ffc1ecce4ee8/plot_obs_vhz_ctrl_pmsm_2kw.zip b/docs/_downloads/8b8ca3a0a5a7c374a7f4ffc1ecce4ee8/plot_obs_vhz_ctrl_pmsm_2kw.zip index 446470bf220e997af13d0594f4809e49bdc09e5f..11e8d5b7047284257131a8960b5eb4e89232835f 100644 GIT binary patch delta 47 xcmexv@ZEqnz?+#xgaHJ)qI@>;^0G5ei}Kkl%f4NJ87MIMy0`~OV6u`#C;&0p4Nd?6 delta 47 xcmexv@ZEqnz?+#xgaHJ$hiGi%=mi=V`B6n*>N*Dl0|+aD-2x$&G)Boy&Q*|@oF~pRnL|?y07{fD&j0`b delta 167 zcmbOiG%tuZz?+#xgaHI(Lp3(?#&IyqglcTg<5&Szr=(wo<_SqOj_lV6EBfN5QEUjP;?&M-_jq=%ilIw{GGf-gi26-otz~ry;{s2Us4+H=J delta 47 ycmX@&aKwQ(z?+#xgaHIrg=lQ#-O0tgDMVxQNv27bE8_+dnA|243;_Oc3gG|% diff --git a/docs/_downloads/abf87aac5ab61b081c44e75923d6ef63/plot_gfm_rfpsc_13kva.zip b/docs/_downloads/abf87aac5ab61b081c44e75923d6ef63/plot_gfm_rfpsc_13kva.zip index c8f81c9912149be7816a68b2cf03a31d51830de8..2d23fedaea3348012040d3df170ef119030abc3e 100644 GIT binary patch delta 47 xcmaE3@Wy~Qz?+#xgaHITMfq&x6<}xn7Ui>9fqkn0Gf-gi4RI%sz+_noe*jFz4!i&W delta 47 xcmaE3@Wy~Qz?+#xgaHH;LNzw>3a~S)glcS7VBadh3>27rL)-}@Fj-c@9{>S>3eW%m diff --git a/docs/_downloads/bcae6fddd7fc66ec87bd022de4da4289/plot_signal_inj_syrm_7kw.zip b/docs/_downloads/bcae6fddd7fc66ec87bd022de4da4289/plot_signal_inj_syrm_7kw.zip index b2f832fe8a32349d8f498faa48f5e8fb483a6e47..78d21f855c2944e1921b534397d38a0791bfbb08 100644 GIT binary patch delta 47 xcmbPdJ28mB28msp1L}m>j4Q1OOjo47LCO delta 47 xcmZ4Nx!998z?+#xgaHILg=lQ#4dY?n9-^^1jc0*4Gf-eMr-~~`U~-^J5C9>D48i~a diff --git a/docs/_downloads/c646707a95e9eded55b2fe6a77579635/plot_obs_vhz_ctrl_pmsyrm_thor.zip b/docs/_downloads/c646707a95e9eded55b2fe6a77579635/plot_obs_vhz_ctrl_pmsyrm_thor.zip index aa682baae89cb111b4873b1657931520c8b9f3ab..be00d1e40425a1c206983eb801f18a657f45d60c 100644 GIT binary patch delta 47 xcmaDD_b`q(z?+#xgaHKBMfq&x4G?5L73H%zK`=s=87MG$x1KjhU^1tE1OQI<4s`$k delta 47 xcmaDD_b`q(z?+#xgaHI@g=lQ#4G?7h7NW5^K`=s=87MG$x1KjhU^1tE1OQOV4t)Rs diff --git a/docs/_downloads/ca790e45bb116fa02f80f2d12b72410d/plot_flux_vector_syrm_7kw.zip b/docs/_downloads/ca790e45bb116fa02f80f2d12b72410d/plot_flux_vector_syrm_7kw.zip index b52330a11fdbd91adf6ff8261f16fe3cd3adc4c0..b478863612039e36e350d7d1835a51a04911adc6 100644 GIT binary patch delta 47 xcmbP}F(-pJz?+#xgaHIDM)_>yZ53v|8RfHis_-*;W}v|2I%9W`z~mFgAplj+599y< delta 47 xcmbP}F(-pJz?+#xgaHgfH8%3L3Ny2ZYHXe={7jyiAyi{>ov}MeVDbs$5C96e3;F;6 diff --git a/docs/_downloads/ce870960718a5060422b2fb3301e5579/plot_obs_vhz_ctrl_syrm_7kw.zip b/docs/_downloads/ce870960718a5060422b2fb3301e5579/plot_obs_vhz_ctrl_syrm_7kw.zip index 9a8b35b32fafddb66b202bc9b42c46c1b6b523af..73016ca985ec20e0c3df31edb6f236f5fe9b2b10 100644 GIT binary patch delta 47 xcmX?|d^(voz?+#xgaHI*NBL~zeJ;ejCdy~?cOgSLW}v`iZ9@-`z~nN+Pykj14%Ywx delta 47 xcmX?|d^(voz?+#xgaHIjg=lQ#eJ;d&BSd5KcOgSLW}v`iZ9@-`z~nN+PykqF4&?v< diff --git a/docs/_downloads/e4f25fcaeb625e6a8f40d3c21f859314/drive_examples_python.zip b/docs/_downloads/e4f25fcaeb625e6a8f40d3c21f859314/drive_examples_python.zip index 21a7fd0b011c5e5a20030d72596ea17d6afb8d87..b4a1277c001f4efad598f77cbe2b5a99f69a7f34 100644 GIT binary patch delta 858 zcmY+CT}V@57{_1tww=wL-vP}2fJCK%Ds9|$9(hc(oPkcb>o(;kGOSuIDeA_QOj;^|2Q;i*qW z&m+u)>p6NE!57nL=xv0%scv5T?>~p|V18k?nhqk2&K=bVRSExb+HM+v3wUB02K2Un95tB9MQLU+*_T)nMfBeoVdAwahc>r)8i1$o55SC z6LDtJr1DZA$`iumkbS-Mq+%>bRIs$F6LGFmaQb~{KUQRtSN;AP%{wbC#kouUk4*l} zZWFRsR`qxcjYmY>3F&d$r$2EuAxw=jlm9K6Y+xO@>FDL!%Lol-*xlRReR3p|)>FnQcc3`K|m?-8VxG<*9C D@T3dp delta 808 zcmY*XU1-x#6u!%~Ytkl^cCE#xbLr68jX6Y7kycdpI4s?)KLH;qG9QEqKB%y+x(Q-M zeCUqC{6RLg2o9-r1reEoC`@D^%4XT>+p;vRGS`QJpy;_39ZC4YcTdi__nz-N)md7d zrBbwuu5lCgti*y7cD`Vt)`P)`{=gX@B}f*fbOZen3+AMsRt_^#Jxeb77Rk(6iKhi5 zw$6luK0{Isd8~8}Nq_GVC-q>lc78;l4kUxA9Rj_9zvB6IR(c1?^YnI}UP7|;_*6Z; zkL360H<6Aa8F(QGG=*gOrrk<2NHX)g1pB{xKEi{F?{w8QPysUqy zEXbU`E$t7&7EO|3LG@Rrr9JB+Bcalva{_$PMFoXY z-w!li-|8TQp~G~Neh70n!0t}bbUhSRjUNwRoT(>-VWX+2_XHMgf@wokP;~Y1c+&7V z31Kkzk?h07CK%Ga%oO;lcQa35Z>gJE0!2fHY{?H-@=nv~=#u)*o5(F&31Mh8ojx@J zxzbMNAY3(Mj*Q{b2d_~q^b*1tI{gqs3e4#a1zlC|?)$hh#S_BNV%q9hzE*p(>|?G& zr6hBGleLiVmK`=5BAWs5S7f+XUJLsx&bCztaTwIb;-}DM8zBs`Y3End@V(rs;Gn42 i#-f>kNC?AvQ__V3Ci&oHnRi=IWJ28d4k9Zqu+<*}EA+Jh diff --git a/docs/_downloads/ebc064985d3e9c230a7df7d938616646/plot_flux_vector_im_2kw.zip b/docs/_downloads/ebc064985d3e9c230a7df7d938616646/plot_flux_vector_im_2kw.zip index 70408eb3bb3499c2a390db5641020f6c8170a0fb..83b2ae6478bb0b5362fefd96d03c608c033a60d3 100644 GIT binary patch delta 47 ycmdmPvfYF?z?+#xgaHK3MEPvweb3H(G0JE2fA-me%s_$3b0u9t0+XLg1_1z8-Vgr( delta 47 xcmdmPvfYF?z?+#xgaHJ8hG=Z$eb3I!5UR2HKl^M!W}v|2xst9RfyqxLg8({P4iNwV diff --git a/docs/_downloads/f1af7679d3b257951ac507da64a82b0e/plot_vector_ctrl_syrm_7kw.zip b/docs/_downloads/f1af7679d3b257951ac507da64a82b0e/plot_vector_ctrl_syrm_7kw.zip index 97e9446c40f290d253aea9579a9b8648ef1ffed3..1ca6548844f762b07c408b97eccf19ab513ae387 100644 GIT binary patch delta 47 xcmX@7cTSHtz?+#xgaHI1qI@>;vamC!NBL|PVV}v*3>28WLChT_F!`5Q2mlay46y(J delta 47 xcmX@7cTSHtz?+#xgaHIPLNqq=vamBx4bj*v!akFq87MG$gP1!=VDc}q5C9WL48;Hd diff --git a/docs/_modules/motulator/common/model/_converter.html b/docs/_modules/motulator/common/model/_converter.html index e1653354..1ad1ad1b 100644 --- a/docs/_modules/motulator/common/model/_converter.html +++ b/docs/_modules/motulator/common/model/_converter.html @@ -379,9 +379,9 @@

Source code for motulator.common.model._converter

""" Continuous-time models for converters. -A three-phase voltage-source inverter with optional DC-bus dynamics is -modelled, along with a six-pulse diode bridge rectifier supplied from a stiff -grid. Complex space vectors are used also for duty ratios and switching states, +A three-phase voltage-source inverter with optional DC-bus dynamics is modeled, +along with a six-pulse diode bridge rectifier supplied from a stiff grid. +Complex space vectors are used also for duty ratios and switching states, wherever applicable. """ @@ -512,7 +512,7 @@

Source code for motulator.common.model._converter

super().set_outputs(t) self.out.i_L = self.state.i_L.real
-
[docs] def set_inputs(self, t): +
[docs] def set_inputs(self, _): """Set output variables.""" self.inp.i_dc = self.out.i_L self.inp.u_dc = self.out.u_dc
diff --git a/docs/_modules/motulator/drive/model/_drive.html b/docs/_modules/motulator/drive/model/_drive.html index aa270838..255f001a 100644 --- a/docs/_modules/motulator/drive/model/_drive.html +++ b/docs/_modules/motulator/drive/model/_drive.html @@ -488,64 +488,6 @@

Source code for motulator.drive.model._drive

self.mechanics.data.tau_M = self.machine.data.tau_M
         # Post-processing based on the inputs and the states
         super().post_process_with_inputs()
- - -# %% -
[docs]class DriveWithDiodeBridge(Model): - """ - Machine drive with a diode bridge rectifier. - - Parameters - ---------- - diode_bridge : DiodeBridge - Diode bridge model. - converter : VoltageSourceConverter - Converter model. - machine : InductionMachine | SynchronousMachine - Machine model. - mechanics : ExternalRotorSpeed | StiffMechanicalSystem |\ - TwoMassMechanicalSystem - Mechanical subsystem model. - - """ - - def __init__( - self, - diode_bridge=None, - converter=None, - machine=None, - mechanics=None): - super().__init__() - self.diode_bridge = diode_bridge - self.converter = converter - self.machine = machine - self.mechanics = mechanics - self.subsystems = [ - self.diode_bridge, self.converter, self.machine, self.mechanics - ] - -
[docs] def interconnect(self, _): - """Interconnect the subsystems.""" - self.diode_bridge.inp.u_dc = self.converter.out.u_dc - self.converter.inp.i_ext = self.diode_bridge.out.i_L - self.converter.inp.i_cs = self.machine.out.i_ss - self.machine.inp.u_ss = self.converter.out.u_cs - self.mechanics.inp.tau_M = self.machine.out.tau_M - self.machine.inp.w_M = self.mechanics.out.w_M
- -
[docs] def post_process(self): - """Post-process the solution.""" - # Post-processing based on the states - super().post_process_states() - # Add the input data to the subsystems for post-processing - self.diode_bridge.data.u_dc = self.converter.data.u_dc - self.converter.data.i_ext = self.diode_bridge.data.i_L - self.converter.data.i_cs = self.machine.data.i_ss - self.machine.data.u_ss = self.converter.data.u_cs - self.machine.data.w_M = self.mechanics.data.w_M - self.mechanics.data.tau_M = self.machine.data.tau_M - # Post-processing based on the inputs and the states - super().post_process_with_inputs()
diff --git a/docs/_sources/autoapi/motulator/drive/model/index.rst b/docs/_sources/autoapi/motulator/drive/model/index.rst index c37c28dc..6a1e5d90 100644 --- a/docs/_sources/autoapi/motulator/drive/model/index.rst +++ b/docs/_sources/autoapi/motulator/drive/model/index.rst @@ -34,7 +34,6 @@ Classes motulator.drive.model.CarrierComparison motulator.drive.model.Drive - motulator.drive.model.DriveWithDiodeBridge motulator.drive.model.DriveWithLCFilter motulator.drive.model.ExternalRotorSpeed motulator.drive.model.FrequencyConverter @@ -199,88 +198,6 @@ Package Contents - .. - !! processed by numpydoc !! - - -.. py:class:: DriveWithDiodeBridge(diode_bridge=None, converter=None, machine=None, mechanics=None) - - Bases: :py:obj:`motulator.common.model.Model` - - - - Machine drive with a diode bridge rectifier. - - :param diode_bridge: Diode bridge model. - :type diode_bridge: DiodeBridge - :param converter: Converter model. - :type converter: VoltageSourceConverter - :param machine: Machine model. - :type machine: InductionMachine | SynchronousMachine - :param mechanics: Mechanical subsystem model. - :type mechanics: ExternalRotorSpeed | StiffMechanicalSystem | TwoMassMechanicalSystem - - - - - - - - - - - - - - - - .. - !! processed by numpydoc !! - - .. py:method:: interconnect(_) - - - Interconnect the subsystems. - - - - - - - - - - - - - - - - - .. - !! processed by numpydoc !! - - - .. py:method:: post_process() - - - Post-process the solution. - - - - - - - - - - - - - - - - .. !! processed by numpydoc !! @@ -630,7 +547,7 @@ Package Contents !! processed by numpydoc !! - .. py:method:: set_inputs(t) + .. py:method:: set_inputs(_) Set output variables. diff --git a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_im_2kw.rst b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_im_2kw.rst index 4152bbbc..4c6bfcb5 100644 --- a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_im_2kw.rst +++ b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_im_2kw.rst @@ -180,7 +180,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 9.833 seconds) + **Total running time of the script:** (0 minutes 10.133 seconds) .. _sphx_glr_download_drive_examples_flux_vector_plot_flux_vector_im_2kw.py: diff --git a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsm_2kw.rst b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsm_2kw.rst index e8cff64a..7acf75c3 100644 --- a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsm_2kw.rst +++ b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsm_2kw.rst @@ -168,7 +168,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 5.218 seconds) + **Total running time of the script:** (0 minutes 5.277 seconds) .. _sphx_glr_download_drive_examples_flux_vector_plot_flux_vector_pmsm_2kw.py: diff --git a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsyrm_5kw.rst b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsyrm_5kw.rst index 7eb5d325..46d08bc8 100644 --- a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsyrm_5kw.rst +++ b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_pmsyrm_5kw.rst @@ -357,7 +357,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 15.545 seconds) + **Total running time of the script:** (0 minutes 15.937 seconds) .. _sphx_glr_download_drive_examples_flux_vector_plot_flux_vector_pmsyrm_5kw.py: diff --git a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_syrm_7kw.rst b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_syrm_7kw.rst index 15a966e0..563a4bc9 100644 --- a/docs/_sources/drive_examples/flux_vector/plot_flux_vector_syrm_7kw.rst +++ b/docs/_sources/drive_examples/flux_vector/plot_flux_vector_syrm_7kw.rst @@ -280,7 +280,7 @@ machine has no magnets. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 14.955 seconds) + **Total running time of the script:** (0 minutes 15.398 seconds) .. _sphx_glr_download_drive_examples_flux_vector_plot_flux_vector_syrm_7kw.py: diff --git a/docs/_sources/drive_examples/flux_vector/sg_execution_times.rst b/docs/_sources/drive_examples/flux_vector/sg_execution_times.rst index 1af7adea..8e97723f 100644 --- a/docs/_sources/drive_examples/flux_vector/sg_execution_times.rst +++ b/docs/_sources/drive_examples/flux_vector/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:45.551** total execution time for 4 files **from drive_examples/flux_vector**: +**00:46.744** total execution time for 4 files **from drive_examples/flux_vector**: .. container:: @@ -33,14 +33,14 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_pmsyrm_5kw.py` (``plot_flux_vector_pmsyrm_5kw.py``) - - 00:15.545 + - 00:15.937 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_syrm_7kw.py` (``plot_flux_vector_syrm_7kw.py``) - - 00:14.955 + - 00:15.398 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_im_2kw.py` (``plot_flux_vector_im_2kw.py``) - - 00:09.833 + - 00:10.133 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_pmsm_2kw.py` (``plot_flux_vector_pmsm_2kw.py``) - - 00:05.218 + - 00:05.277 - 0.0 diff --git a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_im_2kw.rst b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_im_2kw.rst index 940f369d..65ff4e64 100644 --- a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_im_2kw.rst +++ b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_im_2kw.rst @@ -197,7 +197,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 8.982 seconds) + **Total running time of the script:** (0 minutes 9.196 seconds) .. _sphx_glr_download_drive_examples_obs_vhz_plot_obs_vhz_ctrl_im_2kw.py: diff --git a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.rst b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.rst index 10125cd5..954507bf 100644 --- a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.rst +++ b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.rst @@ -175,7 +175,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 23.917 seconds) + **Total running time of the script:** (0 minutes 24.646 seconds) .. _sphx_glr_download_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw.py: diff --git a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.rst b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.rst index 0ead39f7..abcf70f6 100644 --- a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.rst +++ b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.rst @@ -265,7 +265,7 @@ rotor speed w_M. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 4.749 seconds) + **Total running time of the script:** (0 minutes 4.799 seconds) .. _sphx_glr_download_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw_two_mass.py: diff --git a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.rst b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.rst index 339e6a7a..322f2f77 100644 --- a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.rst +++ b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.rst @@ -287,7 +287,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 51.017 seconds) + **Total running time of the script:** (0 minutes 50.890 seconds) .. _sphx_glr_download_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsyrm_thor.py: diff --git a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.rst b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.rst index bb0af96f..1359bd03 100644 --- a/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.rst +++ b/docs/_sources/drive_examples/obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.rst @@ -266,7 +266,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 28.140 seconds) + **Total running time of the script:** (0 minutes 28.956 seconds) .. _sphx_glr_download_drive_examples_obs_vhz_plot_obs_vhz_ctrl_syrm_7kw.py: diff --git a/docs/_sources/drive_examples/obs_vhz/sg_execution_times.rst b/docs/_sources/drive_examples/obs_vhz/sg_execution_times.rst index a4569c58..8c8d6c53 100644 --- a/docs/_sources/drive_examples/obs_vhz/sg_execution_times.rst +++ b/docs/_sources/drive_examples/obs_vhz/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**01:56.805** total execution time for 5 files **from drive_examples/obs_vhz**: +**01:58.487** total execution time for 5 files **from drive_examples/obs_vhz**: .. container:: @@ -33,17 +33,17 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsyrm_thor.py` (``plot_obs_vhz_ctrl_pmsyrm_thor.py``) - - 00:51.017 + - 00:50.890 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_syrm_7kw.py` (``plot_obs_vhz_ctrl_syrm_7kw.py``) - - 00:28.140 + - 00:28.956 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw.py` (``plot_obs_vhz_ctrl_pmsm_2kw.py``) - - 00:23.917 + - 00:24.646 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_im_2kw.py` (``plot_obs_vhz_ctrl_im_2kw.py``) - - 00:08.982 + - 00:09.196 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw_two_mass.py` (``plot_obs_vhz_ctrl_pmsm_2kw_two_mass.py``) - - 00:04.749 + - 00:04.799 - 0.0 diff --git a/docs/_sources/drive_examples/signal_inj/plot_signal_inj_pmsm_2kw.rst b/docs/_sources/drive_examples/signal_inj/plot_signal_inj_pmsm_2kw.rst index 119b1d97..7841f146 100644 --- a/docs/_sources/drive_examples/signal_inj/plot_signal_inj_pmsm_2kw.rst +++ b/docs/_sources/drive_examples/signal_inj/plot_signal_inj_pmsm_2kw.rst @@ -210,7 +210,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 12.705 seconds) + **Total running time of the script:** (0 minutes 13.034 seconds) .. _sphx_glr_download_drive_examples_signal_inj_plot_signal_inj_pmsm_2kw.py: diff --git a/docs/_sources/drive_examples/signal_inj/plot_signal_inj_syrm_7kw.rst b/docs/_sources/drive_examples/signal_inj/plot_signal_inj_syrm_7kw.rst index 27d0e7ec..ad2579da 100644 --- a/docs/_sources/drive_examples/signal_inj/plot_signal_inj_syrm_7kw.rst +++ b/docs/_sources/drive_examples/signal_inj/plot_signal_inj_syrm_7kw.rst @@ -211,7 +211,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 12.652 seconds) + **Total running time of the script:** (0 minutes 12.943 seconds) .. _sphx_glr_download_drive_examples_signal_inj_plot_signal_inj_syrm_7kw.py: diff --git a/docs/_sources/drive_examples/signal_inj/sg_execution_times.rst b/docs/_sources/drive_examples/signal_inj/sg_execution_times.rst index 832f4cc1..e80f2290 100644 --- a/docs/_sources/drive_examples/signal_inj/sg_execution_times.rst +++ b/docs/_sources/drive_examples/signal_inj/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:25.357** total execution time for 2 files **from drive_examples/signal_inj**: +**00:25.976** total execution time for 2 files **from drive_examples/signal_inj**: .. container:: @@ -33,8 +33,8 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_signal_inj_plot_signal_inj_pmsm_2kw.py` (``plot_signal_inj_pmsm_2kw.py``) - - 00:12.705 + - 00:13.034 - 0.0 * - :ref:`sphx_glr_drive_examples_signal_inj_plot_signal_inj_syrm_7kw.py` (``plot_signal_inj_syrm_7kw.py``) - - 00:12.652 + - 00:12.943 - 0.0 diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw.rst index 03541488..53281913 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw.rst @@ -223,7 +223,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 4.044 seconds) + **Total running time of the script:** (0 minutes 4.128 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_im_2kw.py: diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw_tq_mode.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw_tq_mode.rst index daaa702f..8053bf74 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw_tq_mode.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_im_2kw_tq_mode.rst @@ -179,7 +179,7 @@ the results in SI units. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 4.663 seconds) + **Total running time of the script:** (0 minutes 4.731 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_im_2kw_tq_mode.py: diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw.rst index 2f96c6a5..d0210d71 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw.rst @@ -157,7 +157,7 @@ Create the simulation object and simulate it. .. code-block:: none - Simulation time: 4.34 s + Simulation time: 4.42 s @@ -165,7 +165,7 @@ Create the simulation object and simulate it. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 5.424 seconds) + **Total running time of the script:** (0 minutes 5.489 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_pmsm_2kw.py: diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw_diode.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw_diode.rst index d5a98356..6d987b95 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw_diode.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsm_2kw_diode.rst @@ -180,7 +180,7 @@ Create the simulation object and simulate it. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 14.073 seconds) + **Total running time of the script:** (0 minutes 14.574 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_pmsm_2kw_diode.py: diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsyrm_thor.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsyrm_thor.rst index 2cefa4a2..b5e1c452 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsyrm_thor.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_pmsyrm_thor.rst @@ -207,7 +207,7 @@ Create the simulation object, simulate, and plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 4.930 seconds) + **Total running time of the script:** (0 minutes 5.068 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_pmsyrm_thor.py: diff --git a/docs/_sources/drive_examples/vector/plot_vector_ctrl_syrm_7kw.rst b/docs/_sources/drive_examples/vector/plot_vector_ctrl_syrm_7kw.rst index f891ff54..9f714506 100644 --- a/docs/_sources/drive_examples/vector/plot_vector_ctrl_syrm_7kw.rst +++ b/docs/_sources/drive_examples/vector/plot_vector_ctrl_syrm_7kw.rst @@ -159,7 +159,7 @@ Create the simulation object, simulate, and plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 25.852 seconds) + **Total running time of the script:** (0 minutes 26.593 seconds) .. _sphx_glr_download_drive_examples_vector_plot_vector_ctrl_syrm_7kw.py: diff --git a/docs/_sources/drive_examples/vector/sg_execution_times.rst b/docs/_sources/drive_examples/vector/sg_execution_times.rst index 538b6076..8ab80ae3 100644 --- a/docs/_sources/drive_examples/vector/sg_execution_times.rst +++ b/docs/_sources/drive_examples/vector/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:58.986** total execution time for 6 files **from drive_examples/vector**: +**01:00.581** total execution time for 6 files **from drive_examples/vector**: .. container:: @@ -33,20 +33,20 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_syrm_7kw.py` (``plot_vector_ctrl_syrm_7kw.py``) - - 00:25.852 + - 00:26.593 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsm_2kw_diode.py` (``plot_vector_ctrl_pmsm_2kw_diode.py``) - - 00:14.073 + - 00:14.574 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsm_2kw.py` (``plot_vector_ctrl_pmsm_2kw.py``) - - 00:05.424 + - 00:05.489 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsyrm_thor.py` (``plot_vector_ctrl_pmsyrm_thor.py``) - - 00:04.930 + - 00:05.068 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_im_2kw_tq_mode.py` (``plot_vector_ctrl_im_2kw_tq_mode.py``) - - 00:04.663 + - 00:04.731 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_im_2kw.py` (``plot_vector_ctrl_im_2kw.py``) - - 00:04.044 + - 00:04.128 - 0.0 diff --git a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_6step_im_2kw.rst b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_6step_im_2kw.rst index 902e6826..0c87b2b9 100644 --- a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_6step_im_2kw.rst +++ b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_6step_im_2kw.rst @@ -197,7 +197,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 8.918 seconds) + **Total running time of the script:** (0 minutes 9.093 seconds) .. _sphx_glr_download_drive_examples_vhz_plot_vhz_ctrl_6step_im_2kw.py: diff --git a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw.rst b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw.rst index 763f6d89..089d541f 100644 --- a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw.rst +++ b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw.rst @@ -217,7 +217,7 @@ Plot results in per-unit values. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 17.528 seconds) + **Total running time of the script:** (0 minutes 17.761 seconds) .. _sphx_glr_download_drive_examples_vhz_plot_vhz_ctrl_im_2kw.py: diff --git a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw_lc.rst b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw_lc.rst index 6b7636b8..996d7b68 100644 --- a/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw_lc.rst +++ b/docs/_sources/drive_examples/vhz/plot_vhz_ctrl_im_2kw_lc.rst @@ -239,7 +239,7 @@ Plot additional waveforms. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 9.749 seconds) + **Total running time of the script:** (0 minutes 9.998 seconds) .. _sphx_glr_download_drive_examples_vhz_plot_vhz_ctrl_im_2kw_lc.py: diff --git a/docs/_sources/drive_examples/vhz/sg_execution_times.rst b/docs/_sources/drive_examples/vhz/sg_execution_times.rst index 9a280c22..35097175 100644 --- a/docs/_sources/drive_examples/vhz/sg_execution_times.rst +++ b/docs/_sources/drive_examples/vhz/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:36.195** total execution time for 3 files **from drive_examples/vhz**: +**00:36.853** total execution time for 3 files **from drive_examples/vhz**: .. container:: @@ -33,11 +33,11 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_im_2kw.py` (``plot_vhz_ctrl_im_2kw.py``) - - 00:17.528 + - 00:17.761 - 0.0 * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_im_2kw_lc.py` (``plot_vhz_ctrl_im_2kw_lc.py``) - - 00:09.749 + - 00:09.998 - 0.0 * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_6step_im_2kw.py` (``plot_vhz_ctrl_6step_im_2kw.py``) - - 00:08.918 + - 00:09.093 - 0.0 diff --git a/docs/_sources/grid_examples/grid_following/plot_gfl_10kva.rst b/docs/_sources/grid_examples/grid_following/plot_gfl_10kva.rst index fcd37d5b..e9e8c7e9 100644 --- a/docs/_sources/grid_examples/grid_following/plot_gfl_10kva.rst +++ b/docs/_sources/grid_examples/grid_following/plot_gfl_10kva.rst @@ -195,7 +195,7 @@ Plot the results. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 1.250 seconds) + **Total running time of the script:** (0 minutes 1.263 seconds) .. _sphx_glr_download_grid_examples_grid_following_plot_gfl_10kva.py: diff --git a/docs/_sources/grid_examples/grid_following/plot_gfl_dc_bus_10kva.rst b/docs/_sources/grid_examples/grid_following/plot_gfl_dc_bus_10kva.rst index e385dd77..961fdafa 100644 --- a/docs/_sources/grid_examples/grid_following/plot_gfl_dc_bus_10kva.rst +++ b/docs/_sources/grid_examples/grid_following/plot_gfl_dc_bus_10kva.rst @@ -195,7 +195,7 @@ Plot the results. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 1.298 seconds) + **Total running time of the script:** (0 minutes 1.323 seconds) .. _sphx_glr_download_grid_examples_grid_following_plot_gfl_dc_bus_10kva.py: diff --git a/docs/_sources/grid_examples/grid_following/plot_gfl_lcl_10kva.rst b/docs/_sources/grid_examples/grid_following/plot_gfl_lcl_10kva.rst index 287d2fac..2d1b0c3a 100644 --- a/docs/_sources/grid_examples/grid_following/plot_gfl_lcl_10kva.rst +++ b/docs/_sources/grid_examples/grid_following/plot_gfl_lcl_10kva.rst @@ -184,7 +184,7 @@ Plot the results. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 1.326 seconds) + **Total running time of the script:** (0 minutes 1.335 seconds) .. _sphx_glr_download_grid_examples_grid_following_plot_gfl_lcl_10kva.py: diff --git a/docs/_sources/grid_examples/grid_following/sg_execution_times.rst b/docs/_sources/grid_examples/grid_following/sg_execution_times.rst index f5e3db2d..1208bd80 100644 --- a/docs/_sources/grid_examples/grid_following/sg_execution_times.rst +++ b/docs/_sources/grid_examples/grid_following/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:03.874** total execution time for 3 files **from grid_examples/grid_following**: +**00:03.921** total execution time for 3 files **from grid_examples/grid_following**: .. container:: @@ -33,11 +33,11 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_lcl_10kva.py` (``plot_gfl_lcl_10kva.py``) - - 00:01.326 + - 00:01.335 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_dc_bus_10kva.py` (``plot_gfl_dc_bus_10kva.py``) - - 00:01.298 + - 00:01.323 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_10kva.py` (``plot_gfl_10kva.py``) - - 00:01.250 + - 00:01.263 - 0.0 diff --git a/docs/_sources/grid_examples/grid_forming/plot_gfm_obs_13kva.rst b/docs/_sources/grid_examples/grid_forming/plot_gfm_obs_13kva.rst index 2770d4ea..8ba8410d 100644 --- a/docs/_sources/grid_examples/grid_forming/plot_gfm_obs_13kva.rst +++ b/docs/_sources/grid_examples/grid_forming/plot_gfm_obs_13kva.rst @@ -202,7 +202,7 @@ Plot the results. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 7.851 seconds) + **Total running time of the script:** (0 minutes 7.952 seconds) .. _sphx_glr_download_grid_examples_grid_forming_plot_gfm_obs_13kva.py: diff --git a/docs/_sources/grid_examples/grid_forming/plot_gfm_rfpsc_13kva.rst b/docs/_sources/grid_examples/grid_forming/plot_gfm_rfpsc_13kva.rst index bd17c5d7..1fed91f7 100644 --- a/docs/_sources/grid_examples/grid_forming/plot_gfm_rfpsc_13kva.rst +++ b/docs/_sources/grid_examples/grid_forming/plot_gfm_rfpsc_13kva.rst @@ -193,7 +193,7 @@ Plot the results. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 7.674 seconds) + **Total running time of the script:** (0 minutes 7.828 seconds) .. _sphx_glr_download_grid_examples_grid_forming_plot_gfm_rfpsc_13kva.py: diff --git a/docs/_sources/grid_examples/grid_forming/sg_execution_times.rst b/docs/_sources/grid_examples/grid_forming/sg_execution_times.rst index 1262129a..68bb18cc 100644 --- a/docs/_sources/grid_examples/grid_forming/sg_execution_times.rst +++ b/docs/_sources/grid_examples/grid_forming/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**00:15.525** total execution time for 2 files **from grid_examples/grid_forming**: +**00:15.780** total execution time for 2 files **from grid_examples/grid_forming**: .. container:: @@ -33,8 +33,8 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_grid_examples_grid_forming_plot_gfm_obs_13kva.py` (``plot_gfm_obs_13kva.py``) - - 00:07.851 + - 00:07.952 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_forming_plot_gfm_rfpsc_13kva.py` (``plot_gfm_rfpsc_13kva.py``) - - 00:07.674 + - 00:07.828 - 0.0 diff --git a/docs/_sources/sg_execution_times.rst b/docs/_sources/sg_execution_times.rst index 4532ff32..29405340 100644 --- a/docs/_sources/sg_execution_times.rst +++ b/docs/_sources/sg_execution_times.rst @@ -6,7 +6,7 @@ Computation times ================= -**05:02.293** total execution time for 25 files **from all galleries**: +**05:08.344** total execution time for 25 files **from all galleries**: .. container:: @@ -33,77 +33,77 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsyrm_thor.py` (``../../examples/drive/obs_vhz/plot_obs_vhz_ctrl_pmsyrm_thor.py``) - - 00:51.017 + - 00:50.890 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_syrm_7kw.py` (``../../examples/drive/obs_vhz/plot_obs_vhz_ctrl_syrm_7kw.py``) - - 00:28.140 + - 00:28.956 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_syrm_7kw.py` (``../../examples/drive/vector/plot_vector_ctrl_syrm_7kw.py``) - - 00:25.852 + - 00:26.593 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw.py` (``../../examples/drive/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw.py``) - - 00:23.917 + - 00:24.646 - 0.0 * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_im_2kw.py` (``../../examples/drive/vhz/plot_vhz_ctrl_im_2kw.py``) - - 00:17.528 + - 00:17.761 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_pmsyrm_5kw.py` (``../../examples/drive/flux_vector/plot_flux_vector_pmsyrm_5kw.py``) - - 00:15.545 + - 00:15.937 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_syrm_7kw.py` (``../../examples/drive/flux_vector/plot_flux_vector_syrm_7kw.py``) - - 00:14.955 + - 00:15.398 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsm_2kw_diode.py` (``../../examples/drive/vector/plot_vector_ctrl_pmsm_2kw_diode.py``) - - 00:14.073 + - 00:14.574 - 0.0 * - :ref:`sphx_glr_drive_examples_signal_inj_plot_signal_inj_pmsm_2kw.py` (``../../examples/drive/signal_inj/plot_signal_inj_pmsm_2kw.py``) - - 00:12.705 + - 00:13.034 - 0.0 * - :ref:`sphx_glr_drive_examples_signal_inj_plot_signal_inj_syrm_7kw.py` (``../../examples/drive/signal_inj/plot_signal_inj_syrm_7kw.py``) - - 00:12.652 + - 00:12.943 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_im_2kw.py` (``../../examples/drive/flux_vector/plot_flux_vector_im_2kw.py``) - - 00:09.833 + - 00:10.133 - 0.0 * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_im_2kw_lc.py` (``../../examples/drive/vhz/plot_vhz_ctrl_im_2kw_lc.py``) - - 00:09.749 + - 00:09.998 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_im_2kw.py` (``../../examples/drive/obs_vhz/plot_obs_vhz_ctrl_im_2kw.py``) - - 00:08.982 + - 00:09.196 - 0.0 * - :ref:`sphx_glr_drive_examples_vhz_plot_vhz_ctrl_6step_im_2kw.py` (``../../examples/drive/vhz/plot_vhz_ctrl_6step_im_2kw.py``) - - 00:08.918 + - 00:09.093 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_forming_plot_gfm_obs_13kva.py` (``../../examples/grid/grid_forming/plot_gfm_obs_13kva.py``) - - 00:07.851 + - 00:07.952 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_forming_plot_gfm_rfpsc_13kva.py` (``../../examples/grid/grid_forming/plot_gfm_rfpsc_13kva.py``) - - 00:07.674 + - 00:07.828 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsm_2kw.py` (``../../examples/drive/vector/plot_vector_ctrl_pmsm_2kw.py``) - - 00:05.424 + - 00:05.489 - 0.0 * - :ref:`sphx_glr_drive_examples_flux_vector_plot_flux_vector_pmsm_2kw.py` (``../../examples/drive/flux_vector/plot_flux_vector_pmsm_2kw.py``) - - 00:05.218 + - 00:05.277 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_pmsyrm_thor.py` (``../../examples/drive/vector/plot_vector_ctrl_pmsyrm_thor.py``) - - 00:04.930 + - 00:05.068 - 0.0 * - :ref:`sphx_glr_drive_examples_obs_vhz_plot_obs_vhz_ctrl_pmsm_2kw_two_mass.py` (``../../examples/drive/obs_vhz/plot_obs_vhz_ctrl_pmsm_2kw_two_mass.py``) - - 00:04.749 + - 00:04.799 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_im_2kw_tq_mode.py` (``../../examples/drive/vector/plot_vector_ctrl_im_2kw_tq_mode.py``) - - 00:04.663 + - 00:04.731 - 0.0 * - :ref:`sphx_glr_drive_examples_vector_plot_vector_ctrl_im_2kw.py` (``../../examples/drive/vector/plot_vector_ctrl_im_2kw.py``) - - 00:04.044 + - 00:04.128 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_lcl_10kva.py` (``../../examples/grid/grid_following/plot_gfl_lcl_10kva.py``) - - 00:01.326 + - 00:01.335 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_dc_bus_10kva.py` (``../../examples/grid/grid_following/plot_gfl_dc_bus_10kva.py``) - - 00:01.298 + - 00:01.323 - 0.0 * - :ref:`sphx_glr_grid_examples_grid_following_plot_gfl_10kva.py` (``../../examples/grid/grid_following/plot_gfl_10kva.py``) - - 00:01.250 + - 00:01.263 - 0.0 diff --git a/docs/autoapi/motulator/common/control/index.html b/docs/autoapi/motulator/common/control/index.html index 2fe3f124..3112cd99 100644 --- a/docs/autoapi/motulator/common/control/index.html +++ b/docs/autoapi/motulator/common/control/index.html @@ -514,7 +514,7 @@

Package Contents
Parameters:
-

T_s (float) – Sampling period (s).

+

T_s (float) – Sampling period (s).

@@ -539,9 +539,9 @@

Package Contents
Parameters:
    -
  • k_p (float) – Proportional gain.

  • -
  • k_i (float) – Integral gain.

  • -
  • k_t (float, optional) – Reference-feedforward gain. The default is k_p.

  • +
  • k_p (float) – Proportional gain.

  • +
  • k_i (float) – Integral gain.

  • +
  • k_t (float, optional) – Reference-feedforward gain. The default is k_p.

@@ -564,16 +564,16 @@

Package Contents
Parameters:
    -
  • ref_i (complex) – Reference signal.

  • -
  • i (complex) – Feedback signal.

  • -
  • u_ff (complex, optional) – Feedforward signal. The default is 0.

  • +
  • ref_i (complex) – Reference signal.

  • +
  • i (complex) – Feedback signal.

  • +
  • u_ff (complex, optional) – Feedforward signal. The default is 0.

Returns:

u – Controller output.

Return type:
-

complex

+

complex

@@ -585,9 +585,9 @@

Package Contents
Parameters:
    -
  • T_s (float) – Sampling period (s).

  • -
  • u (complex) – Realized (limited) controller output.

  • -
  • w (float) – Angular speed of the reference frame (rad/s).

  • +
  • T_s (float) – Sampling period (s).

  • +
  • u (complex) – Realized (limited) controller output.

  • +
  • w (float) – Angular speed of the reference frame (rad/s).

@@ -598,7 +598,7 @@

Package Contents
class motulator.common.control.ControlSystem(T_s)[source]#
-

Bases: abc.ABC

+

Bases: abc.ABC

Base class for control systems.

This base class provides typical functionalities for control systems. It can be used as a template for implementing custom controllers. An instance @@ -606,7 +606,7 @@

Package Contents
Parameters:
-

T_s (float) – Sampling period (s).

+

T_s (float) – Sampling period (s).

@@ -774,10 +774,10 @@

Package Contents
Parameters:
    -
  • k_p (float) – Proportional gain.

  • -
  • k_i (float) – Integral gain.

  • -
  • k_t (float, optional) – Reference-feedforward gain. The default is k_p.

  • -
  • max_u (float, optional) – Maximum controller output. The default is inf.

  • +
  • k_p (float) – Proportional gain.

  • +
  • k_i (float) – Integral gain.

  • +
  • k_t (float, optional) – Reference-feedforward gain. The default is k_p.

  • +
  • max_u (float, optional) – Maximum controller output. The default is inf.

@@ -788,16 +788,16 @@

Package Contents
Parameters:
    -
  • ref_y (float) – Reference signal.

  • -
  • y (float) – Feedback signal.

  • -
  • u_ff (float, optional) – Feedforward signal. The default is 0.

  • +
  • ref_y (float) – Reference signal.

  • +
  • y (float) – Feedback signal.

  • +
  • u_ff (float, optional) – Feedforward signal. The default is 0.

Returns:

u – Controller output.

Return type:
-

float

+

float

@@ -809,8 +809,8 @@

Package Contents
Parameters:
    -
  • T_s (float) – Sampling period (s).

  • -
  • u (float) – Realized (limited) controller output.

  • +
  • T_s (float) – Sampling period (s).

  • +
  • u (float) – Realized (limited) controller output.

@@ -829,11 +829,11 @@

Package Contents
Parameters:
    -
  • k_comp (float, optional) – Compensation factor for the delay effect on the voltage vector angle. +

  • k_comp (float, optional) – Compensation factor for the delay effect on the voltage vector angle. The default is 1.5.

  • -
  • u_cs0 (float, optional) – Initial voltage (V) in stationary coordinates. This is used to compute +

  • u_cs0 (float, optional) – Initial voltage (V) in stationary coordinates. This is used to compute the realized voltage. The default is 0.

  • -
  • overmodulation (str, optional) – Select one of the following overmodulation methods: minimum-magnitude- +

  • overmodulation (str, optional) – Select one of the following overmodulation methods: minimum-magnitude- error (“MME”); minimum-phase-error (“MPE”); six-step (“six_step”). The default is “MME”.

@@ -861,8 +861,8 @@

Package Contents
Parameters:
    -
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • -
  • u_dc (float) – DC-bus voltage (V).

  • +
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • +
  • u_dc (float) – DC-bus voltage (V).

Returns:
@@ -884,7 +884,7 @@

Package ContentsReturn type: -

complex

+

complex

@@ -896,10 +896,10 @@

Package Contents
Parameters:
    -
  • T_s (float) – Sampling period (s).

  • -
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • -
  • u_dc (float) – DC-bus voltage (V).

  • -
  • w (float) – Angular speed of synchronous coordinates (rad/s).

  • +
  • T_s (float) – Sampling period (s).

  • +
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • +
  • u_dc (float) – DC-bus voltage (V).

  • +
  • w (float) – Angular speed of synchronous coordinates (rad/s).

Returns:
@@ -922,15 +922,15 @@

Package Contents
Parameters:
    -
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • -
  • u_dc (float) – DC-bus voltage (V).

  • +
  • ref_u_cs (complex) – Converter voltage reference (V) in stationary coordinates.

  • +
  • u_dc (float) – DC-bus voltage (V).

Returns:

ref_u_cs – Modified converter voltage reference (V) in stationary coordinates.

Return type:
-

complex

+

complex

References

@@ -958,7 +958,7 @@

Package Contents
Parameters:
-

rate_limit (float, optional) – Rate limit. The default is inf.

+

rate_limit (float, optional) – Rate limit. The default is inf.

diff --git a/docs/autoapi/motulator/common/model/index.html b/docs/autoapi/motulator/common/model/index.html index c7fbab63..4642122d 100644 --- a/docs/autoapi/motulator/common/model/index.html +++ b/docs/autoapi/motulator/common/model/index.html @@ -501,8 +501,8 @@

Package Contents
Parameters:
    -
  • N (int, optional) – Amount of the counter quantization levels. The default is 2**12.

  • -
  • return_complex (bool, optional) – Complex switching state space vectors are returned if True. Otherwise +

  • N (int, optional) – Amount of the counter quantization levels. The default is 2**12.

  • +
  • return_complex (bool, optional) – Complex switching state space vectors are returned if True. Otherwise phase switching states are returned. The default is True.

@@ -552,7 +552,7 @@

Package Contents
Parameters:
-

length (int, optional) – Length of the buffer in samples. The default is 1.

+

length (int, optional) – Length of the buffer in samples. The default is 1.

@@ -560,7 +560,7 @@

Package Contents
class motulator.common.model.Model(pwm=None, delay=1)[source]#
-

Bases: abc.ABC

+

Bases: abc.ABC

Base class for continuous-time system models.

This base class is a template for a system model that interconnects the subsystems and provides an interface to the solver.

@@ -569,7 +569,7 @@

Package Contents
  • pwm (zoh | CarrierComparison, optional) – Zero-order hold of duty ratios or carrier comparison. If None, the default is zoh.

  • -
  • delay (int, optional) – Amount of computational delays. The default is 1.

  • +
  • delay (int, optional) – Amount of computational delays. The default is 1.

@@ -632,7 +632,7 @@

Package Contents
class motulator.common.model.Subsystem[source]#
-

Bases: abc.ABC

+

Bases: abc.ABC

Base class for subsystems.

@@ -643,7 +643,7 @@

Package Contents
Parameters:
    -
  • T_s (float) – Sampling period.

  • +
  • T_s (float) – Sampling period.

  • d_c_abc (array_like of floats, shape (3,)) – Duty ratios in the range [0, 1].

diff --git a/docs/autoapi/motulator/common/utils/index.html b/docs/autoapi/motulator/common/utils/index.html index 9d3ea20b..84f567d3 100644 --- a/docs/autoapi/motulator/common/utils/index.html +++ b/docs/autoapi/motulator/common/utils/index.html @@ -490,7 +490,7 @@

Package Contents @@ -514,7 +514,7 @@

Package Contents

Complex space vector (peak-value scaling).

Return type:
-

complex

+

complex

Examples

@@ -532,7 +532,7 @@

Package Contents
Parameters:
-

u (complex) – Complex space vector (peak-value scaling).

+

u (complex) – Complex space vector (peak-value scaling).

Returns:

Phase quantities.

@@ -556,13 +556,13 @@

Package Contents
Parameters:
-

theta (float) – Angle (rad).

+

theta (float) – Angle (rad).

Returns:

Limited angle.

Return type:
-

float

+

float

diff --git a/docs/autoapi/motulator/drive/control/im/index.html b/docs/autoapi/motulator/drive/control/im/index.html index ceaa4d55..72848727 100644 --- a/docs/autoapi/motulator/drive/control/im/index.html +++ b/docs/autoapi/motulator/drive/control/im/index.html @@ -556,7 +556,7 @@

Package ContentsParameters:
@@ -627,13 +627,13 @@

Package ContentsParameters:
  • par (InductionMachineInvGammaPars) – Machine model parameters.

  • -
  • max_i_s (float) – Maximum stator current (A).

  • -
  • nom_u_s (float, optional) – Nominal stator voltage (V). The default is sqrt(2/3)*400.

  • -
  • nom_w_s (float, optional) – Nominal stator angular frequency (rad/s). The default is 2*pi*50.

  • -
  • nom_psi_R (float, optional) – Nominal rotor flux linkage (Vs). The default is +

  • max_i_s (float) – Maximum stator current (A).

  • +
  • nom_u_s (float, optional) – Nominal stator voltage (V). The default is sqrt(2/3)*400.

  • +
  • nom_w_s (float, optional) – Nominal stator angular frequency (rad/s). The default is 2*pi*50.

  • +
  • nom_psi_R (float, optional) – Nominal rotor flux linkage (Vs). The default is (nom_u_s/nom_w_s)/(1 + L_sgm/L_M).

  • -
  • k_fw (float, optional) – Field-weakening gain (1/H). The default is 2*R_R/(nom_w_s*L_sgm**2).

  • -
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

  • +
  • k_fw (float, optional) – Field-weakening gain (1/H). The default is 2*R_R/(nom_w_s*L_sgm**2).

  • +
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

@@ -652,9 +652,9 @@

Package Contents
  • par (InductionMachineInvGammaPars) – Machine parameters.

  • cfg (CurrentReferenceCfg) – Current reference generator configuration.

  • -
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • -
  • T_s (float, optional) – Sampling time (s). The default is 250e-6.

  • -
  • sensorless (bool, optional) – Enable sensorless control. The default is True.

  • +
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • +
  • T_s (float, optional) – Sampling time (s). The default is 250e-6.

  • +
  • sensorless (bool, optional) – Enable sensorless control. The default is True.

@@ -746,13 +746,13 @@

Package ContentsParameters:
  • par (InductionMachineInvGammaPars) – Machine model parameters.

  • -
  • alpha_psi (float, optional) – Flux-control bandwidth (rad/s). The default is 2*pi*100.

  • -
  • alpha_tau (float, optional) – Torque-control bandwidth (rad/s). The default is 2*pi*200.

  • -
  • alpha_c (float, optional) – Internal current-control bandwidth (rad/s). The default is 2*pi*200.

  • -
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • -
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • -
  • T_s (float) – Sampling period (s). The default is 250e-6.

  • -
  • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

  • +
  • alpha_psi (float, optional) – Flux-control bandwidth (rad/s). The default is 2*pi*100.

  • +
  • alpha_tau (float, optional) – Torque-control bandwidth (rad/s). The default is 2*pi*200.

  • +
  • alpha_c (float, optional) – Internal current-control bandwidth (rad/s). The default is 2*pi*200.

  • +
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • +
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • +
  • T_s (float) – Sampling period (s). The default is 250e-6.

  • +
  • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

  • cfg (FluxVectorControlCfg) –

@@ -778,10 +778,10 @@

Package Contents
Parameters:
    -
  • nom_psi_s (float) – Nominal stator flux linkage (Vs).

  • -
  • max_i_s (float) – Maximum stator current (A).

  • -
  • max_tau_M (float) – Maximum torque reference (Nm).

  • -
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

  • +
  • nom_psi_s (float) – Nominal stator flux linkage (Vs).

  • +
  • max_i_s (float) – Maximum stator current (A).

  • +
  • max_tau_M (float) – Maximum torque reference (Nm).

  • +
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

@@ -829,7 +829,7 @@

Package Contents
Parameters:
-

alpha_i (float, optional) – Current estimation bandwidth (rad/s). The default is 2*pi*400.

+

alpha_i (float, optional) – Current estimation bandwidth (rad/s). The default is 2*pi*400.

@@ -929,7 +929,7 @@

Package Contents @@ -963,14 +963,14 @@

Package Contents
Parameters:
    -
  • nom_psi_s (float) – Nominal stator flux linkage (Vs).

  • -
  • max_i_s (float, optional) – Maximum stator current (A). The default is inf.

  • -
  • k_tau (float, optional) – Torque controller gain. The default is 3.

  • -
  • alpha_psi (float, optional) – Stator flux control bandwidth (rad/s). The default is 2*pi*20.

  • -
  • alpha_f (float, optional) – Torque high-pass filter bandwidth (rad/s). The default is 2*pi*1.

  • -
  • alpha_r (float, optional) – Low-pass-filter bandwidth (rad/s) for slip angular frequency. The +

  • nom_psi_s (float) – Nominal stator flux linkage (Vs).

  • +
  • max_i_s (float, optional) – Maximum stator current (A). The default is inf.

  • +
  • k_tau (float, optional) – Torque controller gain. The default is 3.

  • +
  • alpha_psi (float, optional) – Stator flux control bandwidth (rad/s). The default is 2*pi*20.

  • +
  • alpha_f (float, optional) – Torque high-pass filter bandwidth (rad/s). The default is 2*pi*1.

  • +
  • alpha_r (float, optional) – Low-pass-filter bandwidth (rad/s) for slip angular frequency. The default is 2*pi*1.

  • -
  • slip_compensation (bool, optional) – Enable slip compensation. The default is False.

  • +
  • slip_compensation (bool, optional) – Enable slip compensation. The default is False.

@@ -984,9 +984,9 @@

Package ContentsParameters:
  • par (InductionMachineInvGammaPars) – Machine model parameters.

  • -
  • T_s (float) – Sampling period (s).

  • -
  • sensorless (bool) – If True, sensorless mode is used.

  • -
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • +
  • T_s (float) – Sampling period (s).

  • +
  • sensorless (bool) – If True, sensorless mode is used.

  • +
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • k_o (callable, optional) – Observer gain as a function of the rotor angular speed. The default is lambda w_m: (0.5*R_R/L_M + 0.2*abs(w_m))/(R_R/L_M - 1j*w_m) if sensorless else lambda w_m: 1 + 0.2*abs(w_m)/(R_R/L_M - 1j*w_m).

  • @@ -1009,9 +1009,9 @@

    Package Contents
    Parameters:
      -
    • J (float) – Total inertia of the rotor (kgm²).

    • -
    • alpha_s (float) – Closed-loop bandwidth (rad/s).

    • -
    • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

    • +
    • J (float) – Total inertia of the rotor (kgm²).

    • +
    • alpha_s (float) – Closed-loop bandwidth (rad/s).

    • +
    • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

    diff --git a/docs/autoapi/motulator/drive/control/index.html b/docs/autoapi/motulator/drive/control/index.html index a51e6403..f672575f 100644 --- a/docs/autoapi/motulator/drive/control/index.html +++ b/docs/autoapi/motulator/drive/control/index.html @@ -482,7 +482,7 @@

    Package Contents
    class motulator.drive.control.DriveControlSystem(par, T_s, sensorless)[source]#
    -

    Bases: motulator.common.control.ControlSystem, abc.ABC

    +

    Bases: motulator.common.control.ControlSystem, abc.ABC

    Base class for drive control systems.

    This base class provides typical functionalities for control of electric machine drives. This can be used both in speed-control and torque-control @@ -491,8 +491,8 @@

    Package ContentsParameters:
    @@ -664,9 +664,9 @@

    Package Contents
    Parameters:
      -
    • J (float) – Total inertia of the rotor (kgm²).

    • -
    • alpha_s (float) – Closed-loop bandwidth (rad/s).

    • -
    • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

    • +
    • J (float) – Total inertia of the rotor (kgm²).

    • +
    • alpha_s (float) – Closed-loop bandwidth (rad/s).

    • +
    • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

    diff --git a/docs/autoapi/motulator/drive/control/sm/index.html b/docs/autoapi/motulator/drive/control/sm/index.html index 4cb9b2e7..50251d22 100644 --- a/docs/autoapi/motulator/drive/control/sm/index.html +++ b/docs/autoapi/motulator/drive/control/sm/index.html @@ -581,7 +581,7 @@

    Package ContentsParameters:
    • par (SynchronousMachinePars) – Synchronous machine parameters, should contain L_d and L_q (H).

    • -
    • alpha_c (float) – Closed-loop bandwidth (rad/s).

    • +
    • alpha_c (float) – Closed-loop bandwidth (rad/s).

    @@ -601,16 +601,16 @@

    Package Contents
    Parameters:
      -
    • ref_i (complex) – Reference signal.

    • -
    • i (complex) – Feedback signal.

    • -
    • u_ff (complex, optional) – Feedforward signal. The default is 0.

    • +
    • ref_i (complex) – Reference signal.

    • +
    • i (complex) – Feedback signal.

    • +
    • u_ff (complex, optional) – Feedforward signal. The default is 0.

    Returns:

    u – Controller output.

    Return type:
    -

    complex

    +

    complex

    @@ -671,13 +671,13 @@

    Package ContentsParameters:
    • par (SynchronousMachinePars) – Machine model parameters.

    • -
    • max_i_s (float) – Maximum stator current (A).

    • -
    • min_psi_s (float, optional) – Minimum stator flux (Vs). The default is psi_f.

    • -
    • nom_w_m (float, optional) – Nominal rotor angular speed (electrical rad/s). Needed if k_fw is not +

    • max_i_s (float) – Maximum stator current (A).

    • +
    • min_psi_s (float, optional) – Minimum stator flux (Vs). The default is psi_f.

    • +
    • nom_w_m (float, optional) – Nominal rotor angular speed (electrical rad/s). Needed if k_fw is not directly provided.

    • -
    • alpha_fw (float, optional) – Field-weakening bandwidth (rad/s). The default is 2*pi*20.

    • -
    • k_fw (float, optional) – Field-weakening gain. The default is alpha_fw/(w_m_nom*par.L_d).

    • -
    • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

    • +
    • alpha_fw (float, optional) – Field-weakening bandwidth (rad/s). The default is 2*pi*20.

    • +
    • k_fw (float, optional) – Field-weakening gain. The default is alpha_fw/(w_m_nom*par.L_d).

    • +
    • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

    @@ -730,11 +730,11 @@

    Package Contents
    • par (SynchronousMachinePars) – Machine model parameters.

    • cfg (CurrentReferenceCfg) – Reference generation configuration.

    • -
    • T_s (float, optional) – Sampling period (s). The default is 250e-6.

    • -
    • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

    • -
    • alpha_c (float, optional) – Current controller bandwidth (rad/s). The default is 2*pi*200.

    • -
    • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*100.

    • -
    • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

    • +
    • T_s (float, optional) – Sampling period (s). The default is 250e-6.

    • +
    • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

    • +
    • alpha_c (float, optional) – Current controller bandwidth (rad/s). The default is 2*pi*200.

    • +
    • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*100.

    • +
    • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

@@ -824,10 +824,10 @@

Package ContentsParameters:
  • par (SynchronousMachinePars) – Machine model parameters.

  • -
  • max_i_s (float) – Maximum stator current (A).

  • -
  • min_psi_s (float, optional) – Minimum stator flux (Vs). The default is par.psi_f.

  • -
  • max_psi_s (float, optional) – Maximum stator flux (Vs). The default is inf.

  • -
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

  • +
  • max_i_s (float) – Maximum stator current (A).

  • +
  • min_psi_s (float, optional) – Minimum stator flux (Vs). The default is par.psi_f.

  • +
  • max_psi_s (float, optional) – Maximum stator flux (Vs). The default is inf.

  • +
  • k_u (float, optional) – Voltage utilization factor. The default is 0.95.

@@ -850,12 +850,12 @@

Package Contents
  • par (SynchronousMachinePars) – Machine model parameters.

  • cfg (FluxTorqueReferenceCfg) – Reference generation configuration.

  • -
  • alpha_psi (float, optional) – Flux-control bandwidth (rad/s). The default is 2*pi*100.

  • -
  • alpha_tau (float, optional) – Torque-control bandwidth (rad/s). The default is 2*pi*200.

  • -
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*100.

  • -
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • -
  • T_s (float) – Sampling period (s). The default is 250e-6.

  • -
  • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

  • +
  • alpha_psi (float, optional) – Flux-control bandwidth (rad/s). The default is 2*pi*100.

  • +
  • alpha_tau (float, optional) – Torque-control bandwidth (rad/s). The default is 2*pi*200.

  • +
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*100.

  • +
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • +
  • T_s (float) – Sampling period (s). The default is 250e-6.

  • +
  • sensorless (bool, optional) – If True, sensorless control is used. The default is True.

@@ -991,7 +991,7 @@

Package Contents @@ -1026,9 +1026,9 @@

Package Contents
Parameters:
    -
  • alpha_psi (float, optional) – Flux control bandwidth (rad/s). The default is 2*pi*50.

  • -
  • alpha_tau (float) – Torque control bandwidth (rad/s). The default is 2*pi*50.

  • -
  • alpha_f (float, optional) – Bandwidth of the high-pass filter (rad/s). The default is 2*pi*1.

  • +
  • alpha_psi (float, optional) – Flux control bandwidth (rad/s). The default is 2*pi*50.

  • +
  • alpha_tau (float) – Torque control bandwidth (rad/s). The default is 2*pi*50.

  • +
  • alpha_f (float, optional) – Bandwidth of the high-pass filter (rad/s). The default is 2*pi*1.

@@ -1042,8 +1042,8 @@

Package ContentsParameters:
  • par (SynchronousMachinePars) – Machine model parameters.

  • -
  • sensorless (bool) – If True, sensorless mode is used.

  • -
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • +
  • sensorless (bool) – If True, sensorless mode is used.

  • +
  • alpha_o (float, optional) – Observer bandwidth (rad/s). The default is 2*pi*40.

  • k_o (callable, optional) – Observer gain as a function of the rotor angular speed. The default is lambda w_m: 0.25*(R_s*(L_d + L_q)/(L_d*L_q) + 0.2*abs(w_m)) if sensorless else lambda w_m: 2*pi*15.

  • @@ -1069,7 +1069,7 @@

    Package ContentsParameters:
    @@ -1079,13 +1079,13 @@

    Package Contents
    Parameters:
    -

    i_s (complex) – Unfiltered stator current (A) in estimated rotor coordinates.

    +

    i_s (complex) – Unfiltered stator current (A) in estimated rotor coordinates.

    Returns:

    i_s_flt – Filtered stator current (A) in estimated rotor coordinates.

    Return type:
    -

    complex

    +

    complex

@@ -1097,15 +1097,15 @@

Package Contents
Parameters:
    -
  • T_s (float) – Sampling period (s).

  • -
  • i_sq (float) – q-axis stator current (A) in estimated rotor coordinates.

  • +
  • T_s (float) – Sampling period (s).

  • +
  • i_sq (float) – q-axis stator current (A) in estimated rotor coordinates.

Returns:

err – Rotor position estimation error (electrical rad).

Return type:
-

float

+

float

@@ -1116,7 +1116,7 @@

Package Contents
Parameters:
-

i_s (complex) – Stator current in estimated rotor coordinates.

+

i_s (complex) – Stator current in estimated rotor coordinates.

@@ -1149,8 +1149,8 @@

Package Contents
  • par (SynchronousMachinePars) – Machine model parameters.

  • cfg (CurrentReferenceCfg) – Reference generation configuration.

  • -
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • -
  • T_s (float) – Sampling period (s).

  • +
  • J (float, optional) – Moment of inertia (kgm²). Needed only for the speed controller.

  • +
  • T_s (float) – Sampling period (s).

@@ -1184,9 +1184,9 @@

Package Contents
Parameters:
    -
  • J (float) – Total inertia of the rotor (kgm²).

  • -
  • alpha_s (float) – Closed-loop bandwidth (rad/s).

  • -
  • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

  • +
  • J (float) – Total inertia of the rotor (kgm²).

  • +
  • alpha_s (float) – Closed-loop bandwidth (rad/s).

  • +
  • max_tau_M (float, optional) – Maximum motor torque (Nm). The default is inf.

@@ -1207,13 +1207,13 @@

Package Contents
Parameters:
-

psi_s (complex) – Stator flux linkage (Vs).

+

psi_s (complex) – Stator flux linkage (Vs).

Returns:

i_s – Stator current (A).

Return type:
-

complex

+

complex

@@ -1225,10 +1225,10 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Current limit (A).

  • -
  • gamma1 (float, optional) – Starting angle (electrical rad). The default is 0.

  • -
  • gamma2 (float, optional) – End angle (electrical rad). The default is pi.

  • -
  • N (int, optional) – Amount of points. The default is 20.

  • +
  • max_i_s (float) – Current limit (A).

  • +
  • gamma1 (float, optional) – Starting angle (electrical rad). The default is 0.

  • +
  • gamma2 (float, optional) – End angle (electrical rad). The default is pi.

  • +
  • N (int, optional) – Amount of points. The default is 20.

Returns:
@@ -1257,13 +1257,13 @@

Package Contents
Parameters:
-

i_s (complex) – Stator current (A).

+

i_s (complex) – Stator current (A).

Returns:

psi_s – Stator flux linkage (Vs).

Return type:
-

complex

+

complex

@@ -1274,13 +1274,13 @@

Package Contents
Parameters:
-

abs_i_s (float) – Stator current magnitude (A).

+

abs_i_s (float) – Stator current magnitude (A).

Returns:

beta – MTPA angle of the stator current vector (electrical rad).

Return type:
-

float

+

float

@@ -1292,10 +1292,10 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Maximum stator current magnitude (A) at which the locus is +

  • max_i_s (float) – Maximum stator current magnitude (A) at which the locus is computed.

  • -
  • min_psi_s (float, optional) – Minimum stator flux magnitude (Vs) at which the locus is computed.

  • -
  • N (int, optional) – Amount of points. The default is 20.

  • +
  • min_psi_s (float, optional) – Minimum stator flux magnitude (Vs) at which the locus is computed.

  • +
  • N (int, optional) – Amount of points. The default is 20.

Returns:
@@ -1326,13 +1326,13 @@

Package Contents
Parameters:
-

abs_psi_s (float) – Stator flux magnitude (Vs).

+

abs_psi_s (float) – Stator flux magnitude (Vs).

Returns:

delta – MTPV angle of the stator flux vector (electrical rad).

Return type:
-

float

+

float

@@ -1344,8 +1344,8 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Current limit (A).

  • -
  • N (int, optional) – Amount of points. The default is 20.

  • +
  • max_i_s (float) – Current limit (A).

  • +
  • N (int, optional) – Amount of points. The default is 20.

Returns:
@@ -1376,13 +1376,13 @@

Package Contents
Parameters:
-

abs_i_s (float) – Stator current magnitude (A).

+

abs_i_s (float) – Stator current magnitude (A).

Returns:

i_s – MTPV stator current (A).

Return type:
-

complex

+

complex

@@ -1394,11 +1394,11 @@

Package Contents
Parameters:
    -
  • max_psi_s (float, optional) – Maximum stator flux magnitude (Vs) at which the locus is computed. +

  • max_psi_s (float, optional) – Maximum stator flux magnitude (Vs) at which the locus is computed. Either max_psi_s or max_i_s must be given.

  • -
  • max_i_s (float, optional) – Maximum stator current magnitude (A) at which the locus is +

  • max_i_s (float, optional) – Maximum stator current magnitude (A) at which the locus is computed.

  • -
  • N (int, optional) – Amount of points. The default is 20.

  • +
  • N (int, optional) – Amount of points. The default is 20.

Returns:
@@ -1428,9 +1428,9 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • +
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • base (BaseValues) – Base values.

  • -
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

  • +
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

@@ -1443,9 +1443,9 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • +
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • base (BaseValues) – Base values.

  • -
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

  • +
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

@@ -1458,9 +1458,9 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • +
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • base (BaseValues) – Base values.

  • -
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

  • +
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

@@ -1473,9 +1473,9 @@

Package Contents
Parameters:
    -
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • +
  • max_i_s (float) – Maximum current (A) at which the loci are evaluated.

  • base (BaseValues) – Base values.

  • -
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

  • +
  • N (int, optional) – Amount of points to be evaluated. The default is 20.

@@ -1487,13 +1487,13 @@

Package Contents
Parameters:
-

psi_s (complex) – Stator flux (Vs).

+

psi_s (complex) – Stator flux (Vs).

Returns:

tau_M – Electromagnetic torque (Nm).

Return type:
-

float

+

float

diff --git a/docs/autoapi/motulator/drive/model/index.html b/docs/autoapi/motulator/drive/model/index.html index 69e2f795..b3033210 100644 --- a/docs/autoapi/motulator/drive/model/index.html +++ b/docs/autoapi/motulator/drive/model/index.html @@ -432,11 +432,6 @@

Contents

  • Drive.post_process()
  • -
  • DriveWithDiodeBridge -
  • DriveWithLCFilter @@ -1216,9 +1179,9 @@

    Package Contents
    Parameters:
      -
    • u_dc (float) – DC-bus voltage (V). If the DC-bus capacitor is modeled, this value is +

    • u_dc (float) – DC-bus voltage (V). If the DC-bus capacitor is modeled, this value is used as the initial condition.

    • -
    • C_dc (float, optional) – DC-bus capacitance (F). The default is None.

    • +
    • C_dc (float, optional) – DC-bus capacitance (F). The default is None.

    • i_dc (callable, optional) – External current (A) fed to the DC bus. Needed if C_dc is not None.

    @@ -1334,11 +1297,6 @@

    Package ContentsDrive.post_process()

  • -
  • DriveWithDiodeBridge -
  • DriveWithLCFilter @@ -589,11 +589,11 @@

    Package Contents
    Parameters:
      -
    • n_p (int) – Number of pole pairs.

    • -
    • R_s (float) – Stator resistance (Ω).

    • -
    • R_R (float) – Rotor resistance (Ω).

    • -
    • L_sgm (float) – Leakage inductance (H).

    • -
    • L_M (float) – Magnetizing inductance (H).

    • +
    • n_p (int) – Number of pole pairs.

    • +
    • R_s (float) – Stator resistance (Ω).

    • +
    • R_R (float) – Rotor resistance (Ω).

    • +
    • L_sgm (float) – Leakage inductance (H).

    • +
    • L_M (float) – Magnetizing inductance (H).

    @@ -625,11 +625,11 @@

    Package Contents
    Parameters:
      -
    • n_p (int) – Number of pole pairs.

    • -
    • R_s (float) – Stator resistance (Ω).

    • -
    • R_r (float) – Rotor resistance (Ω).

    • -
    • L_ell (float) – Leakage inductance (H).

    • -
    • L_s (float | callable) – Stator inductance (H).

    • +
    • n_p (int) – Number of pole pairs.

    • +
    • R_s (float) – Stator resistance (Ω).

    • +
    • R_r (float) – Rotor resistance (Ω).

    • +
    • L_ell (float) – Leakage inductance (H).

    • +
    • L_s (float | callable) – Stator inductance (H).

    @@ -660,11 +660,11 @@

    Package Contents
    Parameters:
      -
    • U (float) – Voltage (V, rms, line-line).

    • -
    • I (float) – Current (A, rms).

    • -
    • f (float) – Frequency (Hz).

    • -
    • P (float) – Power (W).

    • -
    • tau (float, optional) – Torque (Nm). The default value is None.

    • +
    • U (float) – Voltage (V, rms, line-line).

    • +
    • I (float) – Current (A, rms).

    • +
    • f (float) – Frequency (Hz).

    • +
    • P (float) – Power (W).

    • +
    • tau (float, optional) – Torque (Nm). The default value is None.

    @@ -681,7 +681,7 @@

    Package Contents @@ -701,11 +701,11 @@

    Package Contents
    Parameters:
      -
    • n_p (int) – Number of pole pairs.

    • -
    • R_s (float) – Stator resistance (Ω).

    • -
    • L_d (float) – d-axis inductance (H).

    • -
    • L_q (float) – q-axis inductance (H).

    • -
    • psi_f (float) – Permanent-magnet flux linkage (Vs).

    • +
    • n_p (int) – Number of pole pairs.

    • +
    • R_s (float) – Stator resistance (Ω).

    • +
    • L_d (float) – d-axis inductance (H).

    • +
    • L_q (float) – q-axis inductance (H).

    • +
    • psi_f (float) – Permanent-magnet flux linkage (Vs).

    @@ -718,11 +718,11 @@

    Package Contents
    Parameters:
      -
    • J_M (float) – Motor moment of inertia (kgm²).

    • -
    • J_L (float) – Load moment of inertia (kgm²).

    • -
    • K_S (float) – Shaft torsional stiffness (Nm/rad).

    • -
    • C_S (float) – Shaft torsional damping (Nm/(rad/s)).

    • -
    • B_L (float | callable) – Friction coefficient (Nm/(rad/s)) that can be constant, corresponding +

    • J_M (float) – Motor moment of inertia (kgm²).

    • +
    • J_L (float) – Load moment of inertia (kgm²).

    • +
    • K_S (float) – Shaft torsional stiffness (Nm/rad).

    • +
    • C_S (float) – Shaft torsional damping (Nm/(rad/s)).

    • +
    • B_L (float | callable) – Friction coefficient (Nm/(rad/s)) that can be constant, corresponding to viscous friction, or an arbitrary function of the load speed. For example, choosing B_L = lambda w_L: k*abs(w_M) leads to the quadratic load torque k*w_L**2. The default is B_L = 0.

    • @@ -745,8 +745,8 @@

      Package Contents
      Parameters:
        -
      • fname (str) – MATLAB file name.

      • -
      • add_negative_q_axis (bool, optional) – Adds the negative q-axis data based on the symmetry.

      • +
      • fname (str) – MATLAB file name.

      • +
      • add_negative_q_axis (bool, optional) – Adds the negative q-axis data based on the symmetry.

      Returns:
      diff --git a/docs/autoapi/motulator/grid/control/index.html b/docs/autoapi/motulator/grid/control/index.html index 781d1604..c1bd27d6 100644 --- a/docs/autoapi/motulator/grid/control/index.html +++ b/docs/autoapi/motulator/grid/control/index.html @@ -556,13 +556,13 @@

      Package Contents
      Parameters:
      -

      max_i (float) – Maximum current (A).

      +

      max_i (float) – Maximum current (A).

      Returns:

      Limited signal.

      Return type:
      -

      complex

      +

      complex

    @@ -598,9 +598,9 @@

    Package Contents
    Parameters:
      -
    • C_dc (float) – DC-bus capacitance (F).

    • -
    • alpha_dc (float) – Approximate closed-loop bandwidth (rad/s).

    • -
    • max_p (float, optional) – Limit for the maximum converter power (W). The default is inf.

    • +
    • C_dc (float) – DC-bus capacitance (F).

    • +
    • alpha_dc (float) – Approximate closed-loop bandwidth (rad/s).

    • +
    • max_p (float, optional) – Limit for the maximum converter power (W). The default is inf.

    @@ -620,16 +620,16 @@

    Package Contents
    Parameters:
      -
    • ref_y (float) – Reference signal.

    • -
    • y (float) – Feedback signal.

    • -
    • u_ff (float, optional) – Feedforward signal. The default is 0.

    • +
    • ref_y (float) – Reference signal.

    • +
    • y (float) – Feedback signal.

    • +
    • u_ff (float, optional) – Feedforward signal. The default is 0.

    Returns:

    u – Controller output.

    Return type:
    -

    float

    +

    float

    @@ -639,14 +639,14 @@

    Package Contents
    class motulator.grid.control.GridConverterControlSystem(T_s)[source]#
    -

    Bases: motulator.common.control.ControlSystem, abc.ABC

    +

    Bases: motulator.common.control.ControlSystem, abc.ABC

    Base class for control of grid-connected converters.

    This base class provides typical functionalities for control of grid-connected converters. This can be used both in power control and DC-bus voltage control modes.

    Parameters:
    -

    T_s (float) – Sampling period (s).

    +

    T_s (float) – Sampling period (s).

    @@ -836,13 +836,13 @@

    Package Contents
    Parameters:
      -
    • L (float) – Inductance (H).

    • -
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • -
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • -
    • max_i (float) – Maximum current (A), peak value.

    • -
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    • -
    • alpha_c (float, optional) – Current-control bandwidth (rad/s). The default is 2*pi*400.

    • -
    • alpha_pll (float, optional) – PLL frequency-tracking bandwidth (rad/s). The default is 2*pi*20.

    • +
    • L (float) – Inductance (H).

    • +
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • +
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • +
    • max_i (float) – Maximum current (A), peak value.

    • +
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    • +
    • alpha_c (float, optional) – Current-control bandwidth (rad/s). The default is 2*pi*400.

    • +
    • alpha_pll (float, optional) – PLL frequency-tracking bandwidth (rad/s). The default is 2*pi*20.

    @@ -902,16 +902,16 @@

    Package Contents
    Parameters:
      -
    • L (float) – Total inductance.

    • -
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • -
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • -
    • max_i (float) – Maximum current (A), peak value.

    • -
    • R (float, optional) – Total series resistance (Ω). The default is 0.

    • -
    • R_a (float, optional) – Active resistance (Ω). The default is 0.25*nom_u/max_i.

    • -
    • k_v (float, optional) – Voltage control gain. The default is alpha_o/nom_w.

    • -
    • alpha_c (float, optional) – Current control bandwidth (rad/s). The default is 2*pi*400.

    • -
    • alpha_o (float, optional) – Observer gain (rad/s). The default is 2*pi*50.

    • -
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    • +
    • L (float) – Total inductance.

    • +
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • +
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • +
    • max_i (float) – Maximum current (A), peak value.

    • +
    • R (float, optional) – Total series resistance (Ω). The default is 0.

    • +
    • R_a (float, optional) – Active resistance (Ω). The default is 0.25*nom_u/max_i.

    • +
    • k_v (float, optional) – Voltage control gain. The default is alpha_o/nom_w.

    • +
    • alpha_c (float, optional) – Current control bandwidth (rad/s). The default is 2*pi*400.

    • +
    • alpha_o (float, optional) – Observer gain (rad/s). The default is 2*pi*50.

    • +
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    @@ -926,9 +926,9 @@

    Package Contents
    Parameters:
      -
    • alpha_pll (float) – Frequency-tracking bandwidth (rad/s).

    • -
    • abs_u_g0 (float) – Initial value for the grid voltage estimate (V).

    • -
    • w_g0 (float) – Initial value for the grid angular frequency estimate (rad/s).

    • +
    • alpha_pll (float) – Frequency-tracking bandwidth (rad/s).

    • +
    • abs_u_g0 (float) – Initial value for the grid voltage estimate (V).

    • +
    • w_g0 (float) – Initial value for the grid angular frequency estimate (rad/s).

    @@ -994,13 +994,13 @@

    Package Contents
    Parameters:
      -
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • -
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • -
    • max_i (float) – Maximum current (A), peak value.

    • -
    • R (float, optional) – Total series resistance (Ω). The default is 0.

    • -
    • R_a (float, optional) – Active resistance (Ω). The default is 0.25*nom_u/max_i.

    • -
    • w_b (float, optional) – Low-pass filter bandwidth (rad/s). The default is 2*pi*5.

    • -
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    • +
    • nom_u (float) – Nominal grid voltage (V), line-to-neutral peak value.

    • +
    • nom_w (float) – Nominal grid angular frequency (rad/s).

    • +
    • max_i (float) – Maximum current (A), peak value.

    • +
    • R (float, optional) – Total series resistance (Ω). The default is 0.

    • +
    • R_a (float, optional) – Active resistance (Ω). The default is 0.25*nom_u/max_i.

    • +
    • w_b (float, optional) – Low-pass filter bandwidth (rad/s). The default is 2*pi*5.

    • +
    • T_s (float, optional) – Sampling period (s). The default is 100e-6.

    diff --git a/docs/autoapi/motulator/grid/model/index.html b/docs/autoapi/motulator/grid/model/index.html index f61ba2ab..901f8799 100644 --- a/docs/autoapi/motulator/grid/model/index.html +++ b/docs/autoapi/motulator/grid/model/index.html @@ -568,8 +568,8 @@

    Package Contents
    Parameters:
      -
    • N (int, optional) – Amount of the counter quantization levels. The default is 2**12.

    • -
    • return_complex (bool, optional) – Complex switching state space vectors are returned if True. Otherwise +

    • N (int, optional) – Amount of the counter quantization levels. The default is 2**12.

    • +
    • return_complex (bool, optional) – Complex switching state space vectors are returned if True. Otherwise phase switching states are returned. The default is True.

    @@ -804,7 +804,7 @@

    Package Contents
    Parameters:
    -

    name (str, optional) – Name for the simulation instance. The default is sim.

    +

    name (str, optional) – Name for the simulation instance. The default is sim.

    @@ -816,8 +816,8 @@

    Package Contents
    Parameters:
      -
    • t_stop (float, optional) – Simulation stop time. The default is 1.

    • -
    • max_step (float, optional) – Max step size of the solver. The default is inf.

    • +
    • t_stop (float, optional) – Simulation stop time. The default is 1.

    • +
    • max_step (float, optional) – Max step size of the solver. The default is inf.

    @@ -840,12 +840,12 @@

    Package Contents
    Parameters:
      -
    • w_g (float | callable) – Angular frequency (rad/s).

    • -
    • abs_e_g (float | callable) – Magnitude of the positive-sequence component (peak value).

    • -
    • phi (float | callable, optional) – Phase shift (rad) of the positive-sequence component. The default is 0.

    • -
    • abs_e_g_neg (float | callable, optional) – Magnitude of the negative-sequence component (peak value). The default +

    • w_g (float | callable) – Angular frequency (rad/s).

    • +
    • abs_e_g (float | callable) – Magnitude of the positive-sequence component (peak value).

    • +
    • phi (float | callable, optional) – Phase shift (rad) of the positive-sequence component. The default is 0.

    • +
    • abs_e_g_neg (float | callable, optional) – Magnitude of the negative-sequence component (peak value). The default is 0.

    • -
    • phi_neg (float | callable, optional) – Phase shift (rad) of the negative-sequence component. The default is 0.

    • +
    • phi_neg (float | callable, optional) – Phase shift (rad) of the negative-sequence component. The default is 0.

    @@ -892,9 +892,9 @@

    Package Contents
    Parameters:
      -
    • u_dc (float) – DC-bus voltage (V). If the DC-bus capacitor is modeled, this value is +

    • u_dc (float) – DC-bus voltage (V). If the DC-bus capacitor is modeled, this value is used as the initial condition.

    • -
    • C_dc (float, optional) – DC-bus capacitance (F). The default is None.

    • +
    • C_dc (float, optional) – DC-bus capacitance (F). The default is None.

    • i_dc (callable, optional) – External current (A) fed to the DC bus. Needed if C_dc is not None.

    diff --git a/docs/autoapi/motulator/grid/utils/index.html b/docs/autoapi/motulator/grid/utils/index.html index beb889bd..47a4af8f 100644 --- a/docs/autoapi/motulator/grid/utils/index.html +++ b/docs/autoapi/motulator/grid/utils/index.html @@ -492,14 +492,14 @@

    Package Contents
    Parameters:
      -
    • L_fc (float) – Converter-side filter inductance (H).

    • -
    • L_fg (float, optional) – Grid-side filter inductance (H). The default is 0.

    • -
    • C_f (float, optional) – Filter capacitance (F). The default is 0.

    • -
    • R_fc (float, optional) – Series resistance (Ω) of the converter-side inductor. The default is 0.

    • -
    • R_fg (float, optional) – Series resistance (Ω) of the grid-side inductor. The default is 0.

    • -
    • L_g (float, optional) – Grid inductance (H). The default is 0.

    • -
    • R_g (float, optional) – Grid resistance (Ω). The default is 0.

    • -
    • u_fs0 (float, optional) – Initial value of the filter capacitor voltage (V). Needed in the case +

    • L_fc (float) – Converter-side filter inductance (H).

    • +
    • L_fg (float, optional) – Grid-side filter inductance (H). The default is 0.

    • +
    • C_f (float, optional) – Filter capacitance (F). The default is 0.

    • +
    • R_fc (float, optional) – Series resistance (Ω) of the converter-side inductor. The default is 0.

    • +
    • R_fg (float, optional) – Series resistance (Ω) of the grid-side inductor. The default is 0.

    • +
    • L_g (float, optional) – Grid inductance (H). The default is 0.

    • +
    • R_g (float, optional) – Grid resistance (Ω). The default is 0.

    • +
    • u_fs0 (float, optional) – Initial value of the filter capacitor voltage (V). Needed in the case of an LCL filter.

    @@ -513,16 +513,16 @@

    Package Contents
    Parameters:
      -
    • u (float) – Voltage (V, peak, line-neutral).

    • -
    • i (float) – Current (A, peak).

    • -
    • w (float) – Angular frequency (rad/s).

    • -
    • psi (float) – Flux linkage (Vs).

    • -
    • p (float) – Power (W).

    • -
    • Z (float) – Impedance (Ω).

    • -
    • L (float) – Inductance (H).

    • -
    • C (float) – Capacitance (F).

    • -
    • tau (float, optional) – Torque (Nm). The default is None.

    • -
    • n_p (int, optional) – Number of pole pairs. The default is None.

    • +
    • u (float) – Voltage (V, peak, line-neutral).

    • +
    • i (float) – Current (A, peak).

    • +
    • w (float) – Angular frequency (rad/s).

    • +
    • psi (float) – Flux linkage (Vs).

    • +
    • p (float) – Power (W).

    • +
    • Z (float) – Impedance (Ω).

    • +
    • L (float) – Inductance (H).

    • +
    • C (float) – Capacitance (F).

    • +
    • tau (float, optional) – Torque (Nm). The default is None.

    • +
    • n_p (int, optional) – Number of pole pairs. The default is None.

    @@ -545,7 +545,7 @@

    Package Contentsint, optional) – Number of pole pairs. If not given it is assumed that base values +
  • n_p (int, optional) – Number of pole pairs. If not given it is assumed that base values for a grid converter are calculated. The default is None.

  • @@ -570,11 +570,11 @@

    Package Contents
    Parameters:
      -
    • U (float) – Voltage (V, rms, line-line).

    • -
    • I (float) – Current (A, rms).

    • -
    • f (float) – Frequency (Hz).

    • -
    • P (float) – Power (W).

    • -
    • tau (float, optional) – Torque (Nm). The default value is None.

    • +
    • U (float) – Voltage (V, rms, line-line).

    • +
    • I (float) – Current (A, rms).

    • +
    • f (float) – Frequency (Hz).

    • +
    • P (float) – Power (W).

    • +
    • tau (float, optional) – Torque (Nm). The default value is None.

    @@ -596,10 +596,10 @@

    Package ContentsSimulation) – Should contain the simulated data.

  • base (BaseValues, optional) – Base values for scaling the waveforms. If not given, plots the figures in SI units.

  • -
  • plot_pcc_voltage (bool, optional) – If True, the phase voltage waveforms are plotted at the point of common +

  • plot_pcc_voltage (bool, optional) – If True, the phase voltage waveforms are plotted at the point of common coupling (PCC). Otherwise, the grid voltage waveforms are plotted. The default is True.

  • -
  • plot_w (bool, optional) – If True, plot the grid frequency. Otherwise, plot the phase angle. The +

  • plot_w (bool, optional) – If True, plot the grid frequency. Otherwise, plot the phase angle. The default is False.

  • t_span (2-tuple, optional) – Time span. The default is (0, sim.ctrl.ref.t[-1]).

  • diff --git a/docs/control/control_system.html b/docs/control/control_system.html index cc9b315d..5a70877f 100644 --- a/docs/control/control_system.html +++ b/docs/control/control_system.html @@ -449,7 +449,7 @@

    Contents

    Common#

    Data Flow#

    -

    The two figures below show the structure and data flow in a typical simulation model as well as an example of the internal structure of a discrete-time control system. The text in italics refers to the default object names used in the software. In discrete-time control systems, the signals are collected into the following types.SimpleNamespace objects:

    +

    The two figures below show the structure and data flow in a typical simulation model as well as an example of the internal structure of a discrete-time control system. The text in italics refers to the default object names used in the software. In discrete-time control systems, the signals are collected into the following types.SimpleNamespace objects:

    • The object fbk contains feedback signals for the controllers. These signals can be measured quantities (such as the measured DC-bus voltage fbk.u_dc) as well as estimated quantities (such as the estimated stator flux linkage fbk.psi_s).

    • The object ref contains the reference signals, both externally provided (such as ref.w_m for the angular speed reference) and internally generated (such as ref.d_c_abc for the duty ratios).

    • diff --git a/docs/drive_examples/flux_vector/plot_flux_vector_im_2kw.html b/docs/drive_examples/flux_vector/plot_flux_vector_im_2kw.html index f132aed4..3a0db4d7 100644 --- a/docs/drive_examples/flux_vector/plot_flux_vector_im_2kw.html +++ b/docs/drive_examples/flux_vector/plot_flux_vector_im_2kw.html @@ -490,7 +490,7 @@

      2.2-kW induction motor

      plot(sim, base)
       
      -plot flux vector im 2kw

      Total running time of the script: (0 minutes 9.833 seconds)

      +plot flux vector im 2kw

      Total running time of the script: (0 minutes 10.133 seconds)