CityLearn 2.4.1__tar.gz → 2.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/PKG-INFO +1 -1
- {CityLearn-2.4.1 → CityLearn-2.4.2}/PKG-INFO +1 -1
- CityLearn-2.4.2/citylearn/__init__.py +1 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/building.py +0 -4
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/citylearn.py +3 -1
- CityLearn-2.4.1/citylearn/__init__.py +0 -1
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/SOURCES.txt +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/dependency_links.txt +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/entry_points.txt +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/requires.txt +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/CityLearn.egg-info/top_level.txt +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/LICENSE +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/MANIFEST.in +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/README.md +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/__main__.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/__init__.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/base.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/marlisa.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/q_learning.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/rbc.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/rlc.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/agents/sac.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-0-charge-0.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-0-charge-1.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-0-charge-2.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-0-charge-3.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-1-charge-0.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-1-charge-1.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-1-charge-2.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/building-1-charge-3.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/glow.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/assets/grid.png +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/base.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/cost_function.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/data.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/dynamics.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/electric_vehicle.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/electric_vehicle_charger.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/__init__.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/clustering.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/__init__.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/model.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/model_generation.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/model_generation_wrapper.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/preprocessing.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/neighborhood.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/simulate.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/energy_model.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/create_zone_metadata.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_citylearn_energy_simulation.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_citylearn_weather.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_ideal_loads.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_lstm_training_data.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_zone_conditioning_metadata.sql +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/settings.yaml +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/occupant.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/power_outage.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/preprocessing.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/reward_function.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/rl.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/__init__.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_battery.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_electric_vehicle.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_electric_vehicle_charger.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_pv.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_washing_machine.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/tests/test_weather.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/utilities.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/wrappers.py +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/setup.cfg +0 -0
- {CityLearn-2.4.1 → CityLearn-2.4.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CityLearn
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.2
|
|
4
4
|
Summary: An open source Farama Foundation Gymnasium environment for benchmarking distributed energy resource control algorithms to provide energy flexibility in a district of buildings.
|
|
5
5
|
Home-page: https://github.com/intelligent-environments-lab/CityLearn
|
|
6
6
|
Author: Jose Ramon Vazquez-Canteli, Kingsley Nweye, Zoltan Nagy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CityLearn
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.2
|
|
4
4
|
Summary: An open source Farama Foundation Gymnasium environment for benchmarking distributed energy resource control algorithms to provide energy flexibility in a district of buildings.
|
|
5
5
|
Home-page: https://github.com/intelligent-environments-lab/CityLearn
|
|
6
6
|
Author: Jose Ramon Vazquez-Canteli, Kingsley Nweye, Zoltan Nagy
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '2.4.2'
|
|
@@ -1356,8 +1356,6 @@ class Building(Environment):
|
|
|
1356
1356
|
|
|
1357
1357
|
except NotImplementedError:
|
|
1358
1358
|
pass
|
|
1359
|
-
|
|
1360
|
-
self.update_variables()
|
|
1361
1359
|
|
|
1362
1360
|
def update_cooling_demand(self, action: float):
|
|
1363
1361
|
"""Update space cooling demand for current time step."""
|
|
@@ -2243,8 +2241,6 @@ class Building(Environment):
|
|
|
2243
2241
|
self.__chargers_electricity_consumption = np.zeros(self.episode_tracker.episode_time_steps, dtype='float32')
|
|
2244
2242
|
self.__washing_machines_electricity_consumption = np.zeros(self.episode_tracker.episode_time_steps, dtype='float32')
|
|
2245
2243
|
|
|
2246
|
-
self.update_variables()
|
|
2247
|
-
|
|
2248
2244
|
def reset_power_outage_signal(self) -> np.ndarray:
|
|
2249
2245
|
"""Resets power outage signal time series.
|
|
2250
2246
|
|
|
@@ -10,7 +10,6 @@ from gymnasium import Env, spaces
|
|
|
10
10
|
import csv
|
|
11
11
|
import shutil
|
|
12
12
|
import datetime
|
|
13
|
-
from itertools import zip_longest
|
|
14
13
|
import numpy as np
|
|
15
14
|
import pandas as pd
|
|
16
15
|
import random
|
|
@@ -1454,6 +1453,9 @@ class CityLearnEnv(Environment, Env):
|
|
|
1454
1453
|
return self.observations, self.get_info()
|
|
1455
1454
|
|
|
1456
1455
|
def update_variables(self):
|
|
1456
|
+
for b in self.buildings:
|
|
1457
|
+
b.update_variables()
|
|
1458
|
+
|
|
1457
1459
|
# net electricity consumption
|
|
1458
1460
|
self.__net_electricity_consumption.append(sum([b.net_electricity_consumption[self.time_step] for b in self.buildings]))
|
|
1459
1461
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '2.4.1'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/model_generation.py
RENAMED
|
File without changes
|
|
File without changes
|
{CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/end_use_load_profiles/lstm_model/preprocessing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_citylearn_energy_simulation.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CityLearn-2.4.1 → CityLearn-2.4.2}/citylearn/misc/queries/select_zone_conditioning_metadata.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|