pydae 0.55.1__py3-none-any.whl → 0.56.2__py3-none-any.whl
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.
- pydae/__init__.py +1 -1
- pydae/bmapu/bmapu_builder.py +13 -4
- pydae/bmapu/syns/fault_study.ipynb +33127 -35
- pydae/bmapu/syns/milano4ord.py +146 -3
- pydae/bmapu/syns/milano4ord_fault.svg +428 -500
- pydae/bmapu/syns/milano6ord.py +9 -5
- pydae/bmapu/syns/temp.py +24 -22
- pydae/bmapu/syns/temp_cffi.c +1374 -1016
- pydae/bmapu/syns/temp_xy_0.json +5 -1
- pydae/bmapu/syns/xy_0.json +5 -1
- pydae/bmapu/vscs/bess_pq_ss.hjson +4 -4
- pydae/bmapu/vscs/bess_pq_ss.md +44 -0
- pydae/bmapu/vscs/bess_pq_ss.py +2 -0
- pydae/ctrl.py +27 -12
- pydae/urisi/fcs/__init__.py +0 -0
- pydae/urisi/fcs/bess.ipynb +275 -0
- pydae/urisi/fcs/bess_dcac.svg +1025 -0
- pydae/urisi/fcs/bess_dcdc.hjson +34 -0
- pydae/urisi/fcs/bess_dcdc.py +249 -0
- pydae/urisi/fcs/bess_r.hjson +52 -0
- pydae/urisi/fcs/bess_r.py +209 -0
- pydae/urisi/fcs/bess_r_ctrl_3ph_4w_pq.hjson +48 -0
- pydae/urisi/fcs/fcs.py +27 -0
- pydae/urisi/fcs/pem_dcac.hjson +46 -0
- pydae/urisi/fcs/pem_dcac.ipynb +638 -0
- pydae/urisi/fcs/pem_dcac.py +347 -0
- pydae/urisi/fcs/pemfc_dcdc_gf.ipynb +197 -0
- pydae/urisi/fcs/pemfc_dcdc_gf.py +261 -0
- pydae/urisi/fcs/pemfc_dcdc_gf_iso.hjson +31 -0
- pydae/urisi/fcs/sofc.py +411 -0
- pydae/urisi/fcs/sofc_dcdc.py +274 -0
- pydae/urisi/fcs/sofc_dcdc_gf.hjson +35 -0
- pydae/urisi/fcs/sofc_dcdc_gf.ipynb +238 -0
- pydae/urisi/fcs/sofc_dcdc_gf.py +411 -0
- pydae/urisi/fcs/sofc_dcdc_gf_iso.hjson +31 -0
- pydae/urisi/fcs/sofc_dcdcac_gf.py +259 -0
- pydae/urisi/fcs/sofc_dcdcac_gf_ib.hjson +49 -0
- pydae/urisi/fcs/sofc_dcdcac_gf_ib.ipynb +7928 -0
- pydae/urisi/fcs/sofc_dcdcac_gf_iso.hjson +46 -0
- pydae/urisi/fcs/sofc_dcdcac_gf_iso.ipynb +7871 -0
- pydae/urisi/fcs/temp.py +1822 -0
- pydae/urisi/fcs/temp_ini_cffi.c +1928 -0
- pydae/urisi/fcs/temp_run_cffi.c +1928 -0
- pydae/urisi/fcs/temp_trap_cffi.c +1472 -0
- pydae/urisi/fcs/xy_0.json +33 -0
- pydae/urisi/fcs/xy_1.json +61 -0
- pydae/urisi/sources/ac3ph4w_ideal.py +2 -2
- pydae/urisi/urisi_builder.py +12 -4
- pydae/urisi/vscs/ac_3ph4w_gfpizv.py +367 -230
- pydae/urisi/vscs/ac_3ph_4w.ipynb +222 -0
- pydae/urisi/vscs/ac_3ph_4w.py +4 -6
- pydae/urisi/vscs/ac_3ph_4w_gfpizv.ipynb +7043 -0
- pydae/urisi/vscs/ac_3ph_4w_gfpizv.py +453 -420
- pydae/urisi/vscs/ac_3ph_4w_gfpizv_back.py +543 -0
- pydae/urisi/vscs/ac_3ph_4w_gfpizv_ib.hjson +2 -2
- pydae/urisi/vscs/ac_3ph_4w_gfpizv_ib.ipynb +7105 -0
- pydae/urisi/vscs/ac_3ph_4w_gfpizv_iso.hjson +6 -6
- pydae/urisi/vscs/ac_3ph_4w_gfpizv_iso.ipynb +7105 -0
- pydae/urisi/vscs/ac_3ph_4w_ib.hjson +46 -0
- pydae/urisi/vscs/ac_3ph_4w_iso.hjson +46 -0
- pydae/urisi/vscs/ac_3ph_4w_l.hjson +1 -1
- pydae/urisi/vscs/ac_3ph_4w_l.py +55 -9
- pydae/urisi/vscs/ac_3ph_4w_l_ib.hjson +40 -0
- pydae/urisi/vscs/ac_3ph_4w_l_ib.ipynb +194 -0
- pydae/urisi/vscs/ac_3ph_4w_l_iso.hjson +43 -0
- pydae/urisi/vscs/ac_3ph_4w_l_iso.ipynb +191 -0
- pydae/urisi/vscs/ac_3ph_4w_pq.py +136 -156
- pydae/urisi/vscs/ac_3ph_4w_pq_ib.hjson +40 -0
- pydae/urisi/vscs/temp.py +30 -31
- pydae/urisi/vscs/temp_ini_cffi.c +839 -162
- pydae/urisi/vscs/temp_run_cffi.c +839 -162
- pydae/urisi/vscs/temp_trap_cffi.c +713 -111
- pydae/urisi/vscs/vscs.py +4 -0
- pydae/urisi/vscs/xy_0.json +23 -13
- {pydae-0.55.1.dist-info → pydae-0.56.2.dist-info}/METADATA +1 -1
- {pydae-0.55.1.dist-info → pydae-0.56.2.dist-info}/RECORD +79 -34
- {pydae-0.55.1.dist-info → pydae-0.56.2.dist-info}/COPYING +0 -0
- {pydae-0.55.1.dist-info → pydae-0.56.2.dist-info}/LICENSE +0 -0
- {pydae-0.55.1.dist-info → pydae-0.56.2.dist-info}/WHEEL +0 -0
pydae/__init__.py
CHANGED
pydae/bmapu/bmapu_builder.py
CHANGED
|
@@ -381,10 +381,19 @@ class bmapu:
|
|
|
381
381
|
|
|
382
382
|
if 'monitor' in line:
|
|
383
383
|
if line['monitor']:
|
|
384
|
-
h_grid.update({f"p_line_{bus_j}_{bus_k}":P_line_to})
|
|
385
|
-
h_grid.update({f"q_line_{bus_j}_{bus_k}":Q_line_to})
|
|
386
|
-
h_grid.update({f"p_line_{bus_k}_{bus_j}":P_line_from})
|
|
387
|
-
h_grid.update({f"q_line_{bus_k}_{bus_j}":Q_line_from})
|
|
384
|
+
# h_grid.update({f"p_line_{bus_j}_{bus_k}":P_line_to})
|
|
385
|
+
# h_grid.update({f"q_line_{bus_j}_{bus_k}":Q_line_to})
|
|
386
|
+
# h_grid.update({f"p_line_{bus_k}_{bus_j}":P_line_from})
|
|
387
|
+
# h_grid.update({f"q_line_{bus_k}_{bus_j}":Q_line_from})
|
|
388
|
+
p_line_to,q_line_to = sym.symbols(f"p_line_{bus_j}_{bus_k},q_line_{bus_j}_{bus_k}", real=True)
|
|
389
|
+
p_line_from,q_line_from = sym.symbols(f"p_line_{bus_k}_{bus_j},q_line_{bus_k}_{bus_j}", real=True)
|
|
390
|
+
|
|
391
|
+
g_grid += [p_line_to - P_line_to]
|
|
392
|
+
g_grid += [q_line_to - Q_line_to]
|
|
393
|
+
g_grid += [p_line_from - P_line_from]
|
|
394
|
+
g_grid += [q_line_from - Q_line_from]
|
|
395
|
+
|
|
396
|
+
y_grid += [p_line_to,q_line_to,p_line_from,q_line_from]
|
|
388
397
|
|
|
389
398
|
self.dae['f'] += []
|
|
390
399
|
self.dae['g'] += g_grid
|