From ff8d0c0cb4e16560f295bb4da03ea1aff3d472bd Mon Sep 17 00:00:00 2001 From: "Bruchon, Matthew" Date: Tue, 21 Jan 2025 19:04:58 -0500 Subject: [PATCH] Update sim_manager.py --- python/altrios/sim_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/altrios/sim_manager.py b/python/altrios/sim_manager.py index 0163224..c3da423 100644 --- a/python/altrios/sim_manager.py +++ b/python/altrios/sim_manager.py @@ -137,6 +137,7 @@ def main( 'Arrival_Time_Actual_Hr': pl.Series([this[len(this)-1].time_hours for this in timed_paths], dtype=pl.Float64)} ) + train_consist_plan_untrimmed = train_consist_plan.clone() train_consist_plan = (train_consist_plan .join(train_times,on=["Train_ID","Origin_ID","Destination_ID"],how="left") ) @@ -165,4 +166,5 @@ def main( nodal_energy_prices, train_sims, timed_paths, + train_consist_plan_untrimmed )