- Index
- » Programming
- » Modelica Language
- » Development of a "simple"...
Development of a "simple" transmission with shiftable gears
Development of a "simple" transmission with shiftable gears
Hi Modelica Community,
I am developing a simple drive train model in which, in a first step, I wanted to integrate an easy transmission block. Gears should be shiftable, inertias and losses don't matter and so I came up with this idea:
-----------------------------------------------------------------------------------
equation
i = ecu_bus.transmission_simple_i;
tau_a = flange_a.tau;
tau_b = -flange_b.tau;
phi_a = flange_a.phi;
phi_b = flange_b.phi;
w_a = der(phi_a);
w_b = der(phi_b);
w_b = w_a / i;
tau_b = tau_a * i;
-----------------------------------------------------------------------------------
Unfortunately this system doesn't behave the way I want it to. If I shift a gear between two rotating inertias, the ratio of the in and output velocity is changed, but no forces act, which is simply wrong.
Can I fix this problem somehow? Or is is simply wrong to set the derivates of a physical state in a relation?
Thanks for any help !
Cheers,
T
- Index
- » Programming
- » Modelica Language
- » Development of a "simple"...