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

[openTEPES] Changing the format of the load levels #144

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
43ac75b
Update all setting up files
erikfilias Aug 29, 2022
4996d01
Create __init__.py
erikfilias Aug 29, 2022
2aa1268
Create README.md
erikfilias Aug 29, 2022
437ae1b
Create Create_openTEPES_RTS-GMLC.py
erikfilias Aug 29, 2022
9a95086
Create 1-parse-SourceData-to-Dictionaries.py
erikfilias Aug 29, 2022
9ebcd77
Update Create_openTEPES_RTS-GMLC.py
erikfilias Aug 30, 2022
f4c4ea8
Update 1-parse-SourceData-to-Dictionaries.py
erikfilias Aug 30, 2022
c6e47a9
Update __init__.py
erikfilias Aug 30, 2022
985d5af
Update all
erikfilias Aug 30, 2022
b544423
Update all
erikfilias Aug 30, 2022
a34597d
Update all
erikfilias Aug 30, 2022
52b9c09
Update SourceDataToDictionaries.py
erikfilias Aug 30, 2022
82eaefd
Update all
erikfilias Aug 30, 2022
cbae213
Create oT_Dict_Technology_RTS-GMLC.csv
erikfilias Aug 30, 2022
fdb3d99
Update __init__.py
erikfilias Aug 30, 2022
9931788
Create SourceDataToData.py
erikfilias Aug 30, 2022
6b5a72f
Update SourceDataToDictionaries.py
erikfilias Aug 30, 2022
b1490e3
Update SourceDataToData.py
erikfilias Aug 30, 2022
976b03e
Updating all
erikfilias Aug 31, 2022
9102158
update all
erikfilias Aug 31, 2022
b36cc25
Update SourceDataToData.py
erikfilias Sep 1, 2022
5b0ae83
Update all
erikfilias Sep 1, 2022
a4996e9
Update all
erikfilias Sep 1, 2022
81448c1
Update all
erikfilias Sep 1, 2022
28f9e21
Update all
erikfilias Sep 1, 2022
3cf3dea
Update all
erikfilias Sep 1, 2022
096007f
Update SourceDataToData.py
erikfilias Sep 1, 2022
db81db0
Update all
erikfilias Sep 1, 2022
86ff1b1
Update all
erikfilias Sep 1, 2022
bd30f22
Update SourceDataToData.cpython-39.pyc
erikfilias Sep 1, 2022
48ecdbe
Update all
erikfilias Sep 1, 2022
11fcaf0
Update all
erikfilias Sep 2, 2022
0155831
Update oT_Data_Parameter_RTS-GMLC.csv
erikfilias Sep 2, 2022
2ab0df1
Update README.md
erikfilias Sep 2, 2022
afb241c
Update README.md
erikfilias Sep 2, 2022
20b55a7
Delete .gitignore
erikfilias Sep 2, 2022
ec779db
Delete RTS-GMLC.iml
erikfilias Sep 2, 2022
612bf1d
Delete profiles_settings.xml
erikfilias Sep 2, 2022
29cf2ba
Delete misc.xml
erikfilias Sep 2, 2022
eaafa1a
Delete modules.xml
erikfilias Sep 2, 2022
deb424a
Delete vcs.xml
erikfilias Sep 2, 2022
afcdc54
Change the format of the load levels
erikfilias Sep 20, 2022
042483f
Merge remote-tracking branch 'upstream/master' into openTEPES_parser
erikfilias Sep 20, 2022
e550727
Fixing
erikfilias Sep 20, 2022
c069838
Delete RTS-GMLC.zip
erikfilias Sep 20, 2022
de804ad
Remove .idea folder
erikfilias Sep 28, 2022
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
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/RTS-GMLC.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ def GettingDataTo_oTData(_path_data, _path_file, CaseName):
pNomDemand_org = pNomDemand_org.set_index(['Bus ID'])

# Defining load levels
df_load.Period = df_load.Period - 1
df_load['Month' ] = df_load.Month.map("{:02}".format)
df_load['Day' ] = df_load.Day.map("{:02}".format)
df_load['Period' ] = df_load.Period.map("{:02}".format)
LoadLevels = [str(df_load['Month'][i])+str(df_load['Day'][i])+str(df_load['Period'][i]) for i in df_load.index]
LoadLevels = [str(df_load['Month'][i])+'-'+str(df_load['Day'][i])+' '+str(df_load['Period'][i]+":00:00+01:00") for i in df_load.index]
df_load['LoadLevel'] = pd.DataFrame({'LoadLevel': LoadLevels})

# Getting load factors per area
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ def GettingDataTo_oTDict(_path_data, _path_file, CaseName):
pLineType.to_frame(name='LineType').to_csv(_path_file + '/RTS-GMLC/oT_Dict_Line_' + CaseName + '.csv', sep=',', index=False)

# Defining load levels
df_TS_CSP.Period = df_TS_CSP.Period-1
df_TS_CSP['Month' ] = df_TS_CSP.Month.map("{:02}".format)
df_TS_CSP['Day' ] = df_TS_CSP.Day.map("{:02}".format)
df_TS_CSP['Period'] = df_TS_CSP.Period.map("{:02}".format)
LoadLevels = [str(df_TS_CSP['Month'][i])+str(df_TS_CSP['Day'][i])+str(df_TS_CSP['Period'][i]) for i in df_TS_CSP.index]
LoadLevels = [str(df_TS_CSP['Month'][i])+'-'+str(df_TS_CSP['Day'][i])+' '+str(df_TS_CSP['Period'][i]+":00:00+01:00") for i in df_TS_CSP.index]
pLoadLevels = pd.DataFrame({'LoadLevel': LoadLevels})
pLoadLevels.to_csv(_path_file + '/RTS-GMLC/oT_Dict_LoadLevel_' + CaseName + '.csv', sep=',', index=False)

Expand Down
Binary file not shown.
Binary file not shown.
17,568 changes: 8,784 additions & 8,784 deletions RTS_Data/FormattedData/openTEPES/RTS-GMLC/oT_Data_Demand_RTS-GMLC.csv

Large diffs are not rendered by default.

Loading