Exemplo n.º 1
0
info.param('ratings.k_var_max', label='Maximum slope (Var/V)', default=0.0)
info.param('ratings.deadband_min', label='Deadband minimum range (V)', default=0.0)
info.param('ratings.deadband_max', label='Deadband maximum range (V)', default=0.0)
info.param('ratings.t_settling', label='Settling time (t)', default=0.0)
info.param('ratings.power_priority', label='Supported power priority', default='Active', values=['Both', 'Active',
                                                                                                 'Reactive'])
info.param_group('srd', label='Source Requirements Document')
info.param('srd.p_min_pct', label='Minimum tested output power (% of nameplate power rating)', default=20.)
info.param('srd.p_max_pct', label='Maximum tested output power (% of nameplate power rating)', default=100.)
info.param('srd.k_var_min', label='Minimum slope (Var/V)', default='')
info.param('srd.segment_point_count', label='Measurement points per curve segment', default=3)

der.params(info)
gridsim.params(info)
pvsim.params(info)
das.params(info)

info.logo('sunspec.gif')

def script_info():
    
    return info


if __name__ == "__main__":

    # stand alone invocation
    config_file = None
    if len(sys.argv) > 1:
        config_file = sys.argv[1]
Exemplo n.º 2
0
der.params(info)
gridsim.params(info)
pvsim.params(info)

info.param_group('profile', label='PV Simulator Profile')
info.param('profile.profile_name',
           label='Profile Name',
           default='None',
           values=['None', 'Test Profile'],
           desc='Select name or "None"" to not run a profile.')
info.param('profile.irr_start',
           label='Initial Irradiance (W/m^2)',
           default=1000.0,
           desc='Irradiance at the beginning of the profile.')

das.params(info)

# info.logo('sunspec.gif')


def script_info():

    return info


if __name__ == "__main__":

    # stand alone invocation
    config_file = None
    if len(sys.argv) > 1:
        config_file = sys.argv[1]