com.farao_community.farao.swe.runner.app.domain.SweDichotomyResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gridcapa-swe-runner-app Show documentation
Show all versions of gridcapa-swe-runner-app Show documentation
Application that performs capacity calculation on SWE zone
/*
* Copyright (c) 2023, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.farao_community.farao.swe.runner.app.domain;
import com.farao_community.farao.dichotomy.api.results.DichotomyResult;
import com.farao_community.farao.gridcapa_swe_commons.dichotomy.DichotomyDirection;
import com.powsybl.openrao.monitoring.voltagemonitoring.VoltageMonitoringResult;
import java.util.Optional;
/**
* @author Theo Pascoli {@literal }
*/
public class SweDichotomyResult {
private final DichotomyDirection dichotomyDirection;
private final DichotomyResult dichotomyResult;
private final Optional voltageMonitoringResult;
private final String exportedCgmesUrl;
private final String highestValidStepUrl;
private final String lowestInvalidStepUrl;
public SweDichotomyResult(DichotomyDirection dichotomyDirection,
DichotomyResult dichotomyResult,
Optional voltageMonitoringResult,
String exportedCgmesUrl,
String highestValidStepUrl,
String lowestInvalidStepUrl) {
this.dichotomyDirection = dichotomyDirection;
this.dichotomyResult = dichotomyResult;
this.voltageMonitoringResult = voltageMonitoringResult;
this.exportedCgmesUrl = exportedCgmesUrl;
this.highestValidStepUrl = highestValidStepUrl;
this.lowestInvalidStepUrl = lowestInvalidStepUrl;
}
public DichotomyDirection getDichotomyDirection() {
return dichotomyDirection;
}
public DichotomyResult getDichotomyResult() {
return dichotomyResult;
}
public Optional getVoltageMonitoringResult() {
return voltageMonitoringResult;
}
public String getExportedCgmesUrl() {
return exportedCgmesUrl;
}
public String getHighestValidStepUrl() {
return highestValidStepUrl;
}
public String getLowestInvalidStepUrl() {
return lowestInvalidStepUrl;
}
}