Skip to content

Commit

Permalink
fix a bug spotted by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Jul 26, 2024
1 parent e8a5a10 commit afd296f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lightsim2grid/lightSimBackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def __init__(self,
self.load_pu_to_kv = None
self.lines_or_pu_to_kv = None
self.lines_ex_pu_to_kv = None
self.storage_pu_to_kv = None

self.p_or = None
self.q_or = None
Expand Down Expand Up @@ -1383,7 +1384,7 @@ def copy(self) -> Self:
li_attr_npy = ["thermal_limit_a", "_sh_vnkv", "_init_bus_load", "_init_bus_gen",
"_init_bus_lor", "_init_bus_lex", "nb_obj_per_bus", "next_prod_p", "topo_vect",
"shunt_topo_vect", "V", "prod_pu_to_kv", "load_pu_to_kv", "lines_or_pu_to_kv",
"lines_ex_pu_to_kv",
"lines_ex_pu_to_kv", "storage_pu_to_kv",
"p_or", "q_or", "v_or", "a_or",
"p_ex", "q_ex", "v_ex", "a_ex",
"load_p", "load_q", "load_v",
Expand Down

0 comments on commit afd296f

Please sign in to comment.