Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import matplotlib.pyplot as plt
- pjm_data = pd.read_table('http://www.pjm.com/pub/account/loadhryr/2018.txt',
- delimiter =',')
- day_df = pjm_data[pjm_data.DAY=='08/09/18']
- #%%
- fig, ax = plt.subplots()
- ax.plot((day_df.HOUR/100.0 - 1.0), day_df.PJME, c='k', linewidth=2)
- ax.set_xlim([0, 23])
- ax.set_xlabel('Hour of Day', fontsize=12)
- ax.set_ylabel('System Load [MW]', fontsize=12)
- ax.set_title('PJM Mid-Atlantic Region, 08/09/18', fontweight='bold')
- fig.tight_layout()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement