Skip to content

Commit

Permalink
Changing some namings.
Browse files Browse the repository at this point in the history
  • Loading branch information
staudtMarius committed Jun 13, 2024
1 parent 7db17a4 commit 0ae4793
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ protected List<Set<String>> getFields(Class<?> entityClass) {
@Override
protected CongestionResult buildModel(EntityData data) {
ZonedDateTime zdtTime = timeUtil.toZonedDateTime(data.getField(TIME));
int subnet = data.getInt(SUBGRID);
int subgrid = data.getInt(SUBGRID);
ComparableQuantity<Dimensionless> vMin = data.getQuantity(VMIN, PU);
ComparableQuantity<Dimensionless> vMax = data.getQuantity(VMAX, PU);
boolean voltage = data.getBoolean(VOLTAGE);
boolean line = data.getBoolean(LINE);
boolean transformer = data.getBoolean(TRANSFORMER);

return new CongestionResult(zdtTime, subnet, vMin, vMax, voltage, line, transformer);
return new CongestionResult(zdtTime, subgrid, vMin, vMax, voltage, line, transformer);
}
}

0 comments on commit 0ae4793

Please sign in to comment.