Package com.powsybl.loadflow.validation
Class TransformersValidation
java.lang.Object
com.powsybl.loadflow.validation.TransformersValidation
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 <[email protected]>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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, TwoSides 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, TwoSides 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 Details
-
INSTANCE
-
-
Method Details
-
checkTransformers
public boolean checkTransformers(Network network, ValidationConfig config, ValidationWriter twtsWriter) -
checkTransformer
-
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, TwoSides 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, TwoSides 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
-