switch_model/policies/rps_by_load_zone.py
def load_inputs(mod, switch_data, inputs_dir):
    """
    The RPS target goals input file is mandatory, to discourage people from
    loading the module if it is not going to be used. It is not necessary to
    specify targets for all periods.
    
    Mandatory input files:
        rps_targets.csv
            LOAD_ZONES PERIOD rps_target
    
    The optional parameter to define fuels as RPS eligible can be inputted
    in the following file:
        fuels.csv
            fuel  f_rps_eligible
    
    """

    switch_data.load_aug(
        filename=os.path.join(inputs_dir, 'fuels.csv'),
        select=('fuel','f_rps_eligible'),
        optional_params=['f_rps_eligible'],
        param=(mod.f_rps_eligible,))
    switch_data.load_aug(
        filename=os.path.join(inputs_dir, 'rps_targets.csv'),
        select=('load_zone','period', 'rps_target'),#autoselect=True,
        index=mod.ZONE_PERIODS, #mod.LOAD_ZONES * mod.PERIODS, #index=mod.RPS_PERIODS,
        #dimen=2,
        param=[mod.rps_target])

    The RPS target goals input file is mandatory, to discourage people from
    loading the module if it is not going to be used. It is not necessary to
    specify targets for all periods.
    
    Mandatory input files:
        rps_targets.csv
            LOAD_ZONES PERIOD rps_target
    
    The optional parameter to define fuels as RPS eligible can be inputted
    in the following file:
        fuels.csv
            fuel  f_rps_eligible
    
    
The RPS target goals input file is mandatory, to discourage people from
loading the module if it is not going to be used. It is not necessary to
specify targets for all periods.



The optional parameter to define fuels as RPS eligible can be inputted
in the following file:
fuels.csv
fuel  f_rps_eligible
The RPS target goals input file is mandatory to discourage people from loading the module if it is not going to be used . It is not necessary to specify targets for all periods . The optional parameter to define fuels as RPS eligible can be inputted in the following file : fuels . csv fuel f_rps_eligible
def load_inputs(mod, switch_data, inputs_dir):
    switch_data.load_aug(
        filename=os.path.join(inputs_dir, 'fuels.csv'),
        select=('fuel','f_rps_eligible'),
        optional_params=['f_rps_eligible'],
        param=(mod.f_rps_eligible,))
    switch_data.load_aug(
        filename=os.path.join(inputs_dir, 'rps_targets.csv'),
        select=('load_zone','period', 'rps_target'),
        index=mod.ZONE_PERIODS, 
        param=[mod.rps_target])
def load_inputs ( mod , switch_data , inputs_dir ) : switch_data . load_aug ( filename = os . path . join ( inputs_dir , 'fuels.csv' ) , select = ( 'fuel' , 'f_rps_eligible' ) , optional_params = [ 'f_rps_eligible' ] , param = ( mod . f_rps_eligible , ) ) switch_data . load_aug ( filename = os . path . join ( inputs_dir , 'rps_targets.csv' ) , select = ( 'load_zone' , 'period' , 'rps_target' ) , index = mod . ZONE_PERIODS , param = [ mod . rps_target ] )
The RPS target goals input file is mandatory, to discourage people from
loading the module if it is not going to be used.
The RPS target goals input file is mandatory to discourage people from loading the module if it is not going to be used .
"""
    The RPS target goals input file is mandatory, to discourage people from
    loading the module if it is not going to be used. It is not necessary to
    specify targets for all periods.
    
    Mandatory input files:
        rps_targets.csv
            LOAD_ZONES PERIOD rps_target
    
    The optional parameter to define fuels as RPS eligible can be inputted
    in the following file:
        fuels.csv
            fuel  f_rps_eligible
    
    """ #autoselect=True, #mod.LOAD_ZONES * mod.PERIODS, #index=mod.RPS_PERIODS, #dimen=2,
mod
switch_data
inputs_dir