CVT + KERS device

Discuss scenes and videos made with Algodoo.

CVT + KERS device

Postby Kilinich » Wed Feb 06, 2013 12:02 pm

During AMBT contest testing I faced with low power problem. 1000hp engine is too weak to make enough thrust for 50-tons tank sometimes. So why don't accumulate it?
It's not against the rules -)

Heavy spinning wheels holds up to 6,5kW-h of energy
On activation gives additional 70kNm for a few seconds to transmission. Wow :mrgreen:

Rating: rated 5
Filesize: 106.21 kB
Comments: 7
Ratings: 1
download


Automatic CVT code:

Code: Select all
//Gearbox body
_abs = (x) => {x < 0 ? -x : x};
_outAV = 0;
_minR = 0.05;
_maxR = 0.25;
_L = 0.395;
_optAV = 30; //optimal engine Angvel
_R = {_abs(_outAV/_optAV)};
_inR = {clamp(_L / (_R + 1),_minR,_maxR)};
_outR = {clamp(_L - _L / (_R + 1),_L - _maxR, _L - _minR)};

//Load gear hinge  5206
_gearbox = {scene.entityByGeomID((readabel(owner)).geom1)};
_gear = {scene.entityByGeomID((readabel(owner)).geom0)};
_newR = {_gear.radius = _gearbox._outR};
_reportAV = {_gearbox._outAV = _gear.angVel};
ccw = {_reportAV; _newR; false}

//Engine gear hinge
_gearbox = {scene.entityByGeomID((readabel(owner)).geom1)};
_gear = {scene.entityByGeomID((readabel(owner)).geom0)};
_newR = {_gear.radius = _gearbox._inR};
ccw = {_newR; false};
Last edited by Kilinich on Fri Feb 08, 2013 10:07 am, edited 1 time in total.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: CVT + KERS device

Postby Nxdt » Thu Feb 07, 2013 12:44 am

Technically its not a KER device, since It does not recover energy, it is just a flywheel with a CVT. I was testing the use of a large direct drive flywheel on my entry to give the engine more inertia to help with hills, seemed to work well and with a high inertia multiplier the engine has limitless power because it does not slow down. You might want to look at the rules about this. ;)
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!

Re: CVT + KERS device

Postby Kilinich » Thu Feb 07, 2013 9:07 am

Nxdt wrote:You might want to look at the rules about this. ;)

um, yes, it's not KERS it's more like kinetic energy accumulator.
Talking about flywheels, inertiaMultiplyer is not allowed, it's break physics law (technically, it could be up to 2 for some geoms but not more).
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: CVT + KERS device

Postby Nxdt » Thu Feb 07, 2013 9:57 pm

Kilinich wrote:Talking about flywheels, inertiaMultiplyer is not allowed, it's break physics law (technically, it could be up to 2 for some geoms but not more).


Ahh, probably should have read the rules :P
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!

Re: CVT + KERS device

Postby faytree » Sat Feb 09, 2013 1:53 am

nice scene but one simple question:
Where to put your code on? i'd test it at the console menu and it failed.
waiting for semester break to come...
User avatar
faytree
 
Posts: 947
Joined: Mon Nov 05, 2012 1:37 pm
Location: Selangor, Malaysia


Return to Scenes

Who is online

Users browsing this forum: No registered users and 3 guests

cron