Trike model with one leg work


I want to model a trike that only one leg exert force to one side of crank and also one spring emeded on other side will store portion of force energy as first side working and and will exert its force when first side is in relax condition, i modeled trike but i couldn’t model the spring in one side with that condition.
please help me?
how can i that?


there is actually an example in the REpository called BikeSPring. ther eis a spring attached to the pedal. Have a look there!