Model: The model was intuitively decomposed into the following blocks: crane, control and sensors. The crane object consists of the crane- mechanics and the DC-motor. The mechanics of linear and nonlinear systems, as well as the DC-motor were implemented plainly using given equations. The control block generates voltage for the motor and switches on/off brakes, whereby discretisation is implemented by triggering the block with the sampling time. This object receives information about car status and car desired position. The sensors object implements checking and control of any emergency modes.
Model: The model was intuitively decomposed into the following blocks: crane, control and sensors. The crane object consists of the crane- mechanics and the DC-motor. The mechanics of linear and nonlinear systems, as well as the DC-motor were implemented plainly using given equations. The control block generates voltage for the motor and switches on/off brakes, whereby discretisation is implemented by triggering the block with the sampling time. This object receives information about car status and car desired position. The sensors object implements checking and control of any emergency modes.