CVT + KERS device
5 posts • Page 1 of 1
CVT + KERS device
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
Automatic CVT code:
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
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...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: CVT + KERS device
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.
-
Nxdt - Posts: 1019
- Joined: Mon Aug 31, 2009 6:32 pm
- Location: Scotland!
Re: CVT + KERS device
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...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: CVT + KERS device
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
-
Nxdt - Posts: 1019
- Joined: Mon Aug 31, 2009 6:32 pm
- Location: Scotland!
Re: CVT + KERS device
nice scene but one simple question:
Where to put your code on? i'd test it at the console menu and it failed.
Where to put your code on? i'd test it at the console menu and it failed.
waiting for semester break to come...
-
faytree - Posts: 947
- Joined: Mon Nov 05, 2012 1:37 pm
- Location: Selangor, Malaysia
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest