info.param('ratings.q_max_ind', label='Maximum reactive power absorbtion (inductive) (Var)', default=0.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]
                         version='1.0.0')

info.param_group('ratings', label='DER Ratings')
info.param('ratings.p_rated', label='P_rated', default=3000)
info.param('ratings.pf_min_ind', label='PF_min_ind', default=.850)
info.param('ratings.pf_min_cap', label='PF_min_cap', default=-.850)
info.param('ratings.pf_settling_time', label='PF Settling Time', default=1)
info.param(
    'ratings.pf_target',
    label='PF Target',
    default='All',
    values=['All', 'PF_min_ind', 'PF_mid_ind', 'PF_min_cap', 'PF_mid_cap'])

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')