pypsa.optimization.optimize.OptimizationAccessor.assign_duals#
- OptimizationAccessor.assign_duals(assign_all_duals: bool = False) None #
Map dual values i.e. shadow prices to network components.
- Parameters:
n (pypsa.Network)
assign_all_duals (bool, default False) – Whether to assign all dual values or only those that already have a designated place in the network.