PowerModels.jl
PowerModels.jl copied to clipboard
In-place Data Computations
Make variants of calc_branch_flow_ac,calc_branch_flow_dc,calc_power_balance that update the given data in-place.
The proposed implementation should avoid allocating new memory when these quantities already exist in the given data dict.
These variants should update the data directly instead of making a separate dict that can be merged with update_data!.