-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorporate plots again (sim.py) #57
Comments
Hey Raiyan! Just a few notes on things I've found in simulation.py, and which I've also talked about with Kostubh. I probably won't write these changes myself since both you and Kostubh are working on the file, and I don't wanna make the git merging too complicated.
Regarding drag: I noticed there's another open issue in this repo with a team member saying they'll work on making the drag function more accurate? Do we know if that's been completed? I'm also noticing that battery capacity (40Ah/cell * 3.63V/cell * 36cells) is not being actually used to cap the battery power in the current version of the repo, but I think I saw that Kostubh has a fixed version of that on his own machine, so we're probably good there. As for rolling resistance, Forest only gave us a single coefficient, so we might have to ask him how exactly he got that value. The formula we're using right now is from Pudney's paper ("Optimal energy management for solar-powered cars") and requires two rolling resistance coefficients, so we might have to double-check if those two (C_R1 = 0.004, C_R2 = 0.052) are good enough for our car or if we should try and use Forest's value somehow instead. We might also want to question where exactly Pudney is getting his equation, as I can't seem to find it anywhere else online. This website (https://www.engineeringtoolbox.com/rolling-friction-resistance-d_1303.html) seems to suggest we can calculate the coefficient of rolling resistance from speed and tire pressure. Tire pressure according to Forrest is 500kPa by the data sheet.
That's everything I've thought of by tinkering with simulation.py while figuring out irradiance.py. Hopefully you can implement them, but if not I can write some changes in once you're done with your commit! Hope this helps. |
i removed plots for succintness and ability to run scipy optimizer. this was not a necessary step. find a way to re-incorporate plotting functionality into repo.
The text was updated successfully, but these errors were encountered: