Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Miscalculation of Rotational Kinetic Energy, Curvature Energy Loss, and Auxiliary Energy Demand
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Thu, 15 Oct 2020 21:53:25 +0200
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-dev>
  • List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Hi,
thanks for the report and sorry for the delay. Unfortunately we have
several places in the code which calculate energies. I suppose you are
referring to HelpersEnergy::compute
https://github.com/eclipse/sumo/blob/master/src/utils/emissions/HelpersEnergy.cpp#L57
?
This function seems to have some problems indeed not only the ones you
mention but in total it should return power and not energy because the
time scaling is done outside the function when used as an emission
model. For the battery device however energy is expected. Sorry for the
hassle, it is now tracked here: https://github.com/eclipse/sumo/issues/7695

Thanks again for finding out!

Best regards,
Michael

Am 11.10.20 um 06:40 schrieb Burford Furman:
> Hello,
> 
> We are running SUMO ver 1.6.0 under Windows 10, and we just discovered
> that the SUMO source code is calculating the Rotational Kinetic Energy,
> the Curvature Energy Loss, and the Constant Auxiliary Energy Demand
> incorrectly. The SUMO documentation lists the correct equations, but for
> some reason the source code is not correct in ver 1.6.0. Our findings
> are summarized below:
> 
> image.png
> 
> image.png
> 
> Thank you.
> 
> Burford Furman
> 
> -- 
> ************************************************************************************
> Burford J. Furman
> Professor
> Department of Mechanical Engineering
> San Jose State University
> One Washington Square
> San Jose, CA 95192-0087
> Phone: (408) 924-3817 Email: Burford.Furman@xxxxxxxx
> <mailto:Burford.Furman@xxxxxxxx>
> Web page: http://www.sjsu.edu/people/burford.furman/
> <http://www.engr.sjsu.edu/bjfurman/>
> ************************************************************************************
> "We must remember that intelligence is not enough. Intelligence plus
> character--that is the goal of true education." - Dr. Martin Luther King
> Jr., 1947
> 
> "/Instrumental or mechanical science
> is the noblest and above all others, the most useful.../" - Leonardo da
> Vinci
> 
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top