Skip to content

Commit

Permalink
Add "undefined" as an option for generator fuel (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovasios authored Apr 30, 2024
1 parent aa2bc3e commit edc9e45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ps/psoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ PetscErrorCode PSSaveSolution_MATPOWER(PS ps, const char outfile[]) {
break;
case GENFUEL_UNDEFINED:
default:
SETERRQ(PETSC_COMM_SELF, PETSC_ERR_FILE_OPEN,
"Generator fuel type (%d) not understod", gfuel);
CHKERRQ(ierr);
fprintf(fd, "\t\"undefined\"");
break;
}
fprintf(fd, ";\n");
Expand Down

0 comments on commit edc9e45

Please sign in to comment.