Currently, ResidualCapacity.py generates ResidualCapacity.csv and OperationalLife.csv. This is because variables created when making OperationalLife.csv are needed to make ResidualCapacity.csv. We could have ResidualCapacity.py rely upon a new OperationalLife.py file that does its work separately.
Currently, ResidualCapacity.py generates ResidualCapacity.csv and OperationalLife.csv. This is because variables created when making OperationalLife.csv are needed to make ResidualCapacity.csv. We could have ResidualCapacity.py rely upon a new OperationalLife.py file that does its work separately.
For example, the data from the variable opLife are used in both the Operational Life and Residual Capacity parts of ResidualCapacity.py. https://github.com/DeltaE/Canada-U.S.-ElecTrade/blob/3873057f2135adea61c5c2f56621f084233067ca/scripts/ResidualCapacity.py#L39-L44