-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce hvdc state save and restore for AC emulation after continge…
…ncy (#688) Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com> Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
- Loading branch information
Showing
3 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/main/java/com/powsybl/openloadflow/network/HvdcState.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,21 @@ | ||
/** | ||
* 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.powsybl.openloadflow.network; | ||
|
||
/** | ||
* @author Anne Tilloy <anne.tilloy at rte-france.com> | ||
*/ | ||
public class HvdcState extends ElementState<LfHvdc> { | ||
|
||
public HvdcState(LfHvdc hvdc) { | ||
super(hvdc); | ||
} | ||
|
||
public static HvdcState save(LfHvdc hvdc) { | ||
return new HvdcState(hvdc); | ||
} | ||
} |
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