prices change

This commit is contained in:
chenxiaodong 2024-06-21 16:15:07 +08:00
parent 3916538728
commit 128892281c
5 changed files with 8771 additions and 8764 deletions

View File

@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4"> <module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="rl-microgrid" jdkType="Python SDK" /> <orderEntry type="jdk" jdkName="Remote Python 3.9.18 (sftp://chenxd@124.16.151.196:22121/home/chenxd/miniconda3/envs/grid/bin/python3.9)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="PyDocumentationSettings"> <component name="PyDocumentationSettings">

View File

@ -31,6 +31,13 @@
</Attribute> </Attribute>
</value> </value>
</entry> </entry>
<entry key="\data\processed_prices.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="\data\station.csv"> <entry key="\data\station.csv">
<value> <value>
<Attribute> <Attribute>

View File

@ -3,5 +3,5 @@
<component name="Black"> <component name="Black">
<option name="sdkName" value="rl-microgrid" /> <option name="sdkName" value="rl-microgrid" />
</component> </component>
<component name="ProjectRootManager" version="2" project-jdk-name="rl-microgrid" project-jdk-type="Python SDK" /> <component name="ProjectRootManager" version="2" project-jdk-name="Remote Python 3.9.18 (sftp://chenxd@124.16.151.196:22121/home/chenxd/miniconda3/envs/grid/bin/python3.9)" project-jdk-type="Python SDK" />
</project> </project>

File diff suppressed because it is too large Load Diff

View File

@ -159,7 +159,7 @@ class ESSEnv(gym.Env):
temperature_df = pd.read_csv('data/temper.csv', sep=',') temperature_df = pd.read_csv('data/temper.csv', sep=',')
wind_df = pd.read_csv('data/wind.csv', sep=',') wind_df = pd.read_csv('data/wind.csv', sep=',')
price = price_df['Price'].to_numpy(dtype=float) price = price_df['price'].to_numpy(dtype=float)
load = load_df['houseload'].to_numpy(dtype=float) load = load_df['houseload'].to_numpy(dtype=float)
irradiance = irradiance_df['irradiance'].to_numpy(dtype=float) irradiance = irradiance_df['irradiance'].to_numpy(dtype=float)
temperature = temperature_df['t2m'].to_numpy(dtype=float) temperature = temperature_df['t2m'].to_numpy(dtype=float)