Skip to content

Commit

Permalink
Documentation source update detected and pushed compilation build dir…
Browse files Browse the repository at this point in the history
…ectory for Github Pages
  • Loading branch information
AlejandroCN7 authored and github-actions[bot] committed May 26, 2023
1 parent a41a61a commit 1150c47
Show file tree
Hide file tree
Showing 4,323 changed files with 14,046 additions and 7,829 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file modified docs/compilation/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/compilation/doctrees/index.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"collapsed": false
Expand All @@ -10,6 +11,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"collapsed": true,
Expand All @@ -25,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {
"collapsed": false,
"pycharm": {
Expand All @@ -38,11 +40,11 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[2023-02-09 11:00:27,049] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating idf ExternalInterface object if it is not present...\n",
"[2023-02-09 11:00:27,050] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating idf Site:Location and SizingPeriod:DesignDay(s) to weather and ddy file...\n",
"[2023-02-09 11:00:27,052] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating idf OutPut:Variable and variables XML tree model for BVCTB connection.\n",
"[2023-02-09 11:00:27,053] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Setting up extra configuration in building model if exists...\n",
"[2023-02-09 11:00:27,054] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Setting up action definition in building model if exists...\n"
"[2023-05-25 09:33:37,986] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating Building model ExternalInterface object if it is not present...\n",
"[2023-05-25 09:33:37,987] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating Building model Site:Location and SizingPeriod:DesignDay(s) to weather and ddy file...\n",
"[2023-05-25 09:33:37,989] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Updating building model OutPut:Variable and variables XML tree model for BVCTB connection.\n",
"[2023-05-25 09:33:37,989] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Setting up extra configuration in building model if exists...\n",
"[2023-05-25 09:33:37,989] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Setting up action definition in building model if exists...\n"
]
}
],
Expand All @@ -55,6 +57,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"collapsed": false,
Expand All @@ -64,14 +67,14 @@
},
"source": [
"At first glance may appear that sinergym is only imported but never used, but by importing Sinergym all its [Environments](https://ugr-sail.github.io/sinergym/compilation/html/pages/environments.html)\n",
"are defined to be used, in this case 'Eplus-demo-v1' with all the information contained in the idf file and the config file.\n",
"are defined to be used, in this case 'Eplus-demo-v1' with all the information contained in the building file and the config file.\n",
"\n",
"After this simple definition we are ready to loop the episodes, for this simple example we are going to consider only 1 episode. In summary the code we need is something like this:"
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {
"collapsed": false,
"pycharm": {
Expand All @@ -84,21 +87,35 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[2023-02-09 11:00:30,139] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Creating new EnergyPlus simulation episode...\n",
"[2023-02-09 11:00:30,146] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:EnergyPlus working directory is in /workspaces/sinergym/examples/Eplus-env-demo-v1-res1/Eplus-env-sub_run1\n",
"Reward: -1.086220480544118 {'timestep': 1, 'time_elapsed': 900, 'year': 1991, 'month': 1, 'day': 1, 'hour': 0, 'action': [22, 23], 'total_power': 21724.40961088236, 'total_power_no_units': -2.172440961088236, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [21.81947413483711]}\n",
"Reward: -2083.3260107177957 {'timestep': 2976, 'time_elapsed': 2678400, 'year': 1991, 'month': 2, 'day': 1, 'hour': 0, 'action': [16, 29], 'total_power': 4300.67198003095, 'total_power_no_units': -0.43006719800309506, 'comfort_penalty': -1.470462231008021, 'abs_comfort': 1.470462231008021, 'temperatures': [18.52953776899198]}\n",
"Reward: -4068.1430820739643 {'timestep': 5664, 'time_elapsed': 5097600, 'year': 1991, 'month': 3, 'day': 1, 'hour': 0, 'action': [22, 23], 'total_power': 17443.56199085256, 'total_power_no_units': -1.7443561990852559, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [21.52682664353406]}\n",
"Reward: -5408.011099508528 {'timestep': 8640, 'time_elapsed': 7776000, 'year': 1991, 'month': 4, 'day': 1, 'hour': 0, 'action': [17, 28], 'total_power': 152.4868953414246, 'total_power_no_units': -0.01524868953414246, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [20.02634475252593]}\n",
"Reward: -6324.363418661066 {'timestep': 11520, 'time_elapsed': 10368000, 'year': 1991, 'month': 5, 'day': 1, 'hour': 0, 'action': [16, 29], 'total_power': 152.4868953414246, 'total_power_no_units': -0.01524868953414246, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [20.87808257037088]}\n",
"Reward: -7166.002341495086 {'timestep': 14496, 'time_elapsed': 13046400, 'year': 1991, 'month': 6, 'day': 1, 'hour': 0, 'action': [22, 22], 'total_power': 5901.306181804051, 'total_power_no_units': -0.5901306181804051, 'comfort_penalty': -1.00595003066665, 'abs_comfort': 1.00595003066665, 'temperatures': [21.99404996933335]}\n",
"Reward: -10107.38621508419 {'timestep': 17376, 'time_elapsed': 15638400, 'year': 1991, 'month': 7, 'day': 1, 'hour': 0, 'action': [22, 22], 'total_power': 5959.248391726638, 'total_power_no_units': -0.5959248391726638, 'comfort_penalty': -1.003880381582551, 'abs_comfort': 1.003880381582551, 'temperatures': [21.99611961841745]}\n",
"Reward: -13368.049092385163 {'timestep': 20352, 'time_elapsed': 18316800, 'year': 1991, 'month': 8, 'day': 1, 'hour': 0, 'action': [22, 23], 'total_power': 20642.54173343959, 'total_power_no_units': -2.064254173343959, 'comfort_penalty': -1.2461460714288606, 'abs_comfort': 1.2461460714288606, 'temperatures': [21.75385392857114]}\n",
"Reward: -16573.882795341822 {'timestep': 23328, 'time_elapsed': 20995200, 'year': 1991, 'month': 9, 'day': 1, 'hour': 0, 'action': [18, 27], 'total_power': 296.4125183546004, 'total_power_no_units': -0.029641251835460045, 'comfort_penalty': -2.85266561770349, 'abs_comfort': 2.85266561770349, 'temperatures': [20.14733438229651]}\n",
"Reward: -19392.89340178917 {'timestep': 26208, 'time_elapsed': 23587200, 'year': 1991, 'month': 10, 'day': 1, 'hour': 0, 'action': [20, 25], 'total_power': 152.4868953414246, 'total_power_no_units': -0.01524868953414246, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [20.33172235919861]}\n",
"Reward: -20446.271430476787 {'timestep': 29184, 'time_elapsed': 26265600, 'year': 1991, 'month': 11, 'day': 1, 'hour': 0, 'action': [15, 30], 'total_power': 152.4868953414246, 'total_power_no_units': -0.01524868953414246, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [20.45708717771629]}\n",
"Reward: -21616.477165610137 {'timestep': 32064, 'time_elapsed': 28857600, 'year': 1991, 'month': 12, 'day': 1, 'hour': 0, 'action': [18, 27], 'total_power': 182.8619608065522, 'total_power_no_units': -0.01828619608065522, 'comfort_penalty': -1.0452010578529105, 'abs_comfort': 1.0452010578529105, 'temperatures': [18.95479894214709]}\n",
"Reward: -23634.85490851 {'timestep': 35040, 'time_elapsed': 31536000, 'year': 1992, 'month': 1, 'day': 1, 'hour': 0, 'action': [22, 23], 'total_power': 23109.07172644784, 'total_power_no_units': -2.310907172644784, 'comfort_penalty': -0.0, 'abs_comfort': 0.0, 'temperatures': [20.04969081696662]}\n"
"[2023-05-25 09:33:38,052] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:Creating new EnergyPlus simulation episode...\n",
"[2023-05-25 09:33:38,168] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:EnergyPlus working directory is in /workspaces/sinergym/examples/Eplus-env-demo-v1-res1/Eplus-env-sub_run1\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"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Reward: -0.3490105016546199 {'timestep': 1, 'time_elapsed': 900, 'year': 1991, 'month': 1, 'day': 1, 'hour': 0, 'action': [15, 30], 'reward': -0.3490105016546199, 'reward_energy': -0.1640169602508194, 'reward_comfort': -0.5340040430584203, 'total_energy': 1640.169602508194, 'abs_comfort': 0.5340040430584203, 'temperatures': [19.46599595694158]}\n",
"Reward: -1931.9344757031301 {'timestep': 2976, 'time_elapsed': 2678400, 'year': 1991, 'month': 2, 'day': 1, 'hour': 0, 'action': [19, 26], 'reward': -1.1620499503941164, 'reward_energy': -1.221344355363743, 'reward_comfort': -1.1027555454244897, 'total_energy': 12213.44355363743, 'abs_comfort': 1.1027555454244897, 'temperatures': [18.89724445457551]}\n",
"Reward: -3891.7713096588504 {'timestep': 5664, 'time_elapsed': 5097600, 'year': 1991, 'month': 3, 'day': 1, 'hour': 0, 'action': [19, 26], 'reward': -0.05528226607644676, 'reward_energy': -0.06426320076971337, 'reward_comfort': -0.046301331383180155, 'total_energy': 642.6320076971336, 'abs_comfort': 0.046301331383180155, 'temperatures': [19.95369866861682]}\n",
"Reward: -5188.949779733545 {'timestep': 8640, 'time_elapsed': 7776000, 'year': 1991, 'month': 4, 'day': 1, 'hour': 0, 'action': [18, 27], 'reward': -0.1570930549615421, 'reward_energy': -0.006803586826214769, 'reward_comfort': -0.3073825230968694, 'total_energy': 68.03586826214769, 'abs_comfort': 0.3073825230968694, 'temperatures': [19.69261747690313]}\n",
"Reward: -6075.841012317875 {'timestep': 11520, 'time_elapsed': 10368000, 'year': 1991, 'month': 5, 'day': 1, 'hour': 0, 'action': [21, 21], 'reward': -0.248299019799475, 'reward_energy': -0.49659803959895, 'reward_comfort': -0.0, 'total_energy': 4965.9803959895, 'abs_comfort': 0.0, 'temperatures': [20.98141752891553]}\n",
"Reward: -6911.640711162853 {'timestep': 14496, 'time_elapsed': 13046400, 'year': 1991, 'month': 6, 'day': 1, 'hour': 0, 'action': [15, 30], 'reward': -1.0783216797893724, 'reward_energy': -0.01329469346279363, 'reward_comfort': -2.1433486661159513, 'total_energy': 132.9469346279363, 'abs_comfort': 2.1433486661159513, 'temperatures': [20.85665133388405]}\n",
"Reward: -9174.877781927416 {'timestep': 17376, 'time_elapsed': 15638400, 'year': 1991, 'month': 7, 'day': 1, 'hour': 0, 'action': [15, 30], 'reward': -1.0265839003008237, 'reward_energy': -0.00780572594377727, 'reward_comfort': -2.04536207465787, 'total_energy': 78.0572594377727, 'abs_comfort': 2.04536207465787, 'temperatures': [20.95463792534213]}\n",
"Reward: -11558.331851551256 {'timestep': 20352, 'time_elapsed': 18316800, 'year': 1991, 'month': 8, 'day': 1, 'hour': 0, 'action': [17, 28], 'reward': -1.7120168877607262, 'reward_energy': -0.2013126060233338, 'reward_comfort': -3.2227211694981186, 'total_energy': 2013.126060233338, 'abs_comfort': 3.2227211694981186, 'temperatures': [19.77727883050188]}\n",
"Reward: -13941.94050131651 {'timestep': 23328, 'time_elapsed': 20995200, 'year': 1991, 'month': 9, 'day': 1, 'hour': 0, 'action': [18, 27], 'reward': -1.0694712468917504, 'reward_energy': -0.01275428900255242, 'reward_comfort': -2.1261882047809486, 'total_energy': 127.5428900255242, 'abs_comfort': 2.1261882047809486, 'temperatures': [20.87381179521905]}\n",
"Reward: -16249.196222768007 {'timestep': 26208, 'time_elapsed': 23587200, 'year': 1991, 'month': 10, 'day': 1, 'hour': 0, 'action': [22, 22], 'reward': -0.4853031266999031, 'reward_energy': -0.9706062533998062, 'reward_comfort': -0.0, 'total_energy': 9706.062533998062, 'abs_comfort': 0.0, 'temperatures': [21.95674140719972]}\n",
"Reward: -17580.11195641384 {'timestep': 29184, 'time_elapsed': 26265600, 'year': 1991, 'month': 11, 'day': 1, 'hour': 0, 'action': [22, 22], 'reward': -0.5797100676312941, 'reward_energy': -1.1594201352625881, 'reward_comfort': -0.0, 'total_energy': 11594.20135262588, 'abs_comfort': 0.0, 'temperatures': [21.84900454881994]}\n",
"Reward: -18742.72054037921 {'timestep': 32064, 'time_elapsed': 28857600, 'year': 1991, 'month': 12, 'day': 1, 'hour': 0, 'action': [19, 26], 'reward': -0.010290336399695095, 'reward_energy': -0.02058067279939019, 'reward_comfort': -0.0, 'total_energy': 205.8067279939019, 'abs_comfort': 0.0, 'temperatures': [20.01970452128446]}\n",
"Reward: -20445.351142368778 {'timestep': 35040, 'time_elapsed': 31536000, 'year': 1992, 'month': 1, 'day': 1, 'hour': 0, 'action': [22, 22], 'reward': -1.1023057700571006, 'reward_energy': -2.2046115401142012, 'reward_comfort': -0.0, 'total_energy': 22046.11540114201, 'abs_comfort': 0.0, 'temperatures': [20.74344960427339]}\n"
]
}
],
Expand All @@ -118,6 +135,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"collapsed": false,
Expand All @@ -131,7 +149,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {
"collapsed": false,
"pycharm": {
Expand All @@ -143,7 +161,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[2023-02-09 11:00:46,130] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:EnergyPlus simulation closed successfully. \n"
"[2023-05-25 09:33:48,555] EPLUS_ENV_demo-v1_MainThread_ROOT INFO:EnergyPlus simulation closed successfully. \n"
]
}
],
Expand All @@ -152,6 +170,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"collapsed": false,
Expand All @@ -165,7 +184,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {
"collapsed": false,
"pycharm": {
Expand All @@ -177,7 +196,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Mean reward: -0.6745106994437942 Cumulative reward: -23634.85490851\n"
"Mean reward: -0.5834860485835932 Cumulative reward: -20445.351142368778\n"
]
}
],
Expand All @@ -190,6 +209,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -213,7 +233,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.10.6"
},
"vscode": {
"interpreter": {
Expand Down
Loading

0 comments on commit 1150c47

Please sign in to comment.