Skip to content
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

Fix/drag coeff func #94

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Fix/drag coeff func #94

wants to merge 8 commits into from

Conversation

sakhtar312
Copy link
Collaborator

Opening up a pull request to integrate the changes in train_planner.py. Main summary of the changes are as follows:

  • Platoon drag is defined as a callable function argument in TrainPlannerConfig class. Necessary changes are made in run_train_planner.py to accommodate the change and the new implementation has been tested.
  • Necessary changes are made in the script to adhere to the new rail_vehicle structure.
  • Ensured that sim_manager_demo.py runs with the new 'rail_vehicle' structure.


"""

## From slide 16 of the Aerodynamic model PPT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sakhtar312 , if possible let's change this to a publicly referenceable source

Arguments:
---------
num_rail_vehicles: int - Number of rail vehicles in the platoon
ps_gap_size: float - Gap size between the rail vehicles
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sakhtar312 , make this more generic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants