Exporting a function from one subsystem template and importing in to another subsystem template
Exporting a function from one subsystem template and importing in to another subsystem template
(OP)
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
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
RE: Exporting a function from one subsystem template and importing in to another subsystem template
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 cos_sample_adams_id , we well use the highlighted one for the input in state variable.
You have it then.
Viele Grüße
Pulkit Sharma