WOLFRAM SYSTEM MODELER
    ClockedWithDiscreteControllerSimple controlled drive with discrete controller (period is used in the controller)  | 
     | 
SystemModel["Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController"]

Simple controlled drive with discrete-timer controller modelled as a clocked partition. The discrete-time PI controller is parameterized with the parameters of the continuous-time version and the discrete-time version is derived from this parameterization taken into account the actual sample period.
| load | 
         Type: Inertia Description: 1D-rotational component with inertia  | 
    |
|---|---|---|
| speed | 
         Type: SpeedSensor Description: Ideal sensor to measure the absolute flange angular velocity  | 
    |
| ramp | 
         Type: Ramp Description: Generate ramp signal  | 
    |
| feedback | 
         Type: Feedback Description: Output difference between commanded and feedback input  | 
    |
| torque | 
         Type: Torque Description: Input signal acting as external torque on a flange  | 
    |
| sample2 | 
         Type: SampleClocked Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal  | 
    |
| hold1 | 
         Type: Hold Description: Hold the clocked, Real input signal and provide it as continuous-time output signal (zero order hold)  | 
    |
| sample1 | 
         Type: Sample Description: Sample the continuous-time, Real input signal and provide it as clocked output signal (clock is inferred)  | 
    |
| PI | 
         Type: PI Description: Discrete-time PI controller with clocked input and output signals (for periodic and aperiodic systems using the parameterization of the continuous PI controller)  | 
    |
| periodicClock | 
         Type: PeriodicRealClock Description: Generates a periodic clock signal with a period defined by a Real number  |