Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PowerGridModel/power-grid-model-ds
/ functions
Functions
625 in github.com/PowerGridModel/power-grid-model-ds
⨍
Functions
625
◇
Types & classes
102
↳
Endpoints
5
Method
nr_nodes
(self)
src/power_grid_model_ds/_core/model/graphs/models/rustworkx.py:29
Method
nr_nodes
Returns the number of nodes in the graph
src/power_grid_model_ds/_core/model/graphs/models/base.py:33
Function
parallel_branches
()
tests/unit/model/arrays/test_pgm_arrays.py:14
Function
pytest_generate_tests
Parametrize the graph fixture
tests/conftest.py:34
Method
record
Return a named tuple of the first record in the array.
src/power_grid_model_ds/_core/model/arrays/base/array.py:248
Method
reset_rng
Sets the rng for a generator
src/power_grid_model_ds/_core/data_source/generator/arrays/base.py:22
Function
sort
Sort the array in-place and return sorted array.
src/power_grid_model_ds/_core/fancypy.py:38
Function
test_add_active_branch
Test adding a branch to the custom grid
tests/unit/model/grids/test_custom_grid.py:32
Function
test_add_branch3
( graph_container_with_5_nodes: GraphContainer, three_winding_transformers: ThreeWindingTransformerArray )
tests/unit/model/graphs/test_container.py:53
Method
test_add_invalid_branch
(self, graph: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:39
Method
test_add_node_already_there
(self, graph: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:34
Function
test_all_arrays
()
tests/unit/model/test_containers.py:56
Method
test_all_paths_no_path
(self, graph_with_5_nodes: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:254
Method
test_all_paths_on_circular_network
(self, graph_with_5_nodes: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:241
Function
test_array_equal
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_array.py:148
Function
test_array_invalid_columns_before_initialization
()
tests/unit/model/arrays/test_build.py:144
Function
test_array_is_sequenc
()
tests/unit/utils/test_misc.py:20
Function
test_array_not_equal
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_array.py:152
Function
test_as_df
Test that .as_df() can convert an array to a pandas DataFrame.
tests/unit/model/arrays/test_optional.py:12
Function
test_automatic_tap_regulator
Test automatic tap regulator Network: (tap_side) (control side) source_1 --- node_2 --- transformer_5 --- node_3 ---
tests/integration/loadflow/test_power_grid_model.py:296
Function
test_batch_run
Test whether a pgm model can be used in batch mode
tests/integration/loadflow/test_power_grid_model.py:441
Function
test_branch_is_active
()
tests/unit/model/arrays/test_pgm_arrays.py:21
Function
test_branch_node_ids
()
tests/unit/model/arrays/test_pgm_arrays.py:30
Function
test_branches
(grid: Grid)
tests/unit/model/test_containers.py:158
Function
test_build_from_args
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_build.py:104
Function
test_build_from_invalid_args
()
tests/unit/model/arrays/test_build.py:113
Function
test_build_from_kwargs
()
tests/unit/model/arrays/test_build.py:66
Function
test_build_from_kwargs_with_different_input_lengths
()
tests/unit/model/arrays/test_build.py:93
Function
test_build_from_kwargs_with_missing_input_fields
()
tests/unit/model/arrays/test_build.py:82
Function
test_build_from_numpy_2d_shape_2_4
()
tests/unit/model/arrays/test_build.py:128
Function
test_build_from_numpy_2d_shape_4_2
()
tests/unit/model/arrays/test_build.py:136
Function
test_build_from_numpy_array
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_build.py:118
Function
test_build_from_numpy_array_with_data_kwarg
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_build.py:123
Function
test_build_without_args_or_kwargs
()
tests/unit/model/arrays/test_build.py:60
Function
test_build_without_array_definition
()
tests/unit/model/arrays/test_build.py:55
Function
test_cache_and_load_after_node_deletion
(basic_grid)
tests/unit/model/grids/test_grid_cache.py:112
Function
test_cache_and_load_basic_grid
(basic_grid)
tests/unit/model/grids/test_grid_cache.py:68
Function
test_cache_and_load_basic_grid_with_compression
(basic_grid)
tests/unit/model/grids/test_grid_cache.py:81
Function
test_cache_and_load_empty_grid
Test that empty grid can be loaded from cache
tests/unit/model/grids/test_grid_cache.py:53
Function
test_cache_and_load_extended_grid
()
tests/unit/model/grids/test_grid_cache.py:94
Function
test_cache_basic_grid
(basic_grid)
tests/unit/model/grids/test_grid_cache.py:43
Function
test_cache_empty_grid
Test that empty grid can be cached
tests/unit/model/grids/test_grid_cache.py:21
Function
test_cache_empty_grid_with_compression
Test that empty grid can be cached with compression
tests/unit/model/grids/test_grid_cache.py:32
Function
test_check_ids_4_arrays_3_with_id
()
tests/unit/model/test_containers.py:76
Function
test_check_ids_no_arrays
()
tests/unit/model/test_containers.py:64
Function
test_check_ids_two_arrays_no_conflicts
()
tests/unit/model/test_containers.py:82
Function
test_check_ids_two_arrays_with_conflict
()
tests/unit/model/test_containers.py:93
Function
test_check_ids_two_arrays_with_conflict_in_same_array
()
tests/unit/model/test_containers.py:106
Function
test_check_ids_two_empty_arrays
()
tests/unit/model/test_containers.py:70
Function
test_component_three_winding_transformer
(grid_with_3wt)
tests/unit/model/grids/test_grid_search.py:59
Method
test_concatenate_different_fancy_array
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:120
Method
test_concatenate_different_fancy_array_same_dtype
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:130
Method
test_concatenate_different_ndarray
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:125
Method
test_concatenate_empty_arrays
(self)
tests/unit/model/arrays/test_modify.py:101
Method
test_concatenate_fancy_array
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:89
Method
test_concatenate_multiple_fancy_arrays
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:106
Method
test_concatenate_ndarray
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:113
Method
test_concatenate_to_empty_array
(self, fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_modify.py:96
Function
test_connect_nodes
Connect nodes
tests/unit/data_source/generator/test_grid_generators.py:172
Function
test_contains
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_array.py:138
Function
test_copy_function
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_array.py:240
Function
test_copy_method
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_array.py:247
Method
test_create_extended_grid_with_default_from_input_data
(self, input_data_pgm)
tests/integration/loadflow/test_power_grid_model.py:573
Method
test_create_extended_grid_without_default_from_input_data
(self, input_data_pgm)
tests/integration/loadflow/test_power_grid_model.py:601
Method
test_create_grid_from_input_data
(self, input_data_pgm)
tests/integration/loadflow/test_power_grid_model.py:473
Function
test_create_nops
Create normally open points
tests/unit/data_source/generator/test_grid_generators.py:209
Function
test_create_routes
Generate new routes
tests/unit/data_source/generator/test_grid_generators.py:116
Function
test_deepcopy
()
tests/unit/model/test_containers.py:41
Function
test_delete_branch3
( graph_container_with_5_nodes: GraphContainer, three_winding_transformers: ThreeWindingTransformerArray )
tests/unit/model/graphs/test_container.py:66
Method
test_delete_invalid_branch_without_error
(self, graph: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:81
Method
test_delete_invalid_node_without_error
(self, graph: BaseGraphModel)
tests/unit/model/graphs/test_graph_model.py:78
Function
test_delete_node_with_load
(basic_grid: Grid)
tests/unit/model/test_containers.py:200
Function
test_delete_node_with_source
(basic_grid: Grid)
tests/unit/model/test_containers.py:186
Function
test_delete_node_without_additional_properties
(basic_grid: Grid)
tests/unit/model/test_containers.py:172
Function
test_determine_number_of_routes
Number of routes
tests/unit/data_source/generator/test_grid_generators.py:150
Function
test_dict_is_not_a_sequence
()
tests/unit/utils/test_misc.py:28
Function
test_empty
()
tests/unit/model/arrays/test_build.py:172
Function
test_empty_with_defaults
()
tests/unit/model/arrays/test_build.py:193
Function
test_empty_with_sized_dtypes
()
tests/unit/model/arrays/test_build.py:180
Function
test_exclude_by_float
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:35
Function
test_exclude_by_id_arg
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:23
Function
test_exclude_by_id_kwarg
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:16
Function
test_exclude_by_int
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:29
Function
test_exclude_by_str
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:41
Function
test_exclude_empty_list_input
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:65
Function
test_exclude_kwarg_set_input
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:128
Function
test_exclude_mask_by_float
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:93
Function
test_exclude_mask_by_id_arg
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:83
Function
test_exclude_mask_by_id_kwarg
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:77
Function
test_exclude_mask_by_int
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:88
Function
test_exclude_mask_by_str
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:98
Function
test_exclude_mask_empty_list_input
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:118
Function
test_exclude_mask_mode_or
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:123
Function
test_exclude_mask_multiple_matches
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:108
Function
test_exclude_mask_no_input
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:113
Function
test_exclude_mask_no_match
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:103
Function
test_exclude_mode_or
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:71
Function
test_exclude_multiple_matches
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:53
Function
test_exclude_no_input
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:60
Function
test_exclude_no_match
(fancy_test_array: FancyTestArray)
tests/unit/model/arrays/test_filters_exclude.py:47
← previous
next →
301–400 of 625, ranked by callers