Exemplo n.º 1
0
def total_miles():
    """This parameter returns the total length of line downline from this bus, in miles. For recloser siting algorithm."""
    return dsslib.BUSF(ctypes.c_int32(11), ctypes.c_double(0))
Exemplo n.º 2
0
def cust_interruptions():
    """This parameter returns the annual number of customer interruptions from this bus."""
    return dsslib.BUSF(ctypes.c_int32(9), ctypes.c_double(0))
Exemplo n.º 3
0
def cust_duration():
    """This parameter returns the accumulated customer outage durations."""
    return dsslib.BUSF(ctypes.c_int32(10), ctypes.c_double(0))
Exemplo n.º 4
0
def n_interrupts():
    """This parameter returns the number of interruptions this bus per year."""
    return dsslib.BUSF(ctypes.c_int32(7), ctypes.c_double(0))
Exemplo n.º 5
0
def int_diration():
    """This parameter returns the average interruption duration in hours."""
    return dsslib.BUSF(ctypes.c_int32(8), ctypes.c_double(0))
Exemplo n.º 6
0
def n_failures():  # defined as "lambda"
    """This parameter returns the accumulated failure rate downstream from this bus; faults per year."""
    return dsslib.BUSF(ctypes.c_int32(6), ctypes.c_double(0))
Exemplo n.º 7
0
def distance():
    """This parameter returns the distance from the energymeter (if non-zero)."""
    return dsslib.BUSF(ctypes.c_int32(5), ctypes.c_double(0))
Exemplo n.º 8
0
def set_y(y):
    """This parameter allows to write the Y coordinate for the bus. Returns 0."""
    return dsslib.BUSF(ctypes.c_int32(4), ctypes.c_double(y))
Exemplo n.º 9
0
def get_y():
    """This parameter returns the Y coordinate for the bus."""
    return dsslib.BUSF(ctypes.c_int32(3), ctypes.c_double(0))
Exemplo n.º 10
0
def kV_base():
    """This parameter returns the base voltage at bus in kV."""
    return dsslib.BUSF(ctypes.c_int32(0), ctypes.c_double(0))