Closed noahrhodes closed 3 years ago
If there is no load, this line from the objective function fails because it takes the maximum of an empty matrix: https://github.com/lanl-ansi/PowerModelsRestoration.jl/blob/fe1a1bb33a02acb3ef5cb740dc2235fd169ead18/src/core/objective.jl#L149
This can happen if all load buses are outaged, such as through damage propagation of components. Then when the case data is read into the problem, it simplifies it by removing devices with status 0 and removes all loads from the problem.
If there is no load, this line from the objective function fails because it takes the maximum of an empty matrix: https://github.com/lanl-ansi/PowerModelsRestoration.jl/blob/fe1a1bb33a02acb3ef5cb740dc2235fd169ead18/src/core/objective.jl#L149
This can happen if all load buses are outaged, such as through damage propagation of components. Then when the case data is read into the problem, it simplifies it by removing devices with status 0 and removes all loads from the problem.