Skip to content

Commit 9e12c8d

Browse files
committed
Update documentation
1 parent 781ede9 commit 9e12c8d

File tree

200 files changed

+1985
-430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+1985
-430
lines changed
Binary file not shown.

docs/_downloads/1901236edeea2d2b57c3aeb0455fdb6c/plot_vhz_ctrl_im_2kw.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"\n# 2.2-kW induction motor, diode bridge\n\nA diode bridge, stiff three-phase grid, and a DC link is modeled. The default\nparameters in this example yield open-loop V/Hz control.\n"
7+
"\n# 2.2-kW induction motor, diode bridge\n\nA diode bridge, stiff three-phase grid, and a DC link is modeled. The default\nparameters in this example yield open-loop V/Hz control. \n"
88
]
99
},
1010
{
@@ -51,7 +51,7 @@
5151
},
5252
"outputs": [],
5353
"source": [
54-
"# Machine model, using its inverse-\u0393 parameters\nmdl_ig_par = InductionMachineInvGammaPars(\n n_p=2, R_s=3.7, R_R=2.1, L_sgm=.021, L_M=.224)\nmdl_par = InductionMachinePars.from_inv_gamma_model_pars(mdl_ig_par)\nmachine = model.InductionMachine(mdl_par)\n# Mechanical subsystem with the quadratic load torque profile\nk = 1.1*nom.tau/(base.w/base.n_p)**2\nmechanics = model.StiffMechanicalSystem(J=.015, B_L=lambda w_M: k*np.abs(w_M))\n\n# Frequency converter with a diode bridge\nfrequency_converter = model.FrequencyConverter(\n C_dc=235e-6, L_dc=2e-3, U_g=nom.U, f_g=nom.f)\nmdl = model.Drive(\n converter=frequency_converter, machine=machine, mechanics=mechanics)\n\nmdl.pwm = model.CarrierComparison() # Enable the PWM model"
54+
"# Machine model, using its inverse-\u0393 parameters\nmdl_ig_par = InductionMachineInvGammaPars(\n n_p=2, R_s=3.7, R_R=2.1, L_sgm=.021, L_M=.224)\nmdl_par = InductionMachinePars.from_inv_gamma_model_pars(mdl_ig_par)\nmachine = model.InductionMachine(mdl_par)\n# Mechanical subsystem with the quadratic load torque profile\nk = 1.1*nom.tau/(base.w/base.n_p)**2\nmechanics = model.StiffMechanicalSystem(J=.015, B_L=lambda w_M: k*np.abs(w_M))\n\n# Frequency converter with a diode bridge\nfrequency_converter = model.FrequencyConverter(\n C_dc=235e-6, L_dc=2e-3, U_g=nom.U, f_g=nom.f)\nmdl = model.Drive(\n converter=frequency_converter, machine=machine, mechanics=mechanics)\nmdl.pwm = model.CarrierComparison() # Enable the PWM model"
5555
]
5656
},
5757
{
@@ -87,7 +87,7 @@
8787
},
8888
"outputs": [],
8989
"source": [
90-
"ctrl.ref.w_m = lambda t: (t > .2)*base.w\n\n# Stepwise load torque at t = 1 s, 20% of the rated torque\nmdl.mechanics.tau_L = lambda t: (t > 1.)*.2*nom.tau"
90+
"ctrl.ref.w_m = lambda t: (t > .2)*base.w\n\n# Stepwise load torque at t = 1 s, 20% of the rated torque\nmdl.mechanics.tau_L = lambda t: (t > 1)*.2*nom.tau"
9191
]
9292
},
9393
{
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)