set_slack#

relsad.simulation.set_slack(p_s: relsad.network.systems.PowerSystem.PowerSystem, sub_system: relsad.network.systems.SubSystem.SubSystem)[source]#

Function that sets the slack bus of the power system

Parameters
Returns

Success/Failure of operation

Return type

bool