예제 #1
0
def set_gen_pf(gen_pf):
    """This parameter sets the pf for generators in AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(15), ctypes.c_double(gen_pf))
예제 #2
0
def total_write_time():
    """This parameter sets the accumulated time (microseconds) register. The new value for this register must be specified in the argument."""
    return dsslib.SolutionF(ctypes.c_int32(26), ctypes.c_double(0))
예제 #3
0
def set_frequency(frequency=50.0):
    """This parameter sets the frequency for the next solution."""
    return dsslib.SolutionF(ctypes.c_int32(1), ctypes.c_double(frequency))
예제 #4
0
def step_size_min(minutes):
    """This parameter sets the step size in minutes."""
    return dsslib.SolutionF(ctypes.c_int32(22), ctypes.c_double(minutes))
예제 #5
0
def process_time():
    """This parameter retrieves the time required (microseconds) to perform the latest solution time step, this time does not includes the time required for sampling meters/monitors."""
    return dsslib.SolutionF(ctypes.c_int32(24), ctypes.c_double(0))
예제 #6
0
def get_gen_mult():
    """This parameter returns the default multiplier applied to generators (like LoadMult)."""
    return dsslib.SolutionF(ctypes.c_int32(18), ctypes.c_double(0))
예제 #7
0
def get_dbl_hour():
    """This parameter returns the hour as a double, including fractional part."""
    return dsslib.SolutionF(ctypes.c_int32(20), ctypes.c_double(0))
예제 #8
0
def set_load_mult(load_mult=1.0):
    """This parameter sets the default load multiplier applied to all non-fixed loads."""
    return dsslib.SolutionF(ctypes.c_int32(7), ctypes.c_double(load_mult))
예제 #9
0
def get_tolerance():
    """This parameter returns the solution convergence tolerance."""
    return dsslib.SolutionF(ctypes.c_int32(8), ctypes.c_double(0))
예제 #10
0
def set_step_size(step_size):
    """This parameter sets the step size for the next solution."""
    return dsslib.SolutionF(ctypes.c_int32(5), ctypes.c_double(step_size))
예제 #11
0
def get_load_mult():
    """This parameter returns the default load multiplier applied to all non-fixed loads."""
    return dsslib.SolutionF(ctypes.c_int32(6), ctypes.c_double(0))
예제 #12
0
def get_step_site():
    """This parameter returns the step size for the next solution."""
    return dsslib.SolutionF(ctypes.c_int32(4), ctypes.c_double(0))
예제 #13
0
def set_seconds(seconds):
    """This parameter sets the seconds from top of the hour."""
    return dsslib.SolutionF(ctypes.c_int32(3), ctypes.c_double(seconds))
예제 #14
0
def get_seconds():
    """This parameter returns the seconds from top of the hour."""
    return dsslib.SolutionF(ctypes.c_int32(2), ctypes.c_double(0))
예제 #15
0
def get_cap_var():
    """This parameter returns the capacitor kvar for adding in AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(16), ctypes.c_double(0))
예제 #16
0
def set_tolerance(tolerance):
    """This parameter sets the solution convergence tolerance."""
    return dsslib.SolutionF(ctypes.c_int32(9), ctypes.c_double(tolerance))
예제 #17
0
def set_cap_var(cap_var):
    """This parameter sets the capacitor kvar for adding in AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(17), ctypes.c_double(cap_var))
예제 #18
0
def get_pct_annual_growth():
    """This parameter returns the percent default annual load growth rate."""
    return dsslib.SolutionF(ctypes.c_int32(10), ctypes.c_double(0))
예제 #19
0
def set_gen_mult(gen_mult=1.0):
    """This parameter sets the default multiplier applied to generators (like LoadMult)."""
    return dsslib.SolutionF(ctypes.c_int32(19), ctypes.c_double(gen_mult))
예제 #20
0
def set_pct_annual_grotth(pct_annual_growth):
    """This parameter sets the percent default annual load growth rate."""
    return dsslib.SolutionF(ctypes.c_int32(11),
                            ctypes.c_double(pct_annual_growth))
예제 #21
0
def set_dbl_hour(dbl_hour):
    """This parameter sets the hour as a double, including fractional part."""
    return dsslib.SolutionF(ctypes.c_int32(21), ctypes.c_double(dbl_hour))
예제 #22
0
def get_gen_kW():
    """This parameter returns the generator kW for AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(12), ctypes.c_double(0))
예제 #23
0
def step_size_hr(hours):
    """This parameter sets the step size in Hours."""
    return dsslib.SolutionF(ctypes.c_int32(23), ctypes.c_double(hours))
예제 #24
0
def set_gen_kW(gen_kW):
    """This parameter sets the generator kW for AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(13), ctypes.c_double(gen_kW))
예제 #25
0
def total_read_time():
    """This parameter retrieves the accumulated time required (microseconds) to perform the simulation."""
    return dsslib.SolutionF(ctypes.c_int32(25), ctypes.c_double(0))
예제 #26
0
def get_gen_pf():
    """This parameter returns the pf for generators in AutoAdd mode."""
    return dsslib.SolutionF(ctypes.c_int32(14), ctypes.c_double(0))
예제 #27
0
def time_time_step():
    """This parameter retrieves the time required (microseconds) to perform the latest solution time step including the time required for sampling meters/monitors."""
    return dsslib.SolutionF(ctypes.c_int32(27), ctypes.c_double(0))
예제 #28
0
def get_frequency():
    """This parameter returns the frequency for the next solution."""
    return dsslib.SolutionF(ctypes.c_int32(0), ctypes.c_double(0))