Esempio n. 1
0
def is_open():
    """This parameter will return a 1 if any terminal of the active DSS object is open, otherwise, it will return a 0."""
    return dsslib.CktElementI(ctypes.c_int32(5), ctypes.c_int32(0))
Esempio n. 2
0
def close(terminal):
    """This parameter will close the specified terminal (Argument) of the active DSS object."""
    return dsslib.CktElementI(ctypes.c_int32(4), ctypes.c_int32(terminal))
Esempio n. 3
0
def num_conductors():
    """This parameter will deliver the number of conductors of the active DSS object."""
    return dsslib.CktElementI(ctypes.c_int32(1), ctypes.c_int32(0))
Esempio n. 4
0
def num_phases():
    """"""
    return dsslib.CktElementI(ctypes.c_int32(2), ctypes.c_int32(0))
Esempio n. 5
0
def num_terminals():
    """This parameter will deliver the number of terminals of the active DSS object."""
    return dsslib.CktElementI(ctypes.c_int32(0), ctypes.c_int32(0))