@@ -426,21 +426,49 @@ def get_terminal(self):
426
426
return Terminal (self .j_instance .getTerminal ())
427
427
428
428
429
+ # Auto generated python wrapper for java class: com.powsybl.iidm.network.Branch
429
430
class Branch (Connectable ):
430
431
431
432
def __init__ (self , j_branch ):
432
433
Connectable .__init__ (self , j_branch )
433
434
self .j_instance = j_branch
434
435
435
- def is_overloaded (self ):
436
- return self .j_instance .isOverloaded ()
436
+ def check_permanent_limit_1 (self , var0 = None ):
437
+ if var0 is None :
438
+ return self .j_instance .checkPermanentLimit1 ()
439
+ else :
440
+ return self .j_instance .checkPermanentLimit1 (var0 )
441
+
442
+ def check_permanent_limit_2 (self , var0 = None ):
443
+ if var0 is None :
444
+ return self .j_instance .checkPermanentLimit2 ()
445
+ else :
446
+ return self .j_instance .checkPermanentLimit2 (var0 )
447
+
448
+ def get_current_limits_1 (self ):
449
+ return CurrentLimits (self .j_instance .getCurrentLimits1 ())
450
+
451
+ def get_current_limits_2 (self ):
452
+ return CurrentLimits (self .j_instance .getCurrentLimits2 ())
453
+
454
+ def get_overload_duration (self ):
455
+ return self .j_instance .getOverloadDuration ()
456
+
457
+ def get_terminal (self , var0 ):
458
+ return Terminal (self .j_instance .getTerminal (var0 ))
437
459
438
460
def get_terminal_1 (self ):
439
461
return Terminal (self .j_instance .getTerminal1 ())
440
462
441
463
def get_terminal_2 (self ):
442
464
return Terminal (self .j_instance .getTerminal2 ())
443
465
466
+ def is_overloaded (self , var0 = None ):
467
+ if var0 is None :
468
+ return self .j_instance .isOverloaded ()
469
+ else :
470
+ return self .j_instance .isOverloaded (var0 )
471
+
444
472
445
473
# Auto generated python wrapper for java class: com.powsybl.iidm.network.Bus
446
474
class Bus (Identifiable ):
@@ -843,18 +871,19 @@ def get_substation(self):
843
871
return Substation (self .j_instance .getSubstation ())
844
872
845
873
874
+ # Auto generated python wrapper for java class: com.powsybl.iidm.network.BusbarSection
846
875
class BusbarSection (Injection ):
847
876
848
- def __init__ (self , j_busbar_section ):
849
- Injection .__init__ (self , j_busbar_section )
850
- self .j_instance = j_busbar_section
851
-
852
- def get_v (self ):
853
- return self .j_instance .getV ()
877
+ def __init__ (self , j_busbarsection ):
878
+ Injection .__init__ (self , j_busbarsection )
879
+ self .j_instance = j_busbarsection
854
880
855
881
def get_angle (self ):
856
882
return self .j_instance .getAngle ()
857
883
884
+ def get_v (self ):
885
+ return self .j_instance .getV ()
886
+
858
887
859
888
# Auto generated python wrapper for java class: com.powsybl.iidm.network.VoltageLevel
860
889
# TODO container
0 commit comments