h2integrate.converters.solar.test.test_pysam_solar#

Functions

basic_pysam_options()

plant_config()

solar_resource_dict()

test_pvwatts_singleowner_notilt(...)

Test PYSAMSolarPlantPerformanceModel with a basic input scenario:

test_pvwatts_singleowner_notilt_different_site(...)

Test PYSAMSolarPlantPerformanceModel with a basic input scenario:

test_pvwatts_singleowner_withtilt(...)

Test PYSAMSolarPlantPerformanceModel with tilt angle calculated using 'lat-func' option.

h2integrate.converters.solar.test.test_pysam_solar.plant_config()#
h2integrate.converters.solar.test.test_pysam_solar.solar_resource_dict()#
h2integrate.converters.solar.test.test_pysam_solar.basic_pysam_options()#
h2integrate.converters.solar.test.test_pysam_solar.test_pvwatts_singleowner_notilt(basic_pysam_options, solar_resource_dict, plant_config, subtests)#

Test PYSAMSolarPlantPerformanceModel with a basic input scenario:

  • pysam_options is provided

  • create_model_from is set to 'default'

  • config_name is 'PVWattsSingleOwner', this is used to create the starting system model

    because create_model_from is default.

  • tilt_angle_func is "none" and tilt is provided (in two separate places) as zero.

h2integrate.converters.solar.test.test_pysam_solar.test_pvwatts_singleowner_notilt_different_site(basic_pysam_options, plant_config, subtests)#

Test PYSAMSolarPlantPerformanceModel with a basic input scenario:

  • pysam_options is provided

  • create_model_from is set to 'default'

  • config_name is 'PVWattsSingleOwner', this is used to create the starting system model

    because create_model_from is default.

  • tilt_angle_func is "none" and tilt is provided (in two separate places) as zero.

h2integrate.converters.solar.test.test_pysam_solar.test_pvwatts_singleowner_withtilt(basic_pysam_options, solar_resource_dict, plant_config, subtests)#

Test PYSAMSolarPlantPerformanceModel with tilt angle calculated using 'lat-func' option. The AEP of this test should be higher than the AEP in test_pvwatts_singleowner_notilt.