×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adams/Simulink Co-Simulation

Adams/Simulink Co-Simulation

Adams/Simulink Co-Simulation

(OP)
Hello

I'm really thankful for my questions being answered here in Adams (Automotive) so fast and immaculately .

i'm implementing 4 hydraulic cylinders on the suspension of a car and intend Adams and Simulink to co-simulate ...

my question here is that :

I intend to co-simulate a model in Adams/Car and MATLAB/Simulink/Simscape ...

I know that i need to define state variables first ...

1- The problem is that i don't know how to define state variables in Adams/Car and i looked everywhere in the tabs and found nary a thing ...


2- I even tried Importing my model to Adams/Template Builder so i can define state variables but the only way that i can take that model to Adams/Template Builder is via import/export and when i do that the Build Tab is hidden and i can't change a thing ....

3- also when i import the model to adams view , my springs and dampers disappear ...

Would you please help ...

RE: Adams/Simulink Co-Simulation

Greetings.
To create a state variable in Adams Сar is possible. (Build - System Elements - State Variable - New). You are saying that there is a problem with importing / exporting files. The first thing I can offer, if you haven't tried it yet, switch to the "Adams View Interface" and try to create it in the usual way via the top menu. Or simply without creating anything, return to the Template Builder mode. The "Build" tab should become active. And yes, could you clarify in which format you are trying to import the file? (.cmd, .x_t or something else?)

RE: Adams/Simulink Co-Simulation

(OP)
thank very much you for your answer ...

sorry that I didn't clarify …

when I said I didn't know how to create a "state variable" in Adams/Car I ment in "the standard interface" … i know how to create one in adams template builder …

so I should rectify my questions :

1- to create state variables in Adams standard interface , I must switch to template builder or Adams/view Interface … so I don't have any other way to do it in the standard interface itself ???


2- when I did what you implied the following error comes up while importing to Adams/car template builder :

ERROR: ---------------------------------------------------------------------
ERROR: Error detected on line number 24973, character 31 of a.cmd.
ERROR: The Function 'SYMMETRY' already exists.
ERROR: The command was not executed.
ERROR: &> function_name = .SYMMETRY &
ERROR: ---------------------------------------------------------------------

however when i did what you said about switching to adams view the problem with the springs and damperswas solved ... ( thanks )

is it a fatal error and is it going to make troubles in the future full-car runs ??? ( my file format is cmd )

thank you very much

sorry for my many questions and not being transparent enough as always ...

RE: Adams/Simulink Co-Simulation

Other ways to create a variable are available. Alternatively, use the Tools menu - Command Navigator - data_element - create - variable.
Regarding the error “... ERROR: The Function 'SYMMETRY' already exists. ERROR: The command was not executed .... &. ". If you have a function called SYMMETRY, then try renaming it. Perhaps a similar function is provided in the default adams, so a conflict occurs.

RE: Adams/Simulink Co-Simulation

(OP)
thank you very much …

great answer

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources

eBook - Efficient and Effective Production Support with 3D Printed Jigs and Fixtures
Jigs and fixtures offer manufacturers a reliable process for delivering accurate, high-quality outcomes, whether for a specific part or feature, or for consistency across multiples of parts. Although the methodologies and materials for producing jigs and fixtures have evolved beyond the conventional metal tooling of years past, their position as a manufacturing staple remains constant due to the benefits they offer. Download Now
Overcoming Cutting Tool Challenges in Aerospace Machining
Aerospace manufacturing has always been on the cutting edge, from materials to production techniques. However, these two aspects of aerospace machining can conflict, as manufacturers strive to maintain machining efficiency with new materials by using new methods and cutting tools. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close