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

add vehicleType to carrier load analysis #3621

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ void writeLoadPerVehicle(String analysisOutputDirectory, Scenario scenario) thro

//Write headline:
bw1.write(String.join(delimiter,"vehicleId",
"vehicleTypeId",
"capacity",
"maxLoad",
"load state during tour"));
Expand All @@ -109,6 +110,7 @@ void writeLoadPerVehicle(String analysisOutputDirectory, Scenario scenario) thro
final Double capacity = vehicleType.getCapacity().getOther();

bw1.write(vehicleId.toString());
bw1.write(delimiter + vehicleType.getId().toString());
bw1.write(delimiter + capacity);
bw1.write(delimiter + maxLoad);
bw1.write(delimiter + load);
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
vehicleId capacity maxLoad load state during tour
vehicleId vehicleTypeId capacity maxLoad load state during tour
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
vehicleId capacity maxLoad load state during tour
freight_carrier1_veh_freight_carrier1_veh_heavyVehicle_1_1 50.0 26 [3, 8, 18, 25, 26, 23, 13, 12, 7, 0]
vehicleId vehicleTypeId capacity maxLoad load state during tour
freight_carrier1_veh_freight_carrier1_veh_heavyVehicle_1_1 heavy 50.0 26 [3, 8, 18, 25, 26, 23, 13, 12, 7, 0]
Loading