-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLoadCEFleet.py
More file actions
17 lines (15 loc) · 864 Bytes
/
LoadCEFleet.py
File metadata and controls
17 lines (15 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#Michael Craig
#Jan 25, 2017
#Loads CE fleet w/out retired units for given year for input to UC model
from AuxFuncs import *
import os,csv
################################################################################
####### LOAD CE FLEET FOR UC YEAR ##############################################
################################################################################
def loadCEFleet(year,resultsDir):
fleetFileName = 'genFleetCEtoUC' + str(year) + '.csv'
genFleetNoRetiredUnits = readCSVto2dList(os.path.join(resultsDir,'CEtoUC',fleetFileName))
return genFleetNoRetiredUnits
################################################################################
################################################################################
################################################################################