CommodityMultiSourceSink.get_sparse_elements¶
- CommodityMultiSourceSink.get_sparse_elements(col_number: int = 0)[source]¶
Extract commodity data for sparse demand matrix.
- Parameters
- col_numberint, default=0
Column indices of the matrix entries.
- Returns
- list
Row indices of the matrix entries of len N_tot.
- list
Column indices of the matrix entries of len N_tot. Equals [col_number, …, col_number].
- list
Matrix entries of len N_tot.