Package com.powsybl.loadflow.validation
Class TransformersValidation
- java.lang.Object
-
- com.powsybl.loadflow.validation.TransformersValidation
-
public final class TransformersValidation extends Object
Tries to validate that transformers regulating voltage have been correclty simulated. We check that the voltage deviation from the target voltage stays inside a deadband around the target voltage, taken equal to the maximum possible voltage increase/decrease for a one-tap change.- Author:
- Massimo Ferraro
-
-
Field Summary
Fields Modifier and Type Field Description static TransformersValidation
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkTransformer(TwoWindingsTransformer twt, ValidationConfig config, ValidationWriter twtsWriter)
boolean
checkTransformer(TwoWindingsTransformer twt, ValidationConfig config, Writer writer)
boolean
checkTransformer(String id, double rho, double rhoPreviousStep, double rhoNextStep, int tapPosition, int lowTapPosition, int highTapPosition, double targetV, Branch.Side regulatedSide, double v, boolean connected, boolean mainComponent, ValidationConfig config, ValidationWriter twtsWriter)
boolean
checkTransformer(String id, double rho, double rhoPreviousStep, double rhoNextStep, int tapPosition, int lowTapPosition, int highTapPosition, double targetV, Branch.Side regulatedSide, double v, boolean connected, boolean mainComponent, ValidationConfig config, Writer writer)
boolean
checkTransformers(Network network, ValidationConfig config, ValidationWriter twtsWriter)
boolean
checkTransformers(Network network, ValidationConfig config, Writer writer)
boolean
checkTransformers(Network network, ValidationConfig config, Path file)
-
-
-
Field Detail
-
INSTANCE
public static final TransformersValidation INSTANCE
-
-
Method Detail
-
checkTransformers
public boolean checkTransformers(Network network, ValidationConfig config, ValidationWriter twtsWriter)
-
checkTransformer
public boolean checkTransformer(TwoWindingsTransformer twt, ValidationConfig config, Writer writer)
-
checkTransformer
public boolean checkTransformer(TwoWindingsTransformer twt, ValidationConfig config, ValidationWriter twtsWriter)
-
checkTransformer
public boolean checkTransformer(String id, double rho, double rhoPreviousStep, double rhoNextStep, int tapPosition, int lowTapPosition, int highTapPosition, double targetV, Branch.Side regulatedSide, double v, boolean connected, boolean mainComponent, ValidationConfig config, Writer writer)
-
checkTransformer
public boolean checkTransformer(String id, double rho, double rhoPreviousStep, double rhoNextStep, int tapPosition, int lowTapPosition, int highTapPosition, double targetV, Branch.Side regulatedSide, double v, boolean connected, boolean mainComponent, ValidationConfig config, ValidationWriter twtsWriter)
-
checkTransformers
public boolean checkTransformers(Network network, ValidationConfig config, Path file) throws IOException
- Throws:
IOException
-
checkTransformers
public boolean checkTransformers(Network network, ValidationConfig config, Writer writer)
-
-