From a91b44e2c18b0281d33cf5b2d605ab82033efe49 Mon Sep 17 00:00:00 2001 From: DONNOT Benjamin Date: Tue, 12 Sep 2023 18:19:42 +0200 Subject: [PATCH] fixing issue rte-france#518 --- .gitignore | 5 + _profiling/profiler_assessment.py | 2 +- _profiling/utils_benchmark.py | 4 +- grid2op/Chronics/fromOneEpisodeData.py | 2 +- grid2op/Environment/_obsEnv.py | 4 +- grid2op/Observation/observationSpace.py | 4 +- grid2op/Space/GridObjects.py | 2 +- .../chronics/2019-01-12/load_p.csv.bz2 | Bin 0 -> 2729 bytes .../2019-01-12/load_p_forecasted.csv.bz2 | Bin 0 -> 2396 bytes .../chronics/2019-01-12/load_q.csv.bz2 | Bin 0 -> 2412 bytes .../2019-01-12/load_q_forecasted.csv.bz2 | Bin 0 -> 1987 bytes .../chronics/2019-01-12/prod_p.csv.bz2 | Bin 0 -> 1912 bytes .../2019-01-12/prod_p_forecasted.csv.bz2 | Bin 0 -> 1787 bytes .../chronics/2019-01-12/prod_v.csv.bz2 | Bin 0 -> 116 bytes .../2019-01-12/prod_v_forecasted.csv.bz2 | Bin 0 -> 116 bytes .../chronics/2019-01-12/start_datetime.info | 1 + .../chronics/2019-01-12/time_interval.info | 1 + .../chronics/2019-01-13/load_p.csv.bz2 | Bin 0 -> 2645 bytes .../2019-01-13/load_p_forecasted.csv.bz2 | Bin 0 -> 2221 bytes .../chronics/2019-01-13/load_q.csv.bz2 | Bin 0 -> 2311 bytes .../2019-01-13/load_q_forecasted.csv.bz2 | Bin 0 -> 1884 bytes .../chronics/2019-01-13/prod_p.csv.bz2 | Bin 0 -> 1867 bytes .../2019-01-13/prod_p_forecasted.csv.bz2 | Bin 0 -> 1710 bytes .../chronics/2019-01-13/prod_v.csv.bz2 | Bin 0 -> 116 bytes .../2019-01-13/prod_v_forecasted.csv.bz2 | Bin 0 -> 116 bytes .../chronics/2019-01-13/start_datetime.info | 1 + .../chronics/2019-01-13/time_interval.info | 1 + .../config.py | 42 + .../difficulty_levels.json | 58 + .../grid.json | 1766 +++++++++++++++++ .../grid_forecast.json | 1766 +++++++++++++++++ .../grid_layout.json | 58 + .../prods_charac.csv | 7 + .../storage_units_charac.csv | 3 + grid2op/tests/test_issue_sim2real_storage.py | 37 +- 35 files changed, 3752 insertions(+), 12 deletions(-) create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_q.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_q_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_p.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_p_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/start_datetime.info create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/time_interval.info create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_p.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_p_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_q.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_q_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_v.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_v_forecasted.csv.bz2 create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/start_datetime.info create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/time_interval.info create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/config.py create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/difficulty_levels.json create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/grid.json create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/grid_forecast.json create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/grid_layout.json create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/prods_charac.csv create mode 100644 grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/storage_units_charac.csv diff --git a/.gitignore b/.gitignore index 2dc7408af..c97dd3095 100644 --- a/.gitignore +++ b/.gitignore @@ -386,6 +386,11 @@ test_malte.py example_gym_act.py test_to_fix.txt doc_raise_alert.py +_profiling/profile.html +_profiling/profile.json +actspace_converter.py +grid2op/data_test/input_data_local/ +test_sim2real_battery.py # profiling files **.prof diff --git a/_profiling/profiler_assessment.py b/_profiling/profiler_assessment.py index 95aef78bb..3624dcd1d 100644 --- a/_profiling/profiler_assessment.py +++ b/_profiling/profiler_assessment.py @@ -28,7 +28,7 @@ from utils_benchmark import run_env, str2bool, ProfileAgent try: - from lightsim2grid.LightSimBackend import LightSimBackend + from lightsim2grid import LightSimBackend light_sim_avail = True except ImportError: light_sim_avail = False diff --git a/_profiling/utils_benchmark.py b/_profiling/utils_benchmark.py index e8a732b83..af207d7d2 100644 --- a/_profiling/utils_benchmark.py +++ b/_profiling/utils_benchmark.py @@ -152,9 +152,9 @@ def __init__(self, self.action_space.all_actions = all_actions # add the action "reset everything to bus 1" - self.action_space.all_actions.append(action_space({"set_bus": np.ones(action_space.dim_topo, dtype=np.int), + self.action_space.all_actions.append(action_space({"set_bus": np.ones(action_space.dim_topo, dtype=int), "set_line_status": np.ones(action_space.n_line, - dtype=np.int)})) + dtype=int)})) def print_res(env_klu, env_pp, diff --git a/grid2op/Chronics/fromOneEpisodeData.py b/grid2op/Chronics/fromOneEpisodeData.py index 39ba20426..a21324337 100644 --- a/grid2op/Chronics/fromOneEpisodeData.py +++ b/grid2op/Chronics/fromOneEpisodeData.py @@ -64,7 +64,7 @@ class FromOneEpisodeData(GridValue): parameters (see example below) .. seealso:: - :class:`grid2op.Chronics.FromMultiEpisodeData`if you want to use multiple episode data + :class:`grid2op.Chronics.FromMultiEpisodeData` if you want to use multiple episode data Examples --------- diff --git a/grid2op/Environment/_obsEnv.py b/grid2op/Environment/_obsEnv.py index 8db0060d4..421ba2490 100644 --- a/grid2op/Environment/_obsEnv.py +++ b/grid2op/Environment/_obsEnv.py @@ -192,8 +192,8 @@ def _init_backend( from grid2op.Observation import ObservationSpace from grid2op.Reward import FlatReward - ob_sp_cls = ObservationSpace.init_grid(backend) - self._observation_space = ob_sp_cls(backend, + ob_sp_cls = ObservationSpace.init_grid(type(backend)) + self._observation_space = ob_sp_cls(type(backend), env=self, with_forecast=False, rewardClass=FlatReward, diff --git a/grid2op/Observation/observationSpace.py b/grid2op/Observation/observationSpace.py index afb2c919c..9e64ca48b 100644 --- a/grid2op/Observation/observationSpace.py +++ b/grid2op/Observation/observationSpace.py @@ -121,7 +121,7 @@ def __init__( self._ObsEnv_class._INIT_GRID_CLS = _ObsEnv # otherwise it's lost setattr(sys.modules[_ObsEnv.__module__], self._ObsEnv_class.__name__, self._ObsEnv_class) if _with_obs_env: - self._create_obs_env(env) + self._create_obs_env(env, observationClass) self.reward_helper.initialize(self.obs_env) for k, v in self.obs_env.other_rewards.items(): v.reset(self.obs_env) @@ -174,7 +174,7 @@ def set_real_env_kwargs(self, env): if "observation_bk_kwargs" in self._real_env_kwargs: del self._real_env_kwargs["observation_bk_kwargs"] - def _create_obs_env(self, env): + def _create_obs_env(self, env, observationClass): other_rewards = {k: v.rewardClass for k, v in env.other_rewards.items()} self.obs_env = self._ObsEnv_class( init_env_path=None, # don't leak the path of the real grid to the observation space diff --git a/grid2op/Space/GridObjects.py b/grid2op/Space/GridObjects.py index e885328da..a47b2a9aa 100644 --- a/grid2op/Space/GridObjects.py +++ b/grid2op/Space/GridObjects.py @@ -2709,7 +2709,7 @@ def init_grid(cls, gridobj, force=False, extra_name=None, force_module=None): # with shunt and without shunt, then # there might be issues name_res += "_noshunt" - + if name_res in globals(): if not force: # no need to recreate the class, it already exists diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..cb68d027506b1bad8e60a550c63e8e8e417ad1ea GIT binary patch literal 2729 zcmV;a3Rd+(T4*^jL0KkKS@U|>2LK$%TL1tM00DpK005)};1Lk60*wJcXaySh`asER zXo@`bR26v4K$zBGs#R3*)ba*ZQxgHIeh5mbiGfWrF)=X&nn+Bln3x4BPbf-g&;(Md zf9I-HnE+hRfdnC`jy!t2&rFN)3q~W<@#`}eR9;BJ+~>k@$cn{WXXVQ#hmigUfzD^% z&w2*EoD<--b)BxKRvXtNuJ)06*3yDw2AJ7o731J-36(wEr`7i23sjlIG;}QuhWd-E z>SwZq$Ou{~81vhB>`Ok=3^U1~not+sz~|ox02}ZXK?D{kBASz`$8EJ48%VadYuT}g zFzh%Gtb6Sm=iFZN?&|M-e&P4KsQ}gIp1#d*fiVGO8R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|E>;NkXR% z=#X(dizQaB(LC?ZdBZA1LJ!>%&Qs<}oyU1T`kX+)r!uhD6Q@}u&~r|}=EcM@i-!}x zaaWseAC1B6o7IUI!`tn>v61t<+b{qB- zGt*rmHVgRBm}H1ZNy`L!c}WVyjpb!goGWzimZFw2@Ei(GH9gA6KF&7p)Sb6X);RX% zeHHgf-uutxvgRf;FS&8V3DTbo9hsu^feg|Qi$!>orl_f9%Z@qGAG2a~~^t{bG+i+Q&%X#OxS5@ONcDiLn^6OZ-(=Roe70mYT=*Lv@F^7~lJ0|)L z<3($$b_F5_RDs4a9L%o4(NT8qaks>7jnKWh8-CU{GaW&LIyh!hj<9yk;fm5p3T6(f z5$mnavh!gir@YN`_M293vN1cC9&)K7v&UX;k*{Y=7uYO16~PyKOrA%#Cxf*2OFZe! z=%2cB8m!6HgPdI*7{PS}b4IRqcX+HSyR4fLxWrmAa7dz!Y(ax7dzm(? z#DaW557s!gUBS9rAymD(9D$ie$m;2??1t^&li^NYO@_> z`mOGEaBh0~y8Oej$(%2?bSu>EAA1P*ZC@9Zb}GXvhz@w`jWFJB_%&unG4*!ai(L<(ct5vIN zwi9frm~wMFo=-fgxYv87@%g_gb~m1cyD&TC755({o;t+KbR5wtQs&nlVu)vTz-Jn7 zyLvr*G-pmX+bXqEmg&5woX&O5_~G^+v~aRlk|fIIr8*gQ=d)$VB`32LX7fj5ao&xY zxog`!VaJyAnqfWOK3D}OPkL23aouf>@-j&4aqfu)_1xI~hIMA%C*HcZa#O1_jT~1^ zsCSlUxdIhnFvErqc?I#Squ+-O-3kip0Sijwah((d;e18}jrS@#_8D(x4w8$}M&Dla jlI!dYDB;4(Zkhe}hv&RL!~4blr~F;X6yZWc&Ff$s$!ao$ literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_p_forecasted.csv.bz2 new file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AVO7fI_ep?!imd>(P_T*RwJj8M@-x>(w2g*odNOF8qU_Ne8Nvf7NjDX*WMEYBRYxI9!@sg^zDpmlH5YcPc2 zbX*l7czE9ZZxoW(2gULj^X}#|w8C(rV`fo-S){OaQFaC{Ly1@qc=8Ht%$9(^CqeCb zYqT`)nCw^CvCi@g7w>o=Mo+Pf9}tp|PTBizK6O0sM1+^=*(Qaw(9+s@*`}tK^>S3E z;7AI<(L8D%r4MMQ64|Ro;`??i^`T@-rRm`niX41cmv$?w1qLPEirRCISh}ZtXij44 z_ZHT63j`aNV)CwOp$*%yOSNGFM zP*(Q?VrrYcEi_aTQ&a12O7z#n=(01c$|uKS9-e%i?C;rzVUys%Reing2d|J^x^h^D z4uQn^;lXP=nwH$A9dON>k2OLibD~5ouQV@n2D8-{Bx)meMpMY4MpCWk(Ts>Y#T7xp zZJxZm*{RyD9N#6nEIXJI3bwU%!>+OA%+neU{+v}e9-Lg)oii_zOf=tDGCBG26 z6Hvg#wB(Kj!w;^52PM=p5W&2TIOS1w0u)#kRFejak>l4xspqTN)E(}enXANxCP8Ea zoV)o%L*9vzw^~HeG?225k!0y1@y`K-k6;dIspt|Bk|gtxI9mvH+sCO)gDm?As5E!F zy;KK#+(C%Qi_Ei+lQbZ74T=^*te4X22^@{{E0i$H^qIFCoi3}EsgxT^bw1%s*S*7W z?oRF(!!t1S+Sjy2OS(zu-ObnBk_{CD%*o_h0 zmTsC;$wy7!8ndP3GX0|AxrVy0!o{9sU<6QZU5jHzWN|!aazi)Vei^g2E3djq z&hqyWoVo3~DC&LE;ZW?S+AdmD+CN$CeXVNy<5y<%Rqo2Dd&ym_)1gLDJ(TL!8@bs= z`!?0#Z@;XlP~NIG<4}@w{L%x`cwKJSbxfY O#oUoj6eJV3G=_jk@?`M< literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/load_q.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019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XX+#1}NF%}~DVp~I(E8n!Xh7ni!^7uh**FKEN*E`=6G z?4id^^QW!6W#Y(6gy7y%EIISivw08;i}TBu^@>q!wgU5e@m?jd@i^Hnf)navwL yS7uDEMvP(I>@qyLFL-Q6rp-q-l-2u3;XgLL`aSphK>Z&7i@744C`cW=wwZt~W_%|A literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_p_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_p_forecasted.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..c793514416cc7ad3304d210c8a16df098d4bf58b GIT binary patch literal 1787 zcmV%7s-OS?2_+Om)Bz@$l_?7K;t(|>HcaGCqIO@xcN}^*h z$zAKTj#FT*FBhHWgwphS&NFV5+#+LOtYdtgOqDQ z+||o=s_2*Lv@zkC=d%qGct@azo`~Vzu^dOGX_bRKlsyL9d}Ibj7NZF$^^6?0j}I_# z?6!3-<~V~CLp`?MfMO=i#DM3oe5(!ZH{2aq_l4H8$VP^-VR#@Q(hh_j+8Qg;^HF+G zlHg*7_H<}ZiWJO&uZpPi=%*WQGkblW8x=|o4TE@Zk3|#*F(}9-Br1L%I@1d^hW2`>e48o5j1O!=-Z8nxi!~^#3U%&+}ax0`o?oI=XC+xWKfU)Df zFRt?&7|o90jos)YFQK|M%Y-gd7{XC$g}BmiV~lgB5j)=mL4UFZ_Ml$9xE zEYzr`TV`t|CQ~y~nRTQG|aP0HdKtv%!xLV%p|5IGc=Ji zBM{j#h@~isNP}XMh_x6Kp4zuY+juvKQJ6%c0Skw`<0Gae6B`grV*!n4Xu@VQA4s67 zkur>siVGVNsRBg!2#36QbA#r`CNpI08RSE21U+{`k=HR7ZElETw_ItGXuCEXbmyNU zE&BY$@{i{IQT!L@$@p@aPFt3n_al}d=_cr7Tg;T|aPFhPmP1JsODvWyla@^!29A=o z6p&pCjmjE3n$0Xt2-_)QGaX?x6w7joCIEz@5&|L`q23;N$?dz|p5I_lvik0qUQ><} zI-a}s*g}sc#Wu>cs%fi*?2d-tCx}}iLb?~z9V{8d*_P_g_TqtZYr6(@4x^K8(VI6i zCsMAhXFbG43sm;bbuIuwjeH9jS>T4>>Fba4=nWn};l3RlY!kgplqn;z`>Y z^#$dyeqNX~Xiuwmh7hjmVbSb{Hm^dOOEk8sc}nqEns+VsYr{`xIiphI6rG8uv@~$J zG|>(RAtGs}nmAm!Mz15&EowZ5K22`Am?jSsVql&VgCUWb(75JgvR7?jRjQf7vk4)U zdy|F2dLCAd=`>imMXW<}4iVuDL81>DmrS*pTsvbJ+1ppbZ*?)kD(hnH@Tw;%B5mB; dnVZS`OOk%5`bW>|52Sy^+>uTcBoh^?qX1ekR`>t_ literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..79c31540fdacc2a4b4da66b1b35572beebe0e697 GIT binary patch literal 116 zcmV-)0E_=ZT4*^jL0KkKS@H-gP5=_KTL1tM00Dl8004r4FaWqiO*I+~JwgBg1u8~O zOpP~~BT^+gf;56WVhHgBZV1E?!U*N05#0(|K^cNF+!2gWrHR}T)Dg@P#1V)hrdH*n W(r%P77vcjE@pmLsg$WNJg0$e-SSMBh literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/prod_v_forecasted.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..79c31540fdacc2a4b4da66b1b35572beebe0e697 GIT binary patch literal 116 zcmV-)0E_=ZT4*^jL0KkKS@H-gP5=_KTL1tM00Dl8004r4FaWqiO*I+~JwgBg1u8~O zOpP~~BT^+gf;56WVhHgBZV1E?!U*N05#0(|K^cNF+!2gWrHR}T)Dg@P#1V)hrdH*n W(r%P77vcjE@pmLsg$WNJg0$e-SSMBh literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/start_datetime.info b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/start_datetime.info new file mode 100644 index 000000000..5e520426f --- /dev/null +++ b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/start_datetime.info @@ -0,0 +1 @@ +2019-01-11 23:55 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/time_interval.info b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/time_interval.info new file mode 100644 index 000000000..beb9b9011 --- /dev/null +++ b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-12/time_interval.info @@ -0,0 +1 @@ +00:05 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_p.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_p.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..488a31b2a6bc45530b0558582ef23207e2360991 GIT binary patch literal 2645 zcmV-b3aa%&T4*^jL0KkKS-LXnoB$l`+W-I%00DpK005)};1HrYqJc#K6i|8aXaTBF zO!Yk!0)e*8t1SX03x=nVGOC`4VAVeaB~-+~rkNO+n1W3xCe>8Lz(rHrRZu1)AX2G6 z6*Vej)i82=_-owo-QFsPs_QiO^W}wRj8oma7Y#gmVeO%KdC<9RRJ*K=!<=egNH%!5 zF&dRqEQDRBIj7ogZzG*7B@Gj)VKw{P)Qr%vdFCnCtZuQHk9FnMK*8A`C$3h_FKz z3I&8Ll@)Lyudvqh>)HdrLo<}gL3#&BZ8#sXRTTZz znIVi~%wn<0CTKudf~bfwJJu*O<|vS`mO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/2019-01-13/load_p_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_p_forecasted.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..8e341212e850a9d8610c1a7cd293d6dee6f528d3 GIT binary patch literal 2221 zcmV;e2vYY#T4*^jL0KkKS<1~5%>W$mTL1tM00DpK005)};0|8iGwa)XZH*qay=8X3 z2D*3IAZR;2pE*9fUiNZ{+30gItTf3nl~OPSkkrDeVqg@iKT$;?wE#(^l6k7CVqhXj z$WcuIM5alys+gE~50Q-e%v^U*1E6n43cXj89d&_ zb+;RL9A>*U_NZ%_)x&b-R{EwJc^`0CZR9yl2e<~AC1tmpDS>aJjJx{iyWB?&k#_Ti zKQ`fKQv)Kxat@3M0s{oGIUsTnN>rgdiSE1P_h18ZdxmMUVYaY+(~;5?R3tKI!ANlO z8+wNTFhe9mz<9`#F-aoe86fzC0)Z$UE8rg;akDCg4(#Tm=I+9@ob}vUS3<*38xX7Q zR~#7ZA;@V7bz==j#&?tI`NdV%90qjyEi-YMTT2e#}2PAf*G`r+>OasR5tj*s* z%M)!n=|u2tH!~H9`tWN?ZuehwRmU zx%AWYWmy$IZh#au)_ptTvdG&f9XHAubq8kcvqs#4BaPuWfXo^&uB*U%-q*_V`$an|QBnT&!EKOlF zj6+nRDMN{%o1Xg)=e?Ed`!=r*;m)FwVsO&5qf4&T2XNuZUwTg-g_)?zEatP|JWi;x z2T}x65ViP>H6%zy&?s6LiK-mVUHduhbDEfHX>o{IM;}epPjQsMKf)Yg0NVoFrS~9H0t0}dm zg}qbQvFyEzS(6pDtB^z| zrFr62=Zc5qq4r8M=cMwT@jh8#QkFqsEwU7{z!3;i(4UIT(^AI1{UmY-_<;KR=%i0r z13W%L)Gb7?jfJI&OOF-9mnDIgWZ}siIdVC~T$daia5%YgILWO`V;TqJu-b0LQv?J# z$x4&~#}f(>OBkCF(8e*KV+K+d2@R&bS7_?H-t_9amw4gIaV|RRw^OQh*Lymv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ffgrid_diff_obs/chronics/2019-01-13/load_q.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..887ff90b5c5059820a46bc975d3ecdf6c0037e26 GIT binary patch literal 2311 zcmV+i3HbIxT4*^jL0KkKS;M1_ z=fUrqoWn6nrBtxc+IVVt21<%(162GGHB~V%5;YWnXaY?r%1>2O69E!U6Vjt0pi-vQ zM3i6;m222d52X1#NWr)?i}n(5_9D&-7$3_~J&uu9e9H!`5mqUEzPMj2)X>~c`^QpV zSnC$SU#zbxdizI<$+k3FH<-X(73>=it{)tIuO%2X=6IOsBpcytomfkcX%zFL!|Sy$ zUWg_WZE6IUQ-OI_k}?3~CN@MTV_yKk1HpVji|9g-JtXlVX?MSI^}Kn*nNv*&ACK0) z7o6u0p@t~`r5r(jg4S}*6D##Qo!V!RAL*N&b zo$O;0bo0P_#-FMYEMSokH6%e4zZqxL4Fg0#_zx-yho1?^hZtEHAS7VOr66sBiYh}% z3B(R6Z$n}bT2#s?$0V$)=Fuhmd(Utj_ceL7=w;pSc-~FhNo4pZ;T0cKj5sV2gk(Y> zg3e?ixJP32S{*1vEEml1m34S>w%3ww1V3L|@o%?JEUxlpIU5JE{T#niYLi3hJc=pm zEad#y2V__zU?Bj6BzPgjwGEqQ8f|QPWgPZM6C>No5T}| zvv`wGz@}X(GA^PM)2Zl#5uAv5067u~5+M|Z$Y}_hN3sJ*XcLI}le0T~)XzJb#0>AS z@8JoI8g-W*Xd8%H7Iw3-Lvlh1oyrO#PTNYl2oNI>IHszdkn<3*oRS(6Z@uR;7+v3& z>-zBgYVS^1nR=Nxsnbl(QEDbcN4+5+N*IGoBO*2hmIG8F79JoAo}(_kcQ*R?;aktw z--yRHX+>d)n6ncL5Z??$e5&whL1KV|1`xs+2UZZWh{9~J4@g8kN;{Te?~keTQ;qYI zVEnght+KNmEJr2?te9!}BRr@)Em9F+sT73kl2{!G(IN2)0fFA|@KTGllH=TP+^gzg zBzP>(XbA&e<1(O&|BgfDYVT~Yn9W6 z(qmJ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1E&1Cqe@}Hso2jZXN?ntK!5*gTa5g-h~W+?yw literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_q_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/load_q_forecasted.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..74f6595f6bffd4c371ba1cd3ada710da571c2040 GIT binary patch literal 1884 zcmV-i2c!5xT4*^jL0KkKS#<)>PXHTu+W-I%00DpK005)};0#@-udrEm?XtUWxgteS z19#TFx5P%JRw?(f9Prab*)>!~0VFg@`l^#A14@3d)9K*y zVeP(hQ40 z>L*DjWAUfE+V%J#Z4SH;N5)KFGJF|JMS}K93zuM`TWq>6hzsCuHQwio(V0JzhiQT1$jU(1+VI!}k`x z@7@9zwlTU+O$U;=2Tq9aFj8f$ZTS zZJBVlRK7Nix@cH<>O7N@Bf(%F6IDecDisLWM1sVOSrx@_aTujk=!Z|Z_U-kVynwd~ zlC=WWLgbBEwsJ>KN0MOhfuX9b8f21@Mlpme9B>$=Md~k4xbM4@-0huh`0^Y&k>Lx+ z&K3#HhSDacq1Ui$RVadkAY_J2fC&PCHbQzkYgm`O!t&Fpq$cJ8ny}L$7k)kywK=J7 zS&5Xr98Xl*KSIp;WA2`}*=M&r6daS_I^1S@Dc z76Abwl8I-`uYJs4ch4>o>0VtmO<}DxxSHvqgS~qPwLAh;Y?IXdN5c8x_Bl>DY@4;U zX`@tWsf?yrSYXMOlM@sLKQf}?;6a3pNWu_|2>zQ^v?^7pUHnlPehA2bvI>ogA4Mt8 zy_EaBBk0!3zTMqL&9qIl)h)AG4P>opk710CqMn5xPSAMTm_$rPwF)ar1w<%NY5_{6 z5v@XsMToScKnqr=f#Qhsvq^a6c#A28ZkD53G{VASW)=~xskCm(Xv#88Xw_T0D}qlM zEs>d33I(W*N>mD!sI*`NSxXG1h6@%H!IX=sK*9r2d?Lpbgcv}C2z;e!Yiz8wsji&q zbCjM$uW}6szOQa0x^-NKanqG`$4->fV^np=4vDK)((A4`t(!I{I&sP3se6RkJw1B4 zM@~Armrfk6M$Ju=j&yW7>CRU=>C$oBIZorNlIxCMDOaqa>Uw(~j;^@j!tNbi4t3GW z>#i3|yQt#pjxK|{t|vI<$m^XRN~_o7^XKEUd*|}cKaOS6GfYuk`E&evzs_MvhhDXQ za(s(Q#MCkzM4t3yM4BQxDNfT(n#e@}P-$L?VFD#f-4jElQT6l=>T$%(8N5jv+!?^Z&F;Brp3J>%zS#XUqFFfX7>+MV z5E?N(2d9DJ3x4n4cRt^`_ul6E0BIPIg^Ys;i6Mgl1}MUOF+pNMREUDGWSS`zkU-vd zbGBjLZTxfLzMp;9JTG)!zA9cwInB5*d(b<8K{(xQj$O&MjqAGJwcwy(h6G|$tbo>n zYe@uvHU?-=w`nV6je3q7BQYSfx9UArk8$I+TC{+>(uL7SE@N$`tI(A`w7Jz zw;dOo)sJ%V-e=W>Qd#bBBrCkQmeLf(vpx_ zfMO-*#eA0>=P`^JuAfal@;;2TPCnPbh9d>Tcg!M@c}oKyyfBpnV#KJ3%a>qvL>e%6 z6fAP5rWQEFcBH(S;h6J-4aiI4KOCW#D5=RT;K0vyJ8LVpGk{^98POs{&@eYBY0oH; z;V|1@4Aj6e$(4L0V_@2pxf8*skA;g7@h@jvWwSiwk;&})15KSec=vX3{i+|8 WL+lU2EB2^=3%MekC`dYiXQzP4OppQq literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..a8f9567a0e415f8a0936aba62e2649f08d4cca1e GIT binary patch literal 1867 zcmV-R2ekM?T4*^jL0KkKSz#ifWB?DuTL1tM00DpK004r4U<;)u3}jM;Qr`lVP>2wx z-teM^gC#{YFx2pYQ~*%ZOaKT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BQ*LmC+3u zOCY4dBv?Tp1H7(ys^D^|*<8cBR7S)q$DL|_8;o`6$JPscwWoD{ido*TGB?z$w8QI^ z^J=wKHY+q&E}64(b2^mgbR>MF6{KkzXquv_r<6HRO<@DTpL@f=a%X|^qH4Gv8*mp` z!KUtJmg}y`kS@&Z+%WYAT`xl$kS97*a2nu6MV`W>yh4)D6od(!8D&VDFCR;4j z)Y;8eA)Ip1%n}HuSmk(!7l9`7S1`M{Z(7H7)p>Go+;mOo<|>A6nDL_yUdPumtBqB+ zRX3GRdEK=GxcM&S0)cd~Df8^q;36E$ z7ds)gL8(L*s+H#F8C6}7X+VnBWv$b-vBjX19y-ILheWmu8J>N)J!C>BE+a3PqvUR) ze0>PcL$;r*X^bJeW7vH)iWAuTcBp67j FSpeJUU9JEC literal 0 HcmV?d00001 diff --git a/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p_forecasted.csv.bz2 b/grid2op/data_test/educ_case14_storage_diffgrid_diff_obs/chronics/2019-01-13/prod_p_forecasted.csv.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..8a51198581e1d45d07188d2ed11b4e0c2347e795 GIT binary patch literal 1710 zcmV;f22uG!T4*^jL0KkKS?B#m_y7;Y+W-I%00DpK004r4U<%P67R_p^Oi#K1e1s4U z>)6GZ+3q{xriqxUrY6v7geIt_hA3&K00f?@sL=eR076MAKxhP-ki{whj9^Q{PtN)E z2X8RF!|QQt_UD81`?2{YLt0OivP!hgpgoH_&sJs*Bq_sJU$`T%1u?-mdGhV!cwW5A z_bl84lscHh1pk1`jwHI9OhdDpoAfbs*9X5^`hZb`x{cMSwhLlj^C` zj^$t#mcX}2$lzFqhY5oQ;1_P!=wN06p8X%Px-x1S+L6eMU6$&qccn@y2C>iLK1Q8x%xSeagn* z(D)Ho+pg@Y4GYD@a||r7vWoR9K^bFS!mBeP7=hGN4?7rGsw<(2qO(Aa?(E&6A6wzd z=AG?W(ZVo0IXiCPZtl%Z1Vw3g4S-Dr>8vt0ShzTBhe+me|^3#DmCL zRw9KUDLStUG&I97$weke8YNy*IFmB_$;=Y6={fRRdG||7n1yie74Dl1((v7!=-q)G zLcP_MLhC7S1iOG%3}-JF8>=B8Ia(0;`=7M1qOSv!DqnyKjiILX;P%&h1i78Sk5Q}x z2RI}_Q6Le(4li!KW;>KIzEhN?Hw&rj(&VDL-@9C=zaHO??oYlw=rwW*CKgEejpy^JqFPj3=^iN8Vqa{6;BF}p&jC4Jt|^j zZc!gdG?){h@Ieq;7`aq@K!@)7d~9ae!34z`-%F=Ms^?(q71P|}?UpQvpP{2_HKtaR zQk9x&WtnW6r8bhJ%%+txibD*nkjxTEEE15&OC+)If*hVXEn_Chv-Wo;+Z;}4<1A*y zCq_6e5yXZdI*qyqaA!hNIP517$2Esp-qfi|5lm@`Fr^umDJ0TmB+`_VMv}%XZIX#2 zW|}0V%`#Dq8Wg0AnVL+S7@1>587&r)EL5S0qJ|-$Ao&%4C0`HUIomFhakXG`Mn4Q2 zi?HwqVeZQ@*ra0vq>~avkYsxX4l6@BHqjV6ZZt`Q7|zFR@>?w6*z1Ra*zd&y;YII1 zEY6_VDahgpr)6;kUvtaR8wQdNQOQQ>s+dr8e%_a#)I!kf4_>AL`e4_p-$RP+_%GKop>>y^NEG2R2I)zO*HjaOBq zTu4$^&bTm(?|VEJzd6qYk&)gTCIYj(@3!svW!MC;fgX3HkQ-wo$UGp+9mlb4q8L6S z74jMg{aA;>8VLPb>#jD1f?w5%f@jr9@R~T|iGwY)(ZsR0Qw7<_7iSxp#d23ExtAwf zxx1WesMitPiLM-gAW4SqApHlpd93E`YP%cPlziOX8^RT)Q}$*_Z-tEZIeD^a551v! z%Ts#qG4x^f&cy3@13d None: - print(f"\n\n\nfor {type(self.get_backend())}") + # print(f"\n\n\nfor {type(self.get_backend())}") with warnings.catch_warnings(): warnings.filterwarnings("ignore") - self.env = grid2op.make(os.path.join(PATH_DATA_TEST, "educ_case14_storage_diffgrid"), + # self.env = grid2op.make(os.path.join(PATH_DATA_TEST, "educ_case14_storage_diffgrid"), + self.env = grid2op.make(os.path.join(PATH_DATA_TEST, self.get_name()), test=True, backend=self.get_backend()) self.env.seed(0) @@ -32,6 +36,15 @@ def tearDown(self) -> None: def test_reset(self): obs = self.env.reset() + assert obs.storage_Emax is not None + assert obs.storage_max_p_prod is not None + assert obs.n_storage == 2 + + def test_simulate(self): + obs = self.env.reset() + sim_obs, *_ = obs.simulate(self.env.action_space()) + assert sim_obs.storage_Emax is not None + assert sim_obs.storage_max_p_prod is not None assert obs.n_storage == 2 @@ -43,6 +56,24 @@ def get_backend(self): class TestSim2realStoragePP(_AuxTestSim2realStorage, unittest.TestCase): def get_backend(self): return PandaPowerBackend() + + +class TestSim2realStorageLSDiffObs(_AuxTestSim2realStorage, unittest.TestCase): + """add this test for https://github.com/rte-france/Grid2Op/issues/518""" + def get_backend(self): + return LightSimBackend() + + def get_name(self): + return "educ_case14_storage_diffgrid_diff_obs" + + +class TestSim2realStoragePPDiffObs(_AuxTestSim2realStorage, unittest.TestCase): + """add this test for https://github.com/rte-france/Grid2Op/issues/518""" + def get_backend(self): + return PandaPowerBackend() + + def get_name(self): + return "educ_case14_storage_diffgrid_diff_obs" if __name__ == '__main__':