Hi Jeremy,

You can use a ChLinkTSDA element which allows you to provide your own function 
for specifying the force generated by that element. See 
ChLinkTSDA::ForceFunctor or look at demo_MBS_spring for an example.

Now, the question is how you would use this with a vehicle suspension 
subsystem. Are you using one of the existing suspension templates or defined 
your own?  If the former, the problem is that you may not have access to the 
suspension bodies you would need to connect (and so this would require a 
modification of the corresponding template to expose those). Alternatively, you 
can overwrite the force calculation function of the existing spring or shock 
TSDAs.

To make a long story short, please give a few more details, including which 
suspension template you are working with (or if you intend this to be a general 
capability that could work with any suspension template).

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Jeremy Kimball
Sent: Thursday, March 9, 2023 4:28 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] PyChrono Active Suspension

Hello,

I am attempting to implement an active suspension in PyChrono, and how to go 
about doing so is not immediately obvious to me. I would like to specify an 
active suspension force and have that force applied in parallel with the spring 
and damper in the suspension subsystem.

Any advice on how best to achieve this would be greatly appreciated

Thanks,

Jeremy
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/78d5034e-1bf2-43d9-99aa-4b5d2b599120n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/78d5034e-1bf2-43d9-99aa-4b5d2b599120n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB8237945F8F6050F843EFF85BA7899%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to