Load and retrieve information of the same type for different load cases (e.g., cable results) from a cdb can be computationally expensive for two reasons:
- large numbers of load cases to be loaded
- resizing the
DataFrame every time a load case is loaded
- info are needed (most of the time) per single element and load case in a large number
The following improvements should be tested:
- define a
parallel_load method which avoid manipulating the _data DateFrame at every load case
- use
multiprocessing to load multiple load case at the same time
- use multi-indexing by
ELEM_ID and LOAD_CASE
Load and retrieve information of the same type for different load cases (e.g., cable results) from a cdb can be computationally expensive for two reasons:
DataFrameevery time a load case is loadedThe following improvements should be tested:
parallel_loadmethod which avoid manipulating the_dataDateFrameat every load casemultiprocessingto load multiple load case at the same timeELEM_IDandLOAD_CASE