示例#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))
示例#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))
示例#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))
示例#4
0
def num_phases():
    """"""
    return dsslib.CktElementI(ctypes.c_int32(2), ctypes.c_int32(0))
示例#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))