-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Non evacuated energy computation (#51)
* non evacuated energy sensitivity analysis
- Loading branch information
1 parent
79893ef
commit 6ce9863
Showing
46 changed files
with
5,012 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...te/sensitivityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyContingencies.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.gridsuite.sensitivityanalysis.server.dto.EquipmentsContainer; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@Schema(description = "Sensitivity analysis non evacuated energy contingencies") | ||
public class NonEvacuatedEnergyContingencies { | ||
List<EquipmentsContainer> contingencies; | ||
|
||
boolean activated; | ||
} |
31 changes: 31 additions & 0 deletions
31
...nsitivityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyGeneratorsCappings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@Schema(description = "Sensitivity analysis non evacuated energy generators cappings") | ||
public class NonEvacuatedEnergyGeneratorsCappings { | ||
Double sensitivityThreshold; | ||
|
||
List<NonEvacuatedEnergyGeneratorsCappingsByType> generators; | ||
} |
35 changes: 35 additions & 0 deletions
35
...ityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyGeneratorsCappingsByType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import com.powsybl.iidm.network.EnergySource; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.gridsuite.sensitivityanalysis.server.dto.EquipmentsContainer; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@Schema(description = "Sensitivity analysis non evacuated energy generators cappings by type") | ||
public class NonEvacuatedEnergyGeneratorsCappingsByType { | ||
List<EquipmentsContainer> generators; | ||
|
||
EnergySource energySource; | ||
|
||
boolean activated; | ||
} |
45 changes: 45 additions & 0 deletions
45
...dsuite/sensitivityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyInputData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import com.powsybl.sensitivity.SensitivityAnalysisParameters; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@Schema(description = "Sensitivity analysis non evacuated energy input data") | ||
public class NonEvacuatedEnergyInputData { | ||
private List<NonEvacuatedEnergyStageDefinition> nonEvacuatedEnergyStagesDefinition; | ||
|
||
private List<NonEvacuatedEnergyStagesSelection> nonEvacuatedEnergyStagesSelection; | ||
|
||
private NonEvacuatedEnergyGeneratorsCappings nonEvacuatedEnergyGeneratorsCappings; | ||
|
||
private List<NonEvacuatedEnergyMonitoredBranches> nonEvacuatedEnergyMonitoredBranches; | ||
|
||
private List<NonEvacuatedEnergyContingencies> nonEvacuatedEnergyContingencies; | ||
|
||
@Schema(description = "Sensitivity parameters") | ||
private SensitivityAnalysisParameters parameters; | ||
|
||
@Schema(description = "Loadflow model-specific parameters") | ||
private Map<String, String> loadFlowSpecificParameters; | ||
} |
46 changes: 46 additions & 0 deletions
46
...ensitivityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyMonitoredBranches.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.gridsuite.sensitivityanalysis.server.dto.EquipmentsContainer; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@Schema(description = "Sensitivity analysis non evacuated energy monitored branches") | ||
public class NonEvacuatedEnergyMonitoredBranches { | ||
List<EquipmentsContainer> branches; | ||
|
||
boolean activated; | ||
|
||
boolean istN; | ||
|
||
String limitNameN; | ||
|
||
@JsonProperty("nCoefficient") | ||
float nCoefficient; | ||
|
||
boolean istNm1; | ||
|
||
String limitNameNm1; | ||
|
||
float nm1Coefficient; | ||
} |
39 changes: 39 additions & 0 deletions
39
.../sensitivityanalysis/server/dto/nonevacuatedenergy/NonEvacuatedEnergyStageDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* 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 org.gridsuite.sensitivityanalysis.server.dto.nonevacuatedenergy; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.powsybl.iidm.network.EnergySource; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.gridsuite.sensitivityanalysis.server.dto.EquipmentsContainer; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Franck Lecuyer <franck.lecuyer at rte-france.com> | ||
*/ | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@EqualsAndHashCode | ||
@Schema(description = "Sensitivity analysis non evacuated energy stage definition") | ||
public class NonEvacuatedEnergyStageDefinition { | ||
List<EquipmentsContainer> generators; | ||
|
||
EnergySource energySource; | ||
|
||
@JsonProperty("pMaxPercents") | ||
List<Float> pMaxPercents; | ||
} |
Oops, something went wrong.