Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting a function from one subsystem template and importing in to another subsystem template

Status
Not open for further replies.

ichbinpulkit

Automotive
Aug 25, 2023
20
0
0
DE
Hi there,

my objective is to export the magnitude of rack travel from steering subsystem and importing it into the suspension subsystem, in order to move my actuator based on the imported data.
What options do I have?
I have tried creating state variable and exporting it through communicator, but didn't go as expected.

VG
Pulkit
 
Replies continue below

Recommended for you

Solution:

1. Input the data in a state variable through function/subroutine. Use an Output communicator of type: 'solver variable' from Template 1.
2. Create an Input communicator of type: 'solver variable' in Template 2 the input this value again in a State Variable. Observe, there are two input communicator built:
cos_sample and [highlight #FCE94F]cos_sample_adams_id[/highlight] , we well use the highlighted one for the input in state variable.
You have it then.

Viele Grüße
Pulkit Sharma
 
Status
Not open for further replies.
Back
Top