Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

driveline_active in adams car template ?

Status
Not open for further replies.

alok_singh

Automotive
Mar 7, 2024
12
I've been creating a front suspension in Adams template from scratch, and while doing so, I came across something named driveline_active and driveline_inactive. Looking into standard templates further reveals that they are simply a collection of components, communicators, and joints that provide active suspension.
But while looking at the expression to make them active, I was unable to grasp the expression ((._double_wishbone.phs_driveline_active ||._double_wishbone.model_class == "template"? 1: 0) && DB_ACTIVE(._double_wishbone)). Even the documentation is not clear. So if anyone knows anything about this, please help.

Thanks
Alok
 
Replies continue below

Recommended for you

First Question: Do you have a driveline in your template?
If yes, you can directly give it mount communicators and use it, you are not forced to use the driveline active/unactive switch.
If you need a switch, you need to create it using Group.
Checkout the Group in the double_wishbone Template from ACAR. It makes sense for ACAR to have a switch which is controlled by GUI and with PVS in background, because a huge diversity of people uses these templates.

Viele Grüße
Pulkit Sharma
 
yes my template have driveline in it & I know I can make it active/inactive either changing the parameter driveline_line. my doubt is what the expression mentioned above means. I know "||" this means logical or and "&&" this is logical. But what does (._double_wishbone.phs_driveline_active ||._double_wishbone.model_class == "template"? 1: 0) this means?

Thanks
Alok
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor