.Credibility.Examples.SimpleControlledDriveNonlinear.PartialDrive

Information

This is a simple drive train consisting of the following elements:

Typically, a controller is designed to compute the motor torque, from the measured motor speed and a provided reference speed of the motor (= reference speed of the load, because the gear ratio is one). Furthermore, an external torque might be applied on the load inertia.

All the significant parameters of the drive train are provided via the record instance data containing the values of the parameters, as well as information about the credibility of the parameters.

Initialization

The initialization is a bit tricky. The goal is to initialize in steady state because initial transients are then no longer present. However, this depends on the controller that is generating the motor torque. Furthermore, when exporting the model as FMU, the FMU must be also reasonably initialized. Since this partial model has four states (e.g., inertiaLoad.phi, inertiaLoad.w, damper.phi_rel and damper.w_rel), four initial conditions have to be provided. Typically, the user is interested in the load position/speed, not in the motor position/speed. Therefore, the following initialization is defined:


Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos