powersimdata.input.tests package¶
Submodules¶
powersimdata.input.tests.test_change_table module¶
- powersimdata.input.tests.test_change_table.test_add_branch_argument_buses_in_different_interconnect(ct)[source]¶
powersimdata.input.tests.test_check module¶
- powersimdata.input.tests.test_check.test_check_areas_are_in_grid_and_format_argument_type(mock_grid)[source]¶
- powersimdata.input.tests.test_check.test_check_areas_are_in_grid_and_format_argument_value(mock_grid)[source]¶
- powersimdata.input.tests.test_check.test_check_date_range_in_scenario_argument_value(mock_scenario)[source]¶
- powersimdata.input.tests.test_check.test_check_number_hours_to_analyze_argument_type(mock_scenario)[source]¶
- powersimdata.input.tests.test_check.test_check_number_hours_to_analyze_argument_value(mock_scenario)[source]¶
- powersimdata.input.tests.test_check.test_check_plants_are_in_grid_argument_value(mock_grid)[source]¶
- powersimdata.input.tests.test_check.test_check_resources_are_in_grid_and_format_argument_value(mock_grid)[source]¶
powersimdata.input.tests.test_configure module¶
powersimdata.input.tests.test_expansion_candidates module¶
powersimdata.input.tests.test_grid module¶
powersimdata.input.tests.test_helpers module¶
- class powersimdata.input.tests.test_helpers.TestResourcesInGrid(methodName='runTest')[source]¶
Bases:
TestCase
- class powersimdata.input.tests.test_helpers.TestSummarizePlantToBus(methodName='runTest')[source]¶
Bases:
TestCase
- class powersimdata.input.tests.test_helpers.TestSummarizePlantToLocation(methodName='runTest')[source]¶
Bases:
TestCase
- powersimdata.input.tests.test_helpers.check_dataframe_matches(received_return, expected_return)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_interconnects(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_interconnects_argument_type(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_interconnects_argument_value(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_loadzones_argument_type(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_loadzones_argument_value(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_states_argument_type(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_for_resources_in_states_argument_value(grid)[source]¶
- powersimdata.input.tests.test_helpers.test_get_plant_id_in_interconnects_argument_type(grid)[source]¶
powersimdata.input.tests.test_input_data module¶
powersimdata.input.tests.test_profile_input module¶
powersimdata.input.tests.test_transform_demand module¶
powersimdata.input.tests.test_transform_grid module¶
- powersimdata.input.tests.test_transform_grid.test_add_gen_add_entries_in_gencost_data_frame(ct)[source]¶
- powersimdata.input.tests.test_transform_grid.test_add_gen_add_entries_in_plant_data_frame(ct)[source]¶
powersimdata.input.tests.test_transform_profile module¶
- powersimdata.input.tests.test_transform_profile.get_change_table_for_id_scaling(base_grid, resource)[source]¶
- powersimdata.input.tests.test_transform_profile.get_change_table_for_new_plant_addition(base_grid, resource)[source]¶
- powersimdata.input.tests.test_transform_profile.get_change_table_for_zone_scaling(base_grid, resource)[source]¶
- powersimdata.input.tests.test_transform_profile.get_plant_with_resource(base_grid, resource)[source]¶
- powersimdata.input.tests.test_transform_profile.get_zone_with_resource(base_grid, resource)[source]¶
- powersimdata.input.tests.test_transform_profile.test_demand_is_scaled(base_grid, raw_demand)[source]¶
- powersimdata.input.tests.test_transform_profile.test_flexible_demand_profiles_are_trimmed(base_grid, raw_demand_flexibility_up, raw_demand_flexibility_dn, monkeypatch)[source]¶
- powersimdata.input.tests.test_transform_profile.test_hydro_is_scaled_by_id(base_grid, raw_hydro)[source]¶
- powersimdata.input.tests.test_transform_profile.test_hydro_is_scaled_by_zone(base_grid, raw_hydro)[source]¶
- powersimdata.input.tests.test_transform_profile.test_hydro_is_scaled_by_zone_and_id(base_grid, raw_hydro)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_hydro_are_not_scaled(base_grid, raw_hydro)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_hydro_profile(base_grid, raw_hydro)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_solar_are_added(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_solar_are_not_scaled(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_solar_profile(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_wind_are_added(base_grid, raw_wind)[source]¶
- powersimdata.input.tests.test_transform_profile.test_new_wind_are_not_scaled(base_grid, raw_wind)[source]¶
- powersimdata.input.tests.test_transform_profile.test_solar_is_scaled_by_id(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_solar_is_scaled_by_zone(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_solar_is_scaled_by_zone_and_id(base_grid, raw_solar)[source]¶
- powersimdata.input.tests.test_transform_profile.test_wind_is_scaled_by_id(base_grid, raw_wind)[source]¶