示例#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))