-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation source update detected and pushed compilation build dir…
…ectory for Github Pages
- Loading branch information
1 parent
0191376
commit 0d31eee
Showing
1,218 changed files
with
1,633 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 137a891d2d5b45bed16d16e7680fc03b | ||
config: 94fd5ce6ebddb88bdaf7f80bfdd4b19f | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
235 changes: 235 additions & 0 deletions
235
docs/compilation/main/.doctrees/nbsphinx/pages/notebooks/logging_unused_variables.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Logging unusued variables" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Until version v3.3.2 of *Sinergym*, all variables monitored using the *LoggerWrapper* had to be present in the observation space. This presents a drawback when we want to monitor certain aspects of the simulation that are not used in the optimization process (in other words, that are not present in the environment's observation space), it would be impossible.\n", | ||
"\n", | ||
"Including extra variables that are not directly part of the observation space requires certain internal changes that break the minimalist structure of the classes that make up the tool.\n", | ||
"\n", | ||
"This notebook explains the correct way to do it, which is available from *Sinergym* v3.3.3. It involves the use of [ReduceObservationWrapper](https://ugr-sail.github.io/sinergym/compilation/main/pages/wrappers.html#reduceobservationwrapper) in combination with [LoggerWrapper](https://ugr-sail.github.io/sinergym/compilation/main/pages/wrappers.html#loggerwrapper).\n", | ||
"\n", | ||
"The idea is to define all the variables we want, whether they are part of the final observation space or not, and monitor everything with the LoggerWrapper, to later add a layer that removes the desired variables from the observation space (when they would already be monitored, which is our goal)." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"#==============================================================================================#\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Creating Gymnasium environment... [5zone-hot-continuous-stochastic-v1]\u001b[0m\n", | ||
"#==============================================================================================#\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Experiment working directory created [/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2]\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Model Config is correct.\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Updated building model with whole Output:Variable available names\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Updated building model with whole Output:Meter available names\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : runperiod established: {'start_day': 1, 'start_month': 1, 'start_year': 1991, 'end_day': 31, 'end_month': 12, 'end_year': 1991, 'start_weekday': 0, 'n_steps_per_hour': 4}\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Episode length (seconds): 31536000.0\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : timestep size (seconds): 900.0\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : timesteps per episode: 35040\u001b[0m\n", | ||
"\u001b[38;20m[REWARD] (INFO) : Reward function initialized.\u001b[0m\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Environment 5zone-hot-continuous-stochastic-v1 created successfully.\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER NormalizeAction] (INFO) : New normalized action Space: Box(-1.0, 1.0, (2,), float32)\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER NormalizeAction] (INFO) : Wrapper initialized\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER NormalizeObservation] (INFO) : Wrapper initialized.\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER LoggerWrapper] (INFO) : Wrapper initialized.\u001b[0m\n", | ||
"###########################################################################\n", | ||
"Old observation space shape: 17\n", | ||
"Old observation variables: ['month', 'day_of_month', 'hour', 'outdoor_temperature', 'outdoor_humidity', 'wind_speed', 'wind_direction', 'diffuse_solar_radiation', 'direct_solar_radiation', 'htg_setpoint', 'clg_setpoint', 'air_temperature', 'air_humidity', 'people_occupant', 'co2_emission', 'HVAC_electricity_demand_rate', 'total_electricity_HVAC']\n", | ||
"###########################################################################\n", | ||
"\u001b[38;20m[WRAPPER ReduceObservationWrapper] (INFO) : Wrapper initialized.\u001b[0m\n", | ||
"###########################################################################\n", | ||
"Wrapped observation space shape: 14\n", | ||
"Wrapped observation variables: ['month', 'day_of_month', 'hour', 'wind_speed', 'wind_direction', 'diffuse_solar_radiation', 'direct_solar_radiation', 'htg_setpoint', 'clg_setpoint', 'air_humidity', 'people_occupant', 'co2_emission', 'HVAC_electricity_demand_rate', 'total_electricity_HVAC']\n", | ||
"###########################################################################\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import gymnasium as gym\n", | ||
"import numpy as np\n", | ||
"\n", | ||
"import sinergym\n", | ||
"from sinergym.utils.wrappers import (\n", | ||
" LoggerWrapper,\n", | ||
" NormalizeAction,\n", | ||
" NormalizeObservation,\n", | ||
" ReduceObservationWrapper)\n", | ||
"\n", | ||
"# Creating environment and applying wrappers for normalization and logging\n", | ||
"env = gym.make('Eplus-5zone-hot-continuous-stochastic-v1')\n", | ||
"env = NormalizeAction(env)\n", | ||
"env = NormalizeObservation(env)\n", | ||
"env = LoggerWrapper(env)\n", | ||
"print('###########################################################################')\n", | ||
"print('Old observation space shape: ',env.observation_space.shape[0])\n", | ||
"print('Old observation variables: ',env.get_wrapper_attr('observation_variables'))\n", | ||
"print('###########################################################################')\n", | ||
"env = ReduceObservationWrapper(env, obs_reduction=['outdoor_temperature','outdoor_humidity','air_temperature'])\n", | ||
"print('###########################################################################')\n", | ||
"print('Wrapped observation space shape: ',env.observation_space.shape[0])\n", | ||
"print('Wrapped observation variables: ',env.get_wrapper_attr('observation_variables'))\n", | ||
"print('###########################################################################')\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"The order of the wrappers is important. By applying normalization first, for example, we ensure that this transformation is subsequently monitored. As we apply the Logger before reducing the observation space, we also record these variables before they are removed from the observations. If we left the logger for the end, these variables would not be recorded. This can be verified by reviewing the generated `monitor.csv` files.\n", | ||
"\n", | ||
"Let's review the info dictionary to see these normalized variables that are no longer in `obs`:" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 4, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"\u001b[38;20m[WRAPPER LoggerWrapper] (INFO) : End of episode detected, recording summary (progress.csv) if logger is active\u001b[0m\n" | ||
] | ||
}, | ||
{ | ||
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"/usr/local/lib/python3.10/dist-packages/numpy/core/fromnumeric.py:3504: RuntimeWarning: Mean of empty slice.\n", | ||
" return _methods._mean(a, axis=axis, dtype=dtype,\n", | ||
"/usr/local/lib/python3.10/dist-packages/numpy/core/_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide\n", | ||
" ret = ret.dtype.type(ret / rcount)\n" | ||
] | ||
}, | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"#----------------------------------------------------------------------------------------------#\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Starting a new episode... [5zone-hot-continuous-stochastic-v1] [Episode 2]\u001b[0m\n", | ||
"#----------------------------------------------------------------------------------------------#\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Episode directory created [/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2/Eplus-env-sub_run2]\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Weather file USA_AZ_Davis-Monthan.AFB.722745_TMY3.epw used.\u001b[0m\n", | ||
"\u001b[38;20m[MODELING] (INFO) : Adapting weather to building model. [USA_AZ_Davis-Monthan.AFB.722745_TMY3.epw]\u001b[0m\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Saving episode output path... [/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2/Eplus-env-sub_run2/output]\u001b[0m\n", | ||
"\u001b[38;20m[SIMULATOR] (INFO) : Running EnergyPlus with args: ['-w', '/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2/Eplus-env-sub_run2/USA_AZ_Davis-Monthan.AFB.722745_TMY3_Random_1.0_0.0_0.001.epw', '-d', '/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2/Eplus-env-sub_run2/output', '/workspaces/sinergym/examples/Eplus-env-5zone-hot-continuous-stochastic-v1-res2/Eplus-env-sub_run2/5ZoneAutoDXVAV.epJSON']\u001b[0m\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Episode 2 started.\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER NormalizeObservation] (INFO) : Saving normalization calibration data... [5zone-hot-continuous-stochastic-v1]\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER LoggerWrapper] (INFO) : Creating monitor.csv for current episode (episode 2) if logger is active\u001b[0m\n" | ||
] | ||
}, | ||
{ | ||
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"/usr/local/lib/python3.10/dist-packages/opyplus/weather_data/weather_data.py:493: FutureWarning: the 'line_terminator'' keyword is deprecated, use 'lineterminator' instead.\n", | ||
" epw_content = self._headers_to_epw(use_datetimes=use_datetimes) + df.to_csv(\n", | ||
"/usr/local/lib/python3.10/dist-packages/gymnasium/core.py:311: UserWarning: \u001b[33mWARN: env.name to get variables from other wrappers is deprecated and will be removed in v1.0, to get this variable you can do `env.unwrapped.name` for environment variables or `env.get_wrapper_attr('name')` that will search the reminding wrappers.\u001b[0m\n", | ||
" logger.warn(\n", | ||
"/usr/local/lib/python3.10/dist-packages/gymnasium/spaces/box.py:240: UserWarning: \u001b[33mWARN: Casting input x to numpy array.\u001b[0m\n", | ||
" gym.logger.warn(\"Casting input x to numpy array.\")\n" | ||
] | ||
}, | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"###########################################################################\n", | ||
"Reset observation length: 14\n", | ||
"Removed variables info: {'outdoor_temperature': 0.9948461020148158, 'outdoor_humidity': -0.9935016762419474, 'air_temperature': -0.6942300884545833}\n", | ||
"###########################################################################\n", | ||
"\u001b[38;20m[SIMULATOR] (INFO) : handlers are ready.\u001b[0m\n", | ||
"\u001b[38;20m[SIMULATOR] (INFO) : System is ready.\u001b[0m\n", | ||
"###########################################################################\n", | ||
"Reset observation length: 14\n", | ||
"Removed variables info: {'outdoor_temperature': -0.09010209798427844, 'outdoor_humidity': 0.7044684403339807, 'air_temperature': 0.8821502704407667}\n", | ||
"###########################################################################\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"obs, info = env.reset()\n", | ||
"print('###########################################################################')\n", | ||
"print('Reset observation length: ',len(obs))\n", | ||
"print('Removed variables info: ',info['removed_observation'])\n", | ||
"print('###########################################################################')\n", | ||
"\n", | ||
"a = env.action_space.sample()\n", | ||
"obs, _, _, _, info = env.step(a)\n", | ||
"print('###########################################################################')\n", | ||
"print('Reset observation length: ',len(obs))\n", | ||
"print('Removed variables info: ',info['removed_observation'])\n", | ||
"print('###########################################################################')" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Note that even if we remove a variable that is used in the reward function, as this value is used in the core of the environment (before any wrapper), it works perfectly." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 5, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"\u001b[38;20m[WRAPPER LoggerWrapper] (INFO) : End of episode, recording summary (progress.csv) if logger is active\u001b[0m\n", | ||
"\u001b[38;20m[ENVIRONMENT] (INFO) : Environment closed. [5zone-hot-continuous-stochastic-v1]\u001b[0m\n", | ||
"\u001b[38;20m[WRAPPER NormalizeObservation] (INFO) : Saving normalization calibration data... [5zone-hot-continuous-stochastic-v1]\u001b[0m\n" | ||
] | ||
}, | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"Progress: |***************************************************************************************************| 99%\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"env.close()" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.10.12" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/API-reference.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/deep-reinforcement-learning.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/environments_registration.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/extra-configuration.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/github-actions.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.config.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.config.modeling.ModelJSON.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.config.modeling.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.envs.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.envs.eplus_env.EplusEnv.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.envs.eplus_env.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.simulators.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.simulators.eplus.EnergyPlus.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.simulators.eplus.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.callbacks.LoggerCallback.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pilation/main/.doctrees/pages/modules/sinergym.utils.callbacks.LoggerEvalCallback.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.callbacks.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...main/.doctrees/pages/modules/sinergym.utils.common.convert_conf_to_env_parameters.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...mpilation/main/.doctrees/pages/modules/sinergym.utils.common.eppy_element_to_dict.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ion/main/.doctrees/pages/modules/sinergym.utils.common.export_schedulers_to_excel.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.common.get_delta_seconds.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.get_ids.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.get_record_keys.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.is_wrapped.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.common.json_to_actuators.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.json_to_meters.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.common.json_to_variables.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.ranges_getter.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.common.unwrap_wrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../.doctrees/pages/modules/sinergym.utils.constants.DEFAULT_5ZONE_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...trees/pages/modules/sinergym.utils.constants.DEFAULT_DATACENTER_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...trees/pages/modules/sinergym.utils.constants.DEFAULT_OFFICEGRID_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
....doctrees/pages/modules/sinergym.utils.constants.DEFAULT_OFFICE_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...doctrees/pages/modules/sinergym.utils.constants.DEFAULT_RADIANT_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/.doctrees/pages/modules/sinergym.utils.constants.DEFAULT_SHOP_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ctrees/pages/modules/sinergym.utils.constants.DEFAULT_WAREHOUSE_DISCRETE_FUNCTION.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.constants.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.controllers.RBC5Zone.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...compilation/main/.doctrees/pages/modules/sinergym.utils.controllers.RBCDatacenter.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../main/.doctrees/pages/modules/sinergym.utils.controllers.RBCIncrementalDatacenter.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pilation/main/.doctrees/pages/modules/sinergym.utils.controllers.RandomController.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.controllers.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.env_checker.check_env.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.env_checker.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.evaluation.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ompilation/main/.doctrees/pages/modules/sinergym.utils.evaluation.evaluate_policy.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../.doctrees/pages/modules/sinergym.utils.gcloud.delete_instance_MIG_from_container.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.gcloud.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...tion/main/.doctrees/pages/modules/sinergym.utils.gcloud.get_service_account_token.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ompilation/main/.doctrees/pages/modules/sinergym.utils.gcloud.init_storage_client.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.gcloud.read_from_bucket.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.gcloud.upload_to_bucket.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.logger.CSVLogger.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.logger.CustomFormatter.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.logger.Logger.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.logger.WandBOutputFormat.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.logger.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.rewards.BaseReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.rewards.ExpReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ompilation/main/.doctrees/pages/modules/sinergym.utils.rewards.HourlyLinearReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.rewards.LinearReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...lation/main/.doctrees/pages/modules/sinergym.utils.rewards.NormalizedLinearReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.rewards.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.DatetimeWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/main/.doctrees/pages/modules/sinergym.utils.wrappers.DiscreteIncrementalWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.DiscretizeEnv.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...mpilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.IncrementalWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.LoggerWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.MultiObjectiveReward.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.MultiObsWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.NormalizeAction.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.NormalizeObservation.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...odules/sinergym.utils.wrappers.OfficeGridStorageSmoothingActionConstraintsWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/main/.doctrees/pages/modules/sinergym.utils.wrappers.PreviousObservationWrapper.doctree
Binary file not shown.
Binary file added
BIN
+64.7 KB
...ion/main/.doctrees/pages/modules/sinergym.utils.wrappers.ReduceObservationWrapper.doctree
Binary file not shown.
Binary file modified
BIN
+1.21 KB
(110%)
docs/compilation/main/.doctrees/pages/modules/sinergym.utils.wrappers.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/basic_example.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/change_environment.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/default_building_control.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/drl.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/getting_env_information.doctree
Binary file not shown.
Binary file added
BIN
+60.8 KB
docs/compilation/main/.doctrees/pages/notebooks/logging_unused_variables.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/personalize_loggerwrapper.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/rule_controller_example.doctree
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/notebooks/wrappers_examples.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
docs/compilation/main/.doctrees/pages/usage-example.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/_sources/pages/modules/sinergym.utils.wrappers.NormalizeObservation.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
..._sources/pages/modules/sinergym.utils.wrappers.ReduceObservationWrapper.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
sinergym.utils.wrappers.ReduceObservationWrapper | ||
================================================ | ||
|
||
.. currentmodule:: sinergym.utils.wrappers | ||
|
||
.. autoclass:: ReduceObservationWrapper | ||
:members: | ||
:undoc-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~ReduceObservationWrapper.__init__ | ||
~ReduceObservationWrapper.class_name | ||
~ReduceObservationWrapper.close | ||
~ReduceObservationWrapper.get_wrapper_attr | ||
~ReduceObservationWrapper.render | ||
~ReduceObservationWrapper.reset | ||
~ReduceObservationWrapper.step | ||
~ReduceObservationWrapper.wrapper_spec | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~ReduceObservationWrapper.action_space | ||
~ReduceObservationWrapper.logger | ||
~ReduceObservationWrapper.metadata | ||
~ReduceObservationWrapper.np_random | ||
~ReduceObservationWrapper.observation_space | ||
~ReduceObservationWrapper.render_mode | ||
~ReduceObservationWrapper.reward_range | ||
~ReduceObservationWrapper.spec | ||
~ReduceObservationWrapper.unwrapped | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
docs/compilation/main/_sources/pages/notebooks/logging_unused_variables.nblink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"path": "../../../../examples/logging_unused_variables.ipynb" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.