7/24/2010

GT-SUITE Simulink Coupling Tutorials

http://www.cadfamily.com/downinfo/300279.html

TUTORIAL 1: Coupling with Simulink The purpose of this tutorial is to show how to create and run a GT-SUITE/Simulink coupled simulation. It is assumed that the reader has basic knowledge of how MATLAB and Simulink operate. A 4-cylinder SI engine model, similar to the one created in Tutorial 4 for GT-POWER, will be controlled through the throttle so that the Brake Torque follows a desired profile.

Although this tutorial focuses on coupling a GT-POWER model with Simulink, the procedure is essentially identical for all other GT-SUITE products. Before going further, the reader is strongly encouraged to read the Advanced Simulation Topics Chapter in the User's Manual in order to ensure that all the installation prerequisites for coupling with Simulink have been met. 1.1 Building the GT-SUITE Model Launch GT-ISE and open the file /tutorials/SimulinkCoupling/01-Simulink/4cylSI-begin.gtm and save it as GTandSimulink.gtm. Drag the 'SensorConn' (including its def object), the 'ActuatorConn' (including its def object) and the 'SimulinkHarness' templates from the Control folder of the template library into the GTandSimulink.gtm file. Create two SensorConn parts on the map near to the EngineCrankTrain using the def object.

Connect from the EngineCrankTrain part to each of the SensorConn parts. For the first SensorConn part, select Avg. Brake Torque from the Output Signal Editor window that is displayed when the connection is made. For the second SensorConn part, select the Crank Angle. Create an ActuatorConn part, using the def object, on the map in line with the throttle. Finally create a SimulinkHarness part with the attributes shown in the following figure. Ensure the check box next to ??Exact Synchronization with Simulink?? is marked; other parameters for the SimulinkHarness can be set to their defaults. The map should now look like the image below.

No comments: